Rahul Rohela Posted December 21, 2005 Share Posted December 21, 2005 (edited) Here is the simple script to enable/disable Registry tools. $var = RegRead("HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System", "DisableRegistryTools") If $var = 1 Then RegWrite ("HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System", "DisableRegistryTools","REG_DWORD",0) MSGBOX (0,"Status","Registry Editing Tools are now Enabled") Else RegWrite ("HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System", "DisableRegistryTools","REG_DWORD",1) MSGBOX (0,"Status","Registry Editing Tools are now Disabled") Endif Edited March 24, 2007 by Rahul Rohela Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now