pgkt04 / defender-control

An open-source windows defender manager. Now you can disable windows defender permanently.
MIT License
1.4k stars 120 forks source link

Failed to write to DisableAntiSpywareFailed to write to DisableRealTimeMonitoring #11

Closed HubKing closed 2 years ago

HubKing commented 2 years ago

It worked well on Windows 10, but it does not seem to work on Window 11. When I run it on Window 11, the output is:

failed to write to TamperProtection
Windows defender is currently ACTIVE
Failed to write to DisableAntiSpywareFailed to write to DisableRealTimeMonitoring
Disabled windows defender!
Press any key to continue . . .

It says that it has disabled Defender, but the MsMpEng/CP are still running. and real-time projection is still on.

image

and next time I run defender-control, it still says the same output as above that includes "Windows defender is currently ACTIVE". I have rebooted the computer, but it was the same.

pgkt04 commented 2 years ago

can you post what version of 11 you are running? and any other information to replicate the issue?

HubKing commented 2 years ago

Never mind. I manually disabled "Tamper protection" and run it again. This time it worked. It seems that the Tamper projection was automatically on when upgraded from Win 10 to Win 11.