Enable registry editor disabled by virus

There are many viruses which disable registry editing of your windows. And when you try to edit registry you get a message that "Registry editor has been disabled by your administrator".  
This can be solved by taking these two simple steps.

Step1: Restart your computer in safe mode and open cmd and type following command
reg delete HKCU\software\microsoft\windows\currentversion\policies\system /v "DisableRegistryTools"
 
it will ask you for(Y/N)?  typeY.

Step2.: Run this another command:     run HKLM\software\microsoft\windows\currentversion\policies\system /v "DisableRegistryTools"
 
This will enable your registry editor.

No comments: