how to restore regedit, taskmanager, ang msconfig using vbscript
have you ever been hit by a virus then finding out you could no longer access regedit, msconfig, or you task manager? well don't worry, i will teach you how to restore them with a little visual basic script. now to get on with it..
first you have to open notepad or any text editor you prefer.
then copy and paste the following code into your text editor
Set WshShell = WScript.CreateObject("WScript.Shell")
With WScript.CreateObject("WScript.Shell")
On Error Resume Next
.RegDelete "HKCU\Software\Microsoft\Windows\CurrentVersion\Policies\System\DisableRegistryTools"
.RegDelete "HKCU\Software\Policies\Microsoft\Windows\System\DisableCMD"
.RegDelete "HKCU\Software\Microsoft\Windows\CurrentVersion\Policies\System\DisableTaskMgr"
.RegDelete "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\policies\system\DisableTaskMgr"
End With
Mybox = MsgBox(jobfunc & enab & vbCR & "Restore_Finished!", 4096, t)
after that save it and name it as restore.vbs
actually you could name it anything you like. taskrestore.vbs , msconfigrestore.vbs , etc. but you need to have .vbs at the end so that it will save as a vbscript file.
after saving, locate the file and double click it to execute.
a pop-up will show saying that the restore is complete. thats it. your regedit, msconfig, and task manager has been restored.
for those who just want to download the file click here
If you like this post, you can buy me a cup of coffee or two. Thank you!

