- I'm trying to disable Windows Real-time protection on Win 10 Home Edition, following this tutorial, I reached this point:
- where I get the Error:
error writing the value's new contents, I also tried to change the folder permissions on theregedit, I'm also getting the 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
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 $trueAfter 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