1. Disable Registry
Open Notepad then copy / paste the code below, then saveAs : your_file_name.reg
REGEDIT4
[HKEY_CURRENT_USER \ Software \ Microsoft \ Windows \ CurrentVersion \ Policies \ System]
"DisableRegistryTools" = dword: 00000001
2. Enable Registry
Open Notepad then copy / paste the code below, then saveAs: your_file_name.vbs
'Enable Registry Editing'
'A? Veegertx - 4/7/2004
'This code may be freely distributed / modified
On Error Resume Next
'Prevents errors from values that do not exist
Set WshShell = WScript.CreateObject ( "WScript.Shell")
'Delete DisableRegistryTools registry values
WshShell.RegDelete
"HKCU \ Software \ Microsoft \ Windows \ CurrentVersion \ Policies \ System \ DisableRegistryTools"
WshShell.RegDelete
"HKLM \ SOFTWARE \ Microsoft \ Windows \ CurrentVersion \ Policies \ System \ DisableRegistryTools "
'display message Message = "You now can open regedit"
X = MsgBox (Message, vbOKOnly, "OK")
Set WshShell = Nothing
Set fso = Nothing
[/ code]
0 komentar:
Post a Comment