- 1 Error Accessing the Registry [Fixed by experts]
- 2 What can I do to open Regedit in Windows 10?
- 3 How to block access to Windows 10’s Registry
- 4 How to prevent users from accessing the Registry using Group Policy
- 5 How to prevent users from accessing the Registry using Registry
- 6 Wrapping things up
- 7 More Windows 10 resources
Error Accessing the Registry [Fixed by experts]
- The first thing you should do when dealing with the Registry Editor issues is to run the SFC scan.
- In case your Registry Editor somehow got disabled, you’ll have to use the Group Policy Editor to enable it.
- There are not so many problems with the registry but if you have some, go straight to our Windows Registry section for help.
- If you run into a Windows 10 error, the best thing to do and read our articles from the Windows 10 Errors Hub.
Registry Editor is one of the most important parts of the Windows operating system.
This tool is usually used for resolving various problems and faults within the system, but what if the Regedit itself is the problem.
Although this is a rare case, there’s a chance that you may encounter some problems with this tool.
More precisely, we’re talking about the problem which prevents users from opening the Registry Editor.
Having the Registry Editor out of the function is something that can be very dangerous because you’re not able to control what happens within your system.
So, if you’re unable to open the regedit, keep reading this article, because we’ve prepared a couple of solutions that may come in handy.
What can I do to open Regedit in Windows 10?
1. Run SFC scan
Although there’s no more universal and cliche solution for dealing with Windows 10 problems, and you’re probably tired of people recommending the SFC scan, it’s actually helpful in this case.
So, the first thing you should do when dealing with the Registry Editor issues is to run the SFC scan.
In case you’re not sure how to do that, follow these instructions:
- Press Windows Key + X to open Power User Menu. Select Command Prompt (Admin) from the list.
- When Command Prompt opens, type sfc /scannow and press Enter.
- Wait until the scan is completed.
- Restart your computer
If everything is okay with the Regedit now, you’re good to go. On the other hand, if the problem is still there, you should move to move advanced solutions.
2. Use Group Policy Editor
In case your Registry Editor somehow got disabled, here’s a way to enable it again. You’ll have to use the Group Policy Editor.
But have in mind, the Group Policy Editor is only available in the Professional, Ultimate, and Pro versions of Windows. So, if you’re using Windows 10 Home, you won’t be able to perform this workaround.
Anyway, here’s what you need to do:
- Go to Search, type gpedit.msc, and open Group Policy Editor
- Navigate to User Configuration >Administrative Templates >System
- Find Prevent access to registry editing tools, and open it
- If it’s set to Enabled, go and change it to Disabled or Not configured
- Restart your computer
3. Enable Regedit manually
Another way to deal with registry problems is to, ironically, apply a registry tweak. There are some of you that probably don’t know that you can run registry tweaks without opening the registry editor.
And in this case, it might be just what we’re looking for. Here’s exactly what you need to do:
- Open Run (Win key + R)
- Enter the following command:
- REG add HKCUSoftwareMicrosoftWindowsCurrentVersionPoliciesSystem /v DisableRegistryTools /t REG_DWORD /d 0 /f
- Hit Enter
Now try to open the Regedit once again, and we hope you’ll be successful this time.
4. Reset your system
Nothing says I surrender! more than clean-installing your system. But, if none of the previous solutions managed to solve the problem, you’ll have to go with this measure.
After you reset your system, you’ll end up with a fresh copy, and therefore all your Regedit problems (and other problems) will be resolved.
Here’s how to reset your Windows 10 system:
- Click Start.
- Open Settings.
- Open Update & Security.
- Choose Recovery.
- Click Get Started under the Reset this PC.
- Choose Keep my files.
- After the procedure is finished, your Registry Editor should work like before.
If the problem is still persistent, you can also consider reinstalling the system. Even though the factory reset should be enough, you can always start from a complete scratch and reinstall the system.
The procedure is simple and it can be done with the Media Creation Tool. You can find out how to do so by following the steps in this article.
That’s about it, we hope at least one of these workarounds proved helpful in resolving the Registry Editor issues in Windows 10.
If you have any comments, questions, or suggestions, please let us know in the comments below.
Editor’s Note: This post was originally published in March 2019 and has been since revamped and updated in May 2020 for freshness, accuracy, and comprehensiveness.
This software will repair common computer errors, protect you from file loss, malware, hardware failure and optimize your PC for maximum performance. Fix PC issues and remove viruses now in 3 easy steps:
Источник статьи: http://windowsreport.com/error-accessing-the-registry/
How to block access to Windows 10’s Registry
On Windows 10, the Registry is a critical database that stores low-level settings that are essential for the OS and many applications. Although you can use it to change numerous settings on your computer (such as stopping Windows auto updates and blocking users from changing the desktop wallpaper), it’s never wise to edit this database unless you know exactly what you’re doing, because a tiny mistake can result in many problems.
While most tech-savvy users are aware of the risks of using the Registry, it might not be so obvious for non-technical users. For example, you could be sharing your device with other users. If they’re looking to change certain settings, the instructions they’ll find could involve editing the Registry, which may result in errors and other issues on your PC.
If you don’t want others to change settings on your Windows 10 device, it’s possible to prevent users from opening and editing the Registry in at least two different ways.
In this Windows 10 guide, we’ll walk you through the steps to block users from opening and editing the Registry using Group Policy and (ironically) the Registry itself.
How to prevent users from accessing the Registry using Group Policy
The easiest way to block users from opening and editing the Registry on Windows 10 is by using the Local Group Policy editor. However, you can only use this option if you’re running Windows 10 Pro, Enterprise, or Education.
To prevent users from launching and editing the Registry using Group Policy, do the following:
- Use the Windows key + R keyboard shortcut to open the Run command.
- Type gpedit.msc and click OK to open the Local Group Policy editor.
Browse the following path:
User Configuration > Administrative Templates > System
Under «Options,» select Yes from the drop-down menu if you don’t want users to use the Registry while still being able to edit settings silently using the regedit /s switch. Or select No to prevent running the editor at all.
Using the Local Group Policy editor, you only need to enable the option on one account to apply the changes to all users. Once you complete the steps, anyone who signs in to the computer won’t be able to use the Registry editor.
When you no longer need this option, you can follow the same steps, but on step No. 5, select the Not Configured option. These changed settings via the Local Group Policy editor should take effect immediately, and you shouldn’t need to restart your computer.
How to prevent users from accessing the Registry using Registry
If you’re running Windows 10 Home, you won’t have access to the Local Group Policy editor, but you can still prevent users from using the editor by modifying the Registry.
Important: While it might be redundant, it should be noted that editing the Registry is risky, and it can cause irreversible damage to your installation if you don’t do it correctly. We recommend making a full backup of your computer before proceeding.
Unlike using Group Policy, which blocks the Registry for all users on all accounts at once, if you’re using the Registry, you’ll need to perform this task on every account in which you don’t want users to use the editor.
To prevent users from accessing the editor using the Registry, do the following:
- Open Start.
- Search for regedit, right-click the result, and select Run as administrator. If you’re dealing with a standard account, you must enter the credential for your administrator account to continue. Otherwise, you won’t be able to make the changes unless you change the account type temporarily to Administrator.
Browse the following path:
Right-click the Policies (folder) key, select New and click on Key.
Right-click on the right side of «System,» select New and click on DWORD (32-bit) Value.
Double-click the newly created DWORD and change its value from 0 to 1.
DisableRegistryTools value options:
- 0 — Registry editor works normally.
- 1 — Registry editor won’t open, but it can be started in silent mode using the /s switch while using commands.
- 2 — Registry editor cannot be started normally or silently.
If you don’t have access to Group Policy, it’s not recommended to use the value of 2, because it’ll be extremely difficult to revert the changes.
After completing the steps, you won’t be able to open and modify the Registry in the account to which you applied the restriction.
Repeat the steps described above on every account in which you don’t want users to mess with the Registry.
While this option is intended for those who can’t access Group Policy, you can also use this option if you want to block the editor for other users while allowing yourself continued access to the Registry.
If you need to revert the changes, you’ll need to use alternative steps because, for obvious reasons, you won’t be able to open the Registry.
- Open Notepad.
Copy and paste the following code into the text file:
Windows Registry Editor Version 5.00 [HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System] «DisableRegistryTools»=dword:00000000
Type the following command to navigate to the path of the .reg file you created and press Enter:
- In the command, change C:\Users\Admin for your path to the .reg file.
Type the following command to enable the Registry and press Enter:
regedit.exe /s enableRegistry.reg
These steps will change the DisableRegistryTools DWORD from 1 back to 0. If you didn’t get any errors, you should now be able to regain access to the Registry immediately.
Wrapping things up
While you can use these instructions to prevent users from accessing the Registry if you’re the tech support person for family and friends, you should also consider applying these changes to their computers to minimize the help they’ll need if they mess with the Registry.
Finally, this guide is focused on Windows 10, but you can use the same steps on Windows 8.1 and Windows 7.
More Windows 10 resources
For more help articles, coverage, and answers to common questions about Windows 10, visit the following resources:
How to (try to) get an Xbox Series X right now
Everything you need to know about buying an Xbox Series X and Xbox Series S, and where to find stock before it runs out.
Microsoft, Sony and Nintendo join together to make gaming safer
Microsoft, Sony and Nintendo agree to shared safety standards per a new press release. The three companies are now working together to achieve easier to use and more meaningful safety features.
These are the best deals on Xbox consoles you’ll find this month
If you’re in the market for a new Xbox One console, you’ll want to check these deals out first.
These are the best PC sticks for when you’re on the move
Instant computer, just add a screen! That’s the general idea of the ultra-portable PC Compute Sticks, but it can be hard to know which one you want. Relax, we’ve got you covered.