Regedit - Enable or Disable

How to Enable or Disable Regedit in Vista and Windows 7

information   Information
This will allow you to enable or disable Registry Editor (aka: regedit) for all users in Windows 7 and Vista.

By default, regedit.exe is enabled.

You must be logged in as an administrator to be able to do the steps in this tutorial.

Note   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   Tip
The Registry Editor EXE file is located at: C:\Windows\regedit.exe

warning   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.

EXAMPLE: Error Message
NOTE:
You get this when you try to run Regedit.exe or a REG file when set to disabled.

Disabled_Warning.jpg





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.​
4. In the elevated command prompt, copy and paste the command below and press Enter. (see screenshot below)​
cd /d %userprofile%\desktop
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)​
OK-2.jpgOK-1.jpg

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)​
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.​
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)​
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)​
Properties.jpg

6. Close the Local Group Policy Editor window. Your done​
That's it,
Shawn


 

Attachments

  • Disable_Registry_No_Silently.reg
    322 bytes · Views: 6,372
  • Disable_Registry_Yes_Silently.reg
    322 bytes · Views: 4,551
  • Restore_Registry_Editor.bat
    111 bytes · Views: 327
  • Enable-Disable_regedit.vbs
    982 bytes · Views: 25,295
  • thumb_Regedit.png
    thumb_Regedit.png
    7 KB · Views: 407
Last edited:
Hey Brink... the file is located on desktop, still I'm gettin this prob.
t8qg7k.jpg

Adityasatpute,

I updated the tutorial. Please try the new VBS in OPTION ONE to see how that works for you instead. :)
 

My Computers

System One System Two

  • Operating System
    Windows 10 Pro 64-bit
    Manufacturer/Model
    Custom
    CPU
    Intel i7-8700K 5 GHz
    Motherboard
    ASUS ROG Maximus XI Formula Z390
    Memory
    64 GB (4x16GB) G.SKILL TridentZ RGB DDR4 3600 MHz (F4-3600C18D-32GTZR)
    Graphics Card(s)
    ASUS ROG-STRIX-GTX1080TI-O11G-GAMING
    Sound Card
    Integrated Digital Audio (S/PDIF)
    Monitor(s) Displays
    2 x Samsung Odyssey G7 27"
    Screen Resolution
    2560x1440
    Hard Drives
    1TB Samsung 990 PRO M.2,
    4TB Samsung 990 PRO PRO M.2,
    8TB WD MyCloudEX2Ultra NAS
    PSU
    Seasonic Prime Titanium 850W
    Case
    Thermaltake Core P3
    Cooling
    Corsair Hydro H115i
    Keyboard
    Logitech wireless K800
    Mouse
    Logitech MX Master 3
    Internet Speed
    1 Gb/s Download and 35 Mb/s Upload
    Other Info
    Logitech Z625 speaker system,
    Logitech BRIO 4K Pro webcam,
    HP Color LaserJet Pro MFP M477fdn,
    APC SMART-UPS RT 1000 XL - SURT1000XLI,
    Galaxy S23 Plus phone
  • Operating System
    Windows 10 Pro
    Manufacturer/Model
    HP Envy Y0F94AV
    CPU
    i7-7500U @ 2.70 GHz
    Memory
    16 GB DDR4-2133
    Graphics card(s)
    NVIDIA GeForce 940MX
    Sound Card
    Conexant ISST Audio
    Monitor(s) Displays
    17.3" UHD IPS touch
    Screen Resolution
    3480 x 2160
    Hard Drives
    512 GB M.2 SSD
Group policy

Shawn, is there anyway to create or install Group Policy you mentioned in this tutorial in Vista Home Premium; and, do you know why MS didn't include this feature in VHP?:sarc:
Thank you for your answer.
 

My Computer

Hello Metrotek,

Sorry, but no there is not a way to install Group Policy in Vista Home Premium. Instead, Group Policy has to be applies using the Registry Editor in that edition. There are some methods out there on the net that claim to do so, but these have all either ended in not working after a lot of effort and/or having to reinstall Vista.

Group Policy is only available in the Vista Business, Ultimate, and Enterprise versions. It's not available in Vista Home Premium since it's geared towards home users that typically do not need or use Group Policy like a business would. That's why the lower editions with less features is also less expensive than the editions with more or all features included (ex: Vista Ultimate).

Basically you get what you pay for. :(
 

My Computers

System One System Two

  • Operating System
    Windows 10 Pro 64-bit
    Manufacturer/Model
    Custom
    CPU
    Intel i7-8700K 5 GHz
    Motherboard
    ASUS ROG Maximus XI Formula Z390
    Memory
    64 GB (4x16GB) G.SKILL TridentZ RGB DDR4 3600 MHz (F4-3600C18D-32GTZR)
    Graphics Card(s)
    ASUS ROG-STRIX-GTX1080TI-O11G-GAMING
    Sound Card
    Integrated Digital Audio (S/PDIF)
    Monitor(s) Displays
    2 x Samsung Odyssey G7 27"
    Screen Resolution
    2560x1440
    Hard Drives
    1TB Samsung 990 PRO M.2,
    4TB Samsung 990 PRO PRO M.2,
    8TB WD MyCloudEX2Ultra NAS
    PSU
    Seasonic Prime Titanium 850W
    Case
    Thermaltake Core P3
    Cooling
    Corsair Hydro H115i
    Keyboard
    Logitech wireless K800
    Mouse
    Logitech MX Master 3
    Internet Speed
    1 Gb/s Download and 35 Mb/s Upload
    Other Info
    Logitech Z625 speaker system,
    Logitech BRIO 4K Pro webcam,
    HP Color LaserJet Pro MFP M477fdn,
    APC SMART-UPS RT 1000 XL - SURT1000XLI,
    Galaxy S23 Plus phone
  • Operating System
    Windows 10 Pro
    Manufacturer/Model
    HP Envy Y0F94AV
    CPU
    i7-7500U @ 2.70 GHz
    Memory
    16 GB DDR4-2133
    Graphics card(s)
    NVIDIA GeForce 940MX
    Sound Card
    Conexant ISST Audio
    Monitor(s) Displays
    17.3" UHD IPS touch
    Screen Resolution
    3480 x 2160
    Hard Drives
    512 GB M.2 SSD
Hello Brink. I believe I told you previously that I used to live in Austin a great place. Texas has unversities and colleges on nearly every corner. And beautiful dames.
I don't really need the GPE but why would anyone disable registry editor?
Take care.
 

My Computer

Metrotek,

It's always nice to see someone that lived in Texas here. :)

It's usually malware that disables regedit, so this is just one way to help enable it again.
 

My Computers

System One System Two

  • Operating System
    Windows 10 Pro 64-bit
    Manufacturer/Model
    Custom
    CPU
    Intel i7-8700K 5 GHz
    Motherboard
    ASUS ROG Maximus XI Formula Z390
    Memory
    64 GB (4x16GB) G.SKILL TridentZ RGB DDR4 3600 MHz (F4-3600C18D-32GTZR)
    Graphics Card(s)
    ASUS ROG-STRIX-GTX1080TI-O11G-GAMING
    Sound Card
    Integrated Digital Audio (S/PDIF)
    Monitor(s) Displays
    2 x Samsung Odyssey G7 27"
    Screen Resolution
    2560x1440
    Hard Drives
    1TB Samsung 990 PRO M.2,
    4TB Samsung 990 PRO PRO M.2,
    8TB WD MyCloudEX2Ultra NAS
    PSU
    Seasonic Prime Titanium 850W
    Case
    Thermaltake Core P3
    Cooling
    Corsair Hydro H115i
    Keyboard
    Logitech wireless K800
    Mouse
    Logitech MX Master 3
    Internet Speed
    1 Gb/s Download and 35 Mb/s Upload
    Other Info
    Logitech Z625 speaker system,
    Logitech BRIO 4K Pro webcam,
    HP Color LaserJet Pro MFP M477fdn,
    APC SMART-UPS RT 1000 XL - SURT1000XLI,
    Galaxy S23 Plus phone
  • Operating System
    Windows 10 Pro
    Manufacturer/Model
    HP Envy Y0F94AV
    CPU
    i7-7500U @ 2.70 GHz
    Memory
    16 GB DDR4-2133
    Graphics card(s)
    NVIDIA GeForce 940MX
    Sound Card
    Conexant ISST Audio
    Monitor(s) Displays
    17.3" UHD IPS touch
    Screen Resolution
    3480 x 2160
    Hard Drives
    512 GB M.2 SSD
this wont work because the enable disable file doesn't work if u want i can give you the error it gives me.

Hello InfuzedSlayer, and welcome to Vista Forums. :)

Sure thing. Please post back with what option you are using in the tutorial and a screenshot of the error.
 

My Computers

System One System Two

  • Operating System
    Windows 10 Pro 64-bit
    Manufacturer/Model
    Custom
    CPU
    Intel i7-8700K 5 GHz
    Motherboard
    ASUS ROG Maximus XI Formula Z390
    Memory
    64 GB (4x16GB) G.SKILL TridentZ RGB DDR4 3600 MHz (F4-3600C18D-32GTZR)
    Graphics Card(s)
    ASUS ROG-STRIX-GTX1080TI-O11G-GAMING
    Sound Card
    Integrated Digital Audio (S/PDIF)
    Monitor(s) Displays
    2 x Samsung Odyssey G7 27"
    Screen Resolution
    2560x1440
    Hard Drives
    1TB Samsung 990 PRO M.2,
    4TB Samsung 990 PRO PRO M.2,
    8TB WD MyCloudEX2Ultra NAS
    PSU
    Seasonic Prime Titanium 850W
    Case
    Thermaltake Core P3
    Cooling
    Corsair Hydro H115i
    Keyboard
    Logitech wireless K800
    Mouse
    Logitech MX Master 3
    Internet Speed
    1 Gb/s Download and 35 Mb/s Upload
    Other Info
    Logitech Z625 speaker system,
    Logitech BRIO 4K Pro webcam,
    HP Color LaserJet Pro MFP M477fdn,
    APC SMART-UPS RT 1000 XL - SURT1000XLI,
    Galaxy S23 Plus phone
  • Operating System
    Windows 10 Pro
    Manufacturer/Model
    HP Envy Y0F94AV
    CPU
    i7-7500U @ 2.70 GHz
    Memory
    16 GB DDR4-2133
    Graphics card(s)
    NVIDIA GeForce 940MX
    Sound Card
    Conexant ISST Audio
    Monitor(s) Displays
    17.3" UHD IPS touch
    Screen Resolution
    3480 x 2160
    Hard Drives
    512 GB M.2 SSD
Back
Top