If you try to open the Registry Editor on your Windows computer and you get a message denying you access, the Regedit program is disabled on your system. You will need to change the configuration of your system to enable Regedit and allow use of the Registry Editor. To enable Regedit on your computer-
Make sure that you are logged in as the administrator on your computer if you are using Windows Vista or Windows 7. Click the "Start" button and then click the arrow button next to the "Shut Down" button. Choose "Switch user" and then click on the administrator account name. Enter the administrator password if prompted.
Click the "Start" button. Click "Run" if you are using Windows XP. Type "GPEdit.msc" in the text box and hit the "Enter" key. If you are using Windows Vista or Windows 7, do not hit the "Enter" key after typing "GPEdit.msc" into the text box. Instead, wait for the "GPEdit.msc" icon to appear and then click it.
Look at the options on the left sidebar on the window "Local Group Policy Editor" that appears. Choose "User Configuration," "Administrative Templates," and then "System."

Check to see if the radio button for "Enabled" is checked. If so, click the radio button for either "Disabled" or "Not Configured" and click the "OK" button. Restart your computer so that the changes take effect.

Go back to the "Start" menu. Click "Run" if you are using Windows XP. Type "regedit" into the text box and press the "Enter" key. If you are using Windows Vista or Windows 7, do not hit "Enter" after typing "regedit" in the text box. Instead, wait for the "regedit.exe" icon to appear and double click it to open the Registry Editor. If the screen flashes and asks for permission to access the Registry Editor, click the "Accept" or "Allow" button.