Sign in to follow this  
Followers 0
Rahul Rohela

Script to Enable\Disable Registory tools

1 post in this topic

#1 ·  Posted (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 by Rahul Rohela

Share this post


Link to post
Share on other sites



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 account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0