Windows Vista Forums
Vista Forums Home Join Vista Forums Windows 7 Forum Vista Tutorials Tags
Welcome to Windows Vista Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows Vista. The Vista forum also covers news and updates and has an extensive Windows Vista tutorial section that covers a wide range of tips and tricks.

Go Back   Vista Forums > Vista Forums > Tutorials

Vista - Regedit - Enable or Disable

Comment
 

Regedit - Enable or Disable

How to Enable or Disable Regedit in Vista
Published by Brink
12-27-2007

How to Enable or Disable Regedit in Vista

Information
  This will allow you to enable or disable Registry Editing Tools or regedit.exe from running for all users on the computer. By default, regedit.exe is enabled.
NOTE
  Even if you disable access to registry editor, you can still use registry editor in silent mode by using the /s switch. For example, if you type regedit /s filename.reg at the command prompt, you can import the filename.reg registry file into the registry, even though the Prevent access to registry editing tools policy is enabled. In order to prevent this, make sure you select Yes for Disable regedit from running silently? (See step below).
Tip
  The Registry Editor EXE file is located at: C:\Windows\regedit.exe
WARNING
  If you did not disable regedit.exe, then it may have been done by some kind of malware or spyware. You should do a complete scan of your computer for a virus and other malware to be safe.
RELATED LINKS:EXAMPLE: Error Message
NOTE: You get this when you try to run Regedit.exe or a REG file when set to disabled.
Name:  Disabled_Warning.jpg
Views: 33484
Size:  9.4 KB



METHOD ONE:
Through the Local Group Policy Editor
NOTE
  This method is only available for the Vista Business, Ultimate, and Enterprise editions. See METHOD TWO and METHOD THREE below for the Vista Basic and Home Premium editions.
1. Open the Local Group Policy Editor.

2. In the left pane, click on User Configuration, Administrative Templates, and System. (See screenshot below)
group_policy.jpg
3. In the right pane, right click on Prevent acces to registry editing tools and click on Properties. (See screenshot above)

4. To Enable Regedit -
A) Select (dot) Disabled or Not Configured and click on OK. (See screenshot below 5D)

B) Go to step 6.
5. To Disable Regedit -
A) Select (dot) Enabled. (See screenshot below 5D)

Disable regedit from running silently?
NOTE: See NOTE at the top about Silent Mode.

B) To Allow Silent Mode - Select No. (See screenshot below 5D)

C) To Prevent Silent Mode - Select Yes. (See screenshot below 5D)

D) Click on OK. (See screenshot below)
properties.jpg
6. Close the Local Group Policy Editor window. Your done.



METHOD TWO:
Disable Regedit Through the Registry
NOTE
  This will work for all Vista versions.
Through a Download:
WARNING: Once you disable regedit, you will not be able to enable regedit again through the registry or from a REG file. See METHOD THREE below to enable regedit again.
Disable regedit from running silently?

1. To Disable Regedit and Allow Silent Mode -
NOTE: See NOTE at the top about Silent Mode.
A) Click the download button below to download the
Disable_Registry_No_Silently.reg file.

B) Go to step 3.

2. To Disable Regedit and Prevent Silent Mode -
NOTE: See NOTE at the top about Silent Mode.
A) Click the download button below to download the
Disable_Registry_Yes_Silently.reg file.

3. Click on Save, and save the .reg file to the Desktop.

4. Right click on the .reg file (on Desktop) and click on Merge.

5. Click on the Run button in the Security Warning pop-up.

6. Click on Continue (UAC), Yes, and then OK when prompted.

7. When done, you can delete the .reg file (on Desktop).
The Manual Way:
WARNING: Once you disable regedit and close the registry, you will not be able to enable regedit again through the registry or from a REG file. See METHOD THREE below to enable regedit again.
1. Open the Start Menu.

2. In the white line (Start Search) area, type regedit and press Enter.

3. If prompted by UAC, click on Continue.

4. In regedit, go to: (See screenshot below step 6)
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\System
NOTE: If you do not have System, then right click on Polices and click on New and Key. Type System and press Enter.

5. To Disable Regedit -
A) In the right pane, right click on a empty area and click on New and DWORD (32-bit) Value. Type DisableRegistryTools and press Enter. (See screenshot below step 6)
6. Right click on DisableRegistryTools and click on Modify. (See screenshot below)
registry.jpg
Disable regedit from running silently?

7. To Disable Regedit and Allow Silent Mode -
NOTE: See NOTE at the top about Silent Mode.
A) Type 1 and click on OK. (See screenshot below step 8A)
8. To Disable Regedit and Prevent Silent Mode -
NOTE: See NOTE at the top about Silent Mode.
A) Type 2 and click on OK.
Name:  Modify.jpg
Views: 32898
Size:  31.1 KB
9. Close regedit.


METHOD THREE:
Enable Regedit Through a Elevated Command Prompt
NOTE
  This method will work for all Vista versions.
1. Download the reg_enable.vbs file in Attachments at the end of the web site's article below, and save it to the Desktop.
NOTE: See this site to download the file under attachments: Winhelponline.com: Error "Registry editing has been disabled by your administrator" when you open the Registry Editor in Windows Vista

2. Open a Elevated Command Prompt.

3. If prompted, click on Continue in the UAC prompt.

4. In the elevated command prompt, type cd /d %userprofile%\desktop and press Enter. (See screenshot below)
elevated_cmd_prompt.jpg
5. In the elevated command prompt, type wscript.exe reg_enable.vbs and press Enter. (See screenshot above)

6. Click on OK. (See screenshot below)
Name:  Completed.jpg
Views: 33013
Size:  4.9 KB
7. Close the elevated command prompt.

8. Regedit.exe should now be enable so you can open it again.
That's it,
Shawn

Published by
Brink's Avatar
Administrator

Join Date: Apr 2007
Location: Texas, USA
Posts: 25,919
Rep Power: 150
Brink has a reputation beyond reputeBrink has a reputation beyond reputeBrink has a reputation beyond reputeBrink has a reputation beyond reputeBrink has a reputation beyond reputeBrink has a reputation beyond reputeBrink has a reputation beyond reputeBrink has a reputation beyond reputeBrink has a reputation beyond reputeBrink has a reputation beyond reputeBrink has a reputation beyond repute

Tutorial Tools

Applies to
All Vista Versions
64 Bit & 32 Bit

Old 01-10-2008  
bruce1x


home premium 32 bit
 
 

Re: Regedit - Enable or Disable

I have been running circles on this, but after reading the tutorial I finally figured out how to get into the regedit. to change the words from show to open. Guess what? I can now open the pps attachments and the NASA pictures are great.
Thanks amillion time from a novice.
bruce1x

My System SpecsSystem Spec
Old 01-10-2008  
Brink


Vista x64 Ultimate SP2, Windows 7 Ultimate x64
 
 

Re: Regedit - Enable or Disable

Your welcome Bruce1x,

I'm glad it helped you with your problem. Thank you for the feedback.

Shawn
My System SpecsSystem Spec
Old 01-10-2008  
meaintsmart


Vista Home Premium 32bit
 
 

Re: Regedit - Enable or Disable

Thanks so much! I was looking for a tutorial!
My System SpecsSystem Spec
Old 01-10-2008  
Brink


Vista x64 Ultimate SP2, Windows 7 Ultimate x64
 
 

Re: Regedit - Enable or Disable

Your welcome MeAintSmart,

Welcome to Vista Forums.

Shawn
My System SpecsSystem Spec
Old 04-02-2008  
kanicho1


Home Premium
 
 

Re: Regedit - Enable or Disable

I have got to the bottom of the article and have been unable to find-

1 Download reg_enable.vbs to download. Could some kind person tell me where it is?
Cheers Annie
My System SpecsSystem Spec
Old 04-02-2008  
Brink


Vista x64 Ultimate SP2, Windows 7 Ultimate x64
 
 

Re: Regedit - Enable or Disable

Hi Annie,

Welcome to Vista Forums.

You will just need to click on the link below that step to download the file from that site under Attachments there.

Shawn
My System SpecsSystem Spec
Old 06-12-2008  
angolanman


Vista Home Premium 32bit
 
 

Re: Regedit - Enable or Disable

thanx for the post, it really helped me, considering that a virus did this to my system, desabled the access do reg edit, now everything seems to be ok

thanx again
My System SpecsSystem Spec
Old 06-12-2008  
Brink


Vista x64 Ultimate SP2, Windows 7 Ultimate x64
 
 

Re: Regedit - Enable or Disable

Your welcome Angolanman, and welcome to Vista Forums.

Be sure to run a thorough antivirus scan and a spyware and adware scan to help make sure your computer is clean again.

Shawn
My System SpecsSystem Spec
Old 08-05-2008  
Tot


Vista Home Premium 32bit
 
 

Thumbs up Re: Regedit - Enable or Disable

EXCELLENT TUTORIAL; YOU'RE THE MAN! I went with the stronger 'Disable_Registry_Yes_Silently.reg' option and I was encouraged to see that CCleaner no longer finds ANY registry issues; THIS NEVER HAPPENED BEFORE. One MINOR issue (and I stress MINOR) is that while my Administrator User can no longer enter the Registry Editor, Standard Users still can? ie. Standard Users can still read but not change the registry - I am happy enough with this situation, and don't expect you to fix, but I would value your observations on this point.
My System SpecsSystem Spec
Comment

Tutorial Tools


Similar Threads
Tutorial Category
DEP - Enable or Disable Tutorials
Flip 3D - Enable or Disable Tutorials
Encryption - Disable or Enable Tutorials
Index - Enable or Disable Tutorials
Disable and Enable Devices PowerShell


Vista Forums is an independent web site and has not been authorized,
sponsored, or otherwise approved by Microsoft Corporation.
"Windows Vista", the Start Orb, and related materials are trademarks of Microsoft Corp.
© Designer Media Ltd
Tutorial powered by GARS 2.1.8m ©2005-2006

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46