Welcome

Welcome, thanks to look my blog

Wednesday 23 April 2014

How to Enable or Disable Regedit in Vista and Windows 7



OPTION ONE

Enable or Disable Regedit Using a VBS File Download

NOTE: This VBS script will toggle Registry Editor to be enabled or disabled when runned. If regedit was disabled before running the VBS script, then it will be enabled automatically. If regedit was enabled before running the VBS script, then it will be disabled automatically
1. Click on the Download button below to download the .vbs file below.
Enable-Disable_regedit.vbs
download
2. Click on Save, and save the .vbs file to your desktop.

3. Open an elevated command prompt.

4. In the elevated command prompt, copy and paste the command below and press Enter. (see screenshot below)
cd /d %userprofile%\desktop

Regedit - Enable or Disable-elevated_cmd.jpg
5. In the elevated command prompt, copy and paste the command below and press Enter. (see screenshot above)
wscript.exe Enable-Disable_regedit.vbs
6. Click on OK. (see screenshots below)
Name:  OK-2.jpg
Views: 48937
Size:  19.9 KBName:  OK-1.jpg
Views: 47103
Size:  19.9 KB
7. Close the elevated command prompt window.



OPTION TWO

To Disable Regedit Using a REG File Download

WARNING: Once you disable regedit, you will not be able to enable regedit again through the registry or from a REG file. See OPTION ONE or OPTION FOUR to be able 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 file below.
Disable_Registry_No_Silently.reg

download
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 file below.
Disable_Registry_Yes_Silently.reg
download
3. Click on Save, and save the .reg file to the Desktop.

4. Right click on the downloaded .reg file and click on Merge.

5. Click on Run, Continue (UAC-Vista) or Yes (UAC-Windows 7), Yes, and then OK when prompted.

6. When done, you can delete the .reg file (on Desktop).




OPTION THREE

To Manually Disable Regedit Using Registry Editor

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 OPTION ONE or OPTION FOUR to be able to enable regedit again.
1. Open the Start Menu, then type regedit and press Enter.

2. If prompted by UAC, click on Continue (Vista)or Yes (Windows 7).

3. In regedit, navigate to the location below. (See screenshot below step 5)
NOTE: If you do not have System, right click on Polices, click on New and Key, then type System and press Enter.
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\System
4. 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 4)
5. Right click on DisableRegistryTools and click on Modify. (See screenshot below)
Regedit - Enable or Disable-registry.jpg
Disable regedit from running silently?

6. 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 7A)
7. To Disable Regedit and Prevent Silent Mode
NOTE: See NOTE at the top about Silent Mode.
A) Type 2 and click on OK.
Regedit - Enable or Disable-modify.jpg
8. Close regedit.




OPTION FOUR

Enable or Disable Regedit Using Local Group Policy Editor

1. Open the all users, specific users or groups, or all users except administrators Local Group Policy Editor for how you want this policy applied.

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

4. To Enable Registry Editor
A) Select (dot) Disabled or Not Configured and click on OK. (See screenshot below 5D)
B) Go to step 6.
5. To Disable Regestry Editor
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)
Regedit - Enable or Disable-properties.jpg
6. Close the Local Group Policy Editor window. Your done

No comments:

Post a Comment