Share via

How to disable Windows security Service permanetly on Windows 11

Anonymous
2023-11-09T17:35:05+00:00

Hello,

I have disabled all security settings (Windows defender and microsoft defender) but I want to disable and the Windows security Service on Windows 11 too. I have tried to disable it from registry editor but I can not edit the start registry of this Service in order to block starting permanetly. Also I have checked in edit groups policie but I can 't stop it. Can you help me with it?

Many thanks in advance!

Windows for home | Windows 11 | Security and privacy

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments

3 answers

Sort by: Most helpful
  1. Ivan B 108.5K Reputation points Independent Advisor
    2023-11-09T20:24:49+00:00

    Hi ,

    I am Ivan, I will help you with this.

    1. Open PowerShell as Administrator;
    2. Copy the commands below and run in PowerShell:

    Set-MpPreference -DisableRealtimeMonitoring $true -Force

    New-ItemProperty -Path 'HKLM:\SOFTWARE\Policies\Microsoft\Windows Defender' -Name 'DisableAntiSpyware' -Value 1 -PropertyType DWord -Force

    New-ItemProperty -Path 'HKLM:\SOFTWARE\Policies\Microsoft\Windows Defender' -Name 'DisableAntiVirus' -Value 1 -PropertyType DWord -Force

    New-ItemProperty -Path 'HKLM:\SOFTWARE\Policies\Microsoft\Windows Defender' -Name 'ServiceKeepAlive' -Value 0 -PropertyType DWord -Force

    1. Paste into the Powershell terminal and press the {Enter} key

    After running the above commands, restart the computer but do not run the troubleshoot to avoid reactivation.

    Credits.: dicasquefunfa

    Hope this helps.

    If you find the answer helpful, please mark it as an answer.

    Independent Advisor - Community

    Thanks

    10+ people found this answer helpful.
    0 comments No comments
  2. Ivan B 108.5K Reputation points Independent Advisor
    2023-11-10T13:34:47+00:00

    Hi ,

    First, create a restore point then Access windows in safe mode.

    https://support.microsoft.com/en-us/windows/sta...

    Open Regedit and export these keys

    HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\WinDefend

    HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\wscsvc

    HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\SecurityHealthService

    After exporting the registry keys, save and then delete each key and restart the computer.

    Remember, when deleting the service, the entire Windows Defender system will be disabled, the only way to recover is by putting the registry keys back, so exporting and using the restore point.

    Independent Advisor - Community

    Thanks

    8 people found this answer helpful.
    0 comments No comments
  3. Anonymous
    2023-11-10T07:54:02+00:00

    Hi Ivan,

    Thank you for your reply but it doesn 't solve my problem. I want to disable this service

    Could you help me ?

    Thank you!

    2 people found this answer helpful.
    0 comments No comments