---
title: "Discussion on \"Killing Microsoft Defender on a Mac\" | Hashnode"
description: "Discussion on \"Killing Microsoft Defender on a Mac\". Big companies mean big problems. Big companies are targeted more often by cyber attacks. Big companies take more critical image losses. And also, big companies have a larger amount of \"not that smart\" employees. Thus it's not a coincidence that there..."
url: "https://hashnode.com/posts/killing-microsoft-defender-on-a-mac/60cb042c8ce4491f0f2982e6"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Killing Microsoft Defender on a Mac](https://uko.codes/killing-microsoft-defender-on-a-mac?utm_source=hashnode&utm_medium=feed)

Big companies mean big problems. Big companies are targeted more often by cyber attacks. Big companies take more critical image losses. And also, big companies have a larger amount of "not that smart" employees. Thus it's not a coincidence that there...

Jun 17, 2021 · 3 min read · uko.codes  
Read the article

-   [#microsoft](https://hashnode.com/tag/microsoft)
-   [#macos](https://hashnode.com/tag/macos)
-   [#terminal](https://hashnode.com/tag/terminal)
-   [#command-line](https://hashnode.com/tag/command-line)

## Written by

[Yurko Tymchuk](https://hashnode.com/@Uko)

@Uko · Zug, Switzerland

  
[View profile](https://hashnode.com/@Uko)

Objects are like people. They’re living, breathing things that have knowledge inside…

## Responses 4

Markdown supported · ⌘↵ to post

[zilboris](https://hashnode.com/@zilboris)

[Sep 9](https://hashnode.com/posts/killing-microsoft-defender-on-a-mac/60cb042c8ce4491f0f2982e6/comment/6aa1747b1622cc368aba50b3)

This does not seem to do anything in Mac OS 26.6.2

admin@macbook ~ % sudo launchctl unload /Library/LaunchAgents/com.microsoft.wdav.tray.plist zsh: killed sudo launchctl unload /Library/LaunchAgents/com.microsoft.wdav.tray.plist admin@macbook ~ %

Defender still running and can't be killed in Activity Monitor

[Gérald Aubard](https://hashnode.com/@geraldaubard)

[Oct 2, 2025](https://hashnode.com/posts/killing-microsoft-defender-on-a-mac/60cb042c8ce4491f0f2982e6/comment/68ded23c5db4b1225a47c210)

Thxs a lot!

[Adam Benali](https://hashnode.com/@adambenali)

[Mar 8, 2024](https://hashnode.com/posts/killing-microsoft-defender-on-a-mac/60cb042c8ce4491f0f2982e6/comment/65eb82857b41a9a8d9a1865e)

In case you are prevented from unloading it, make sure anti-tampering is disabled:

mdatp config tamper-protection enforcement-level --value disabled

[Stu Squared](https://hashnode.com/@stusquared)

[Mar 8, 2024](https://hashnode.com/posts/killing-microsoft-defender-on-a-mac/60cb042c8ce4491f0f2982e6/comment/65eb5444aca3b3d8af2bfc25)

I think all this does is kill the tray app, the daemon is still running. I'm sure people have this installed by Intune, you can remove it for an hour, but it will get re-installed. This is the command: sudo '/Library/application Support/Microsoft/Defender/uninstall/uninstall'

[Ahmed Mahmoud](https://hashnode.com/@ahmedam55)

[Jul 5, 2023](https://hashnode.com/posts/killing-microsoft-defender-on-a-mac/60cb042c8ce4491f0f2982e6/comment/64a5033084ae15f092e92d50)

Thanks a lot for the help!

[Jesper](https://hashnode.com/@Funcnam)

[Nov 12, 2022](https://hashnode.com/posts/killing-microsoft-defender-on-a-mac/60cb042c8ce4491f0f2982e6/comment/63700d60156201257c945de8)

The process keeps respawning after unloading it. Did you manage to kill it permanently?
