How can I change Win 10 protected registry entries?

  • I'm trying to disable Windows Real-time protection on Win 10 Home Edition, following this tutorial, I reached this point:

step

  • where I get the Error: error writing the value's new contents, I also tried to change the folder permissions on the regedit, I'm also getting the error:

error

  • is there any way to handle those errors and stop Microsoft real-time protection from running by force on my machine? thanks in advance
3

1 Answer

Microsoft has become very protective of its Real-time protection. This over-protection might be a bug, but for the moment it needs strong measures to disable.

The best way to disable it is to install another anti-virus. Otherwise, the following procedure will disable it only until the next reboot, but can be automated.

  • Disable "Tamper Protection" inStart > Settings > Update & Security > Windows Security > Virus & threat protection > Manage settings(this can only be done from Settings, but needs to be done only once)

  • Run PowerShell as administrator and enter the following command:

     Set-MpPreference -DisableRealtimeMonitoring $true

    After this, the protection will be disabled until the next reboot.

You may create a PowerShell script containing this command and set the Task Scheduler to run it upon logon with elevated permissions, for it to disable Real-time protection automatically.

8

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

You Might Also Like