Registry editing is prohibited. Enable registry editor using command line or bat file

Registry Editor - Extremely Powerful Windows utility, which allows you to easily change many OS settings, remove programs from startup, get rid of the consequences virus attack and much more. Unfortunately, sometimes the Registry Editor refuses to start and you see an error message: “Registry editing is prohibited by the system administrator”. In this article, we will learn how to unlock the editor Windows Registry, if its launch was blocked by the administrator or the registry editor does not start due to the actions of malware. Specified ways suitable for all modern operating systems (Windows XP, 7, 8 and 10).

Unlocking the Resstra Editor Using the Local Group Policy Editor

So, in order to unlock editor registry in Windows XP, 7, 8 and 10 using the local editor group policy do the following:

1.Press buttons Win+R(Win is the button on the keyboard with the user's logo) and enter the command gpedit.msc

2. Go along the path User Configuration - Administrative Templates - System

3. On the right, select the item: “Prohibit access to registry editing tools”, click right click mouse and select "Edit"

4.Select "Disabled" and save the changes.

Most often, after that you will access the Windows registry (you may need to restart your computer)

Unfortunately, the Group Policy Editor is not available on Windows Home editions.

Unlock the Registry Editor with Symantec's UnHookExec.inf.

One of the flagships in the production of anti-virus software Symantec offers us an easy way to access the Windows Registry Editor. Quite often, viruses, trojans, and other malware change system settings, which can also affect the launch of the registry editor. The file below resets these settings, returning to the original ones. So, download the UnHookExec.inf file to your computer. Right click on it and select install. The installation will proceed without any windows or messages appearing.

Enable registry editor using command line or bat file

To start, we need to run command line on behalf of the administrator. For this:

  • Click "Start - Programs - Accessories - Command Prompt", right-click on it and select "Run as administrator"
  • In Windows 8, press Win + X and select "Command Prompt (Admin)"

At the command line, enter the command:

reg add"HKCU\Software\Microsoft\Windows\CurrentVersion\Policies\System" /t Reg_dword /v DisableRegistryTools /f /d 0

After executing the command, the registry should be unlocked. If the command line is not available to you, you can try to unlock the registry editor using a bat file. For this:

  • Paste the code above into notepad.
  • Save the file with the .bat extension
  • Right-click on the file and run as "Administrator". In Windows XP, just run the file.
  • For a fraction of a second, a command prompt window will appear and disappear. This means that the command completed successfully.

Or download and run the ready-made bat file Unblock_regedit.bat

We hope the article helped you open the registry editor - whether it is forbidden to open it by the administrator, a virus, or for some other reason.

What is Registry Editor system utility, in which the user has access to change all system settings operating system. Thanks to the registry, you and I can deal with very large quantity errors, such as: getting rid of very intrusive advertising in the browser or remove a malicious banner that blocks the entire desktop, and also helps get rid of spam - the Webbalta search engine.

In general, the registry contains a very a large number of settings for editing, but most importantly, do not forget that you need to do everything wisely.

But sometimes harmful viruses or programs can block access to the registry for us, as a result of which, when typing the command " regedit", we will get the message: " Registry editing is prohibited by the system administrator". Of course, all these prohibitions can be removed very easily with the help of this utility. But the creators of malware also know about this, and therefore they create such viruses that, when they enter the system, immediately block the registry so that the user does not have access to remove the malware.

Therefore, if you yourself did not block access to editing, most likely, it was the virus that tried instead of you. (). Therefore, below I will show a few examples of how you can deal with this virus and remove the administrator's ban on editing the registry. I would like to point out that this manual Suitable for absolutely all Windows operating systems.

We open access to the registry in group policies

Let's start from the simplest way, in which we will be required to mark a few relevant items in the system settings and save changes.

So, to fix the error: "Registry editing is prohibited by the system administrator" in group policies, we execute the following actions in order.

By pressing the keys " Win+R" call the line "In execute", where we specify the command" ».

Now, let's go to User configuration", then open the folder" Administrative Templates", in which we find next folder « System».

In the settings window check " Disable” and click “Apply” to save the settings.

Now, you can safely try. If, suddenly, a message appears again about the prohibition by the administrator of editing the registry, try restarting the computer. Even if, after that, the error does not disappear, then go to the second option.

We remove the administrator's prohibition on editing the registry using the command line

2. In the window that opens, draw the following command:

reg add "HKCU\Software\Microsoft\Windows\CurrentVersion\Policies\System" /t Reg_dword /v DisableRegistryTools /f /d 0

3. After, press "Enter" and check the result, at the next opening, a message like: "Registry editing is prohibited by the system administrator", should no longer appear;

Opening access to the registry using a BAT file

If nothing worked out for you with group policies, and the command line does not open, then we try the third option.

    • Copy the code that was indicated on the command line;
    • Create anywhere, a new text file "Register.txt";
    • Farther, double click open it and copy the code there;

    • Now instead of .txt, change the file extension to .bat ();

    • Or save it like new file using the "Save as" item, where the file is called "";

  • Next, run the saved file as administrator;
  • A command prompt will open for a second and execute the command that was specified in the file;
  • You will only have to check once again whether the error with the text has disappeared: “Registry editing is prohibited by the system administrator”;

If the first method does not help you, be sure to try all the others. Cases are different, as are the solutions to them. Also, you may find the article on how to unlock the task manager if it says "" useful. Good luck to everyone, see you soon on the pages.

1. Brief introduction

In this article, we will look at what to do if the message: "" appears when you start the registry editor. You will also learn why such a message appears, how to fix it and prevent it from appearing in the future.

2. Why "Registry editing is prohibited"

The reason for blocking the registry editor in most cases is the work of viruses on your computer. Often they block the registry editor, which leads to the appearance of the message: “ Registry editing is prohibited by the system administrator". The purpose of blocking the registry editor is to prevent the virus from being removed using registry editing.

To learn more about the Windows Registry, see What is the Windows Registry?

3. Allow editing the registry (for Windows XP)

So, in order to allow editing the registry, you will need to perform some simple steps. Let's go first: startexecute:

A window has opened "Starting the program". In it, in line "Open:" enter gpedit.msc and click « OK» . See screenshot:

Will open « Group Policy» :

Then click on the folder « Administrative Templates» , in the list that appears, open the folder « System» . Screenshots:

Now we need to find the point and right click on it and select « Properties» . See screenshots:

A window has opened "Make registry editing tools unavailable", in it in the tab "Parameter" put the switch in "Not set" or "Disabled" and press « OK» . Screenshot:

The changes need to take effect. For this on desktop right click and select « Refresh» or restart the computer.

Now it has become accessible editor register. Message: " Registry editing is prohibited by the system administrator» will no longer bother you if you get rid of computer viruses.

Cleaning Windows from viruses

As mentioned at the beginning of this article, the reason for the message is: Registry editing disabled by administrator" is the work of viruses on your computer. Of course they should be removed. But how to do that? For this purpose, free antivirus utilities. The best one is the utility Dr.Web CureIt. You can download it at the end of this article. After you have downloaded Dr.Web CureIt you need to check your computer for viruses in it. To do this, unzip the downloaded archive and double click mouse run file cureit. A window will appear:

Click "OK"

Also "OK"

Click "Start". The scan of your computer will begin. After the scan is completed, Dr.Web will provide a report and offer to remove the found threats.

note: when scanning with utility Dr.Web CureIt disconnect your computer from the internet!

Any user of modern computer system eventually comes to understand how the Windows OS works. Sooner or later it will happen. It is possible to personalize settings or fix many problems by changing the parameters of keys and entries system registry. But what if suddenly the user, say, with the "seven" installed, receives a message stating that editing the registry is prohibited by the administrator Win systems dows 7? Let's look at most situations and the reasons that lead to them.

How to understand that editing the registry is prohibited by the system administrator

First of all, any user, regardless of the level of training, should be aware that the Windows Registry Editor works a little differently than other applications.

The simplest example: when changes are made, any other program prompts the user to save them. But not if something is changed, even normal exit from the program leads to auto save changes.

But the appearance of a warning like "Registry editing is prohibited by the system administrator" (Win 7, 8, 10 or the clearly outdated OS XP) can be due to many reasons. Moreover, this may not always be due even to the lack of administrative access rights to the computer terminal and the main or hidden features the operating systems themselves.

Reasons for such situations

Let's assume that the terminal has Windows XP installed, which allows several authorized users to work on one computer under their own accounts. It goes without saying that in addition to them, there is also a computer administrator, whose "account" allows you to change absolutely all system parameters.

It is clear that the administrator can impose some restrictions on users' access to certain functions so that, say, due to their inexperience, God forbid, they do not make any critical changes to own settings. In principle, this may not affect the performance when logging in as an administrator, but user settings can simply "fly off", and quite elementary. That is why the administrator blocks access to these functions, as a result of which the user is faced with the problem that editing the registry is prohibited by the administrator of the Windows XP system. By the way, this applies equally to all modifications of Windows.

Almost the same prohibition can also occur when several computer terminals are combined into local network. As you know, the management of the health and configuration of such networks is entrusted to system administrators. And it is they who set the settings in such a way that users of local machines cannot get not only to change the default settings set by the system administrator, but also to critical changes in the same system registry. That's why instead of a message, say, in a regular "express", the user, when trying to access the registry editor with the introduction of the regedit command in the "Run" menu or in the command line itself (cmd call command), receives a system response in the form that editing the registry prohibited by the administrator of the XP system, but that blocking access is carried out at the level of the system administrator responsible for the performance of the "local".

But there are other situations as well. Imagine the simplest option: the user is working in installed system himself, no other users are registered on the "computer", that is, he is his own administrator. And suddenly, for no apparent reason, he receives a message that editing the registry is prohibited by the system administrator? How so? He's also the administrator! What is it connected with? First of all, with the manifestation of activity virus programs, less often - with the installation of any specific applications.

What if it's a virus?

Really, modern viruses and the people who create them today have come to understand the essence of how the Windows OS works. Some of these applications are capable of blocking access to system functions"Windy".

Some virus developers do this because there is nothing to do, some just for the sake of interest in order to check the system for vulnerabilities, and at the same time their own abilities, some just try to get into someone else's computer and make their own changes. The point is not that.

Again, with such unauthorized exposure, a problem may arise due to the fact that a notification appears on the screen about current restrictions, in particular, that editing the registry is prohibited by the system administrator.

There is only one way out - an immediate check of the system with installed standard, or better, utilities like Rescue Disc, which allow you to perform an in-depth scan of your computer for viruses even before the "OS" itself boots from the hard drive. Such utilities run either from optical or USB media ... Naturally, in BIOS settings they will need to be specified as the first priority device for launching (call with the Del, F12, F2 keys, etc. - it all depends on the brand of the computer or laptop, as well as on the BIOS developer himself).

Registry editing is prohibited by the system administrator: what to do

Now we, in fact, are approaching the question of finding solutions and correcting such situations. In principle, quite a lot of solutions to this problem are offered today: from own funds Windows before use third-party utilities. We will now focus on the most simple ways troubleshooting, for example, in the same “seven”, related to the fact that editing the registry is prohibited by the administrator of the Windows 7 system (today this OS is the most common and in demand among most users).

Using the Group Policy Client

If anyone does not know, some registry entries responsible for accessing system functions are duplicated in the same “seven” by the local and group policy client service. As a rule, system administrators do not block it, believing that the user does not know how to get to it. Let's make a reservation right away: if the client is blocked, this method won't work.

However, if the user receives a message that editing the registry is prohibited by the system administrator, you can call the command line or the Run menu and enter gpedit.msc in the appropriate field.

Next, you should find the settings branch, in which on the right there will be a line forbidding access to registry editing access tools. Here you need to select the submenu called by the right click, and use the command to change the settings, after which, in fact, put a “bird” in front of the disable parameter, and then save the changes.

Using Symantec Tools

The well-known Symantec corporation, which once stood at the origins of computer security, proposes a solution.

On the official resource, you just need to find and download to your computer a small file called UnHookExec.inf, which, after launch, is able to remove all restrictions on access to the Windows system registry editor. Its launch involves the use of a right click, after which the installation command is selected from the menu (by the way, some drivers are installed manually in the same way).

Command line

Not less than in an efficient way when you receive a message that editing the registry is prohibited by the system administrator, the use is true, in a somewhat specific way.

First in a console like DOS system, you need to enter the line shown in the illustration, and press the enter key (Enter). The registry will be unlocked.

If this is not enough, in order not to enter the command all the time, you can simply copy given code into the standard Notepad, and then save the contents as executable file with .bat extension. In Windows XP, for example, a double-click will be enough to launch the element; in versions of Vista and higher, you need to run the file with a right-click as an administrator.

Conclusion

Actually, this consideration of the problem can be completed. Of course, here are only the most common causes of its occurrence and the most popular ways its elimination. For example, we did not consider the question of how to log into the system as an administrator in the same "expiry", although this is done at the level of any user is absolutely elementary. But for most cases, it is recommended to use either (if it is not blocked) or download and run the file from Symantec. The second option is much easier.

The registry is a repository that contains data about all the parameters and settings of a computer. Most often, the system administrator sets up a ban on editing the registry by someone other than himself

This is due to the fact that illiterate actions with the console can cause serious harm to the computer. Up to the point that you need to reinstall Windows.

Registry editing is prohibited - we study group policy

If you are unable to open the Registry Editor, operating system, most often displays a message with the following content: editing the registry is prohibited by the system administrator. Also, the notification may indicate that editing is prohibited by the administrator, encryption policy, or data store.

Says that group policy settings are installed on the computer and you are a member of a group that is not allowed to edit the registry. And it would be understandable if it appeared on a computer big network, which actually has an administrator. But often such a notification appears on the screen of a separate PC. In this case, the device is most likely exposed to a virus.

To remove restrictions, you need to open the registry branch with Group Policy settings. And although its editing is just impossible to implement - the situation is not hopeless. The method is suitable for any OS above XP. To start the editor, do the following:

  • Open the Run window by pressing the Win and R buttons;
  • In the input field of this window, type not the standard command for calling this editor, but another - gpedit. Press enter;
  • The Edit Local Group Policy console opens;
  • Go to it on the User Configuration - an item that can be found in the left block of the console;
  • From there, go to Administrative Templates;
  • Next, click on the line System;

fig.1. In the block on the right, select "Deny access to registry editing tools"

  • Right-click on it and select Disabled from the drop-down menu;
Click Apply

Now everything should work. But if the registry still does not start, try restarting your computer. If this does not help, use the method described below or third-party software.

Un Hook Exec.inf

The Symantec developer has released an inf document that can be used to access the settings console even when editing the registry is disabled. The document is called UnHookExec and is free to download. To unlock the console in this way, do the following:

  1. Download the file;
  2. Check it on an antivirus;
  3. You can save it anywhere in the system;
  4. Right click on the file;
  5. In the drop-down menu, select Install;
  6. No windows will appear;
  7. The file was successfully installed into the system;
  8. Restart your computer after a few minutes.

The method has its pros and cons. On the one hand, using native Windows resources to perform actions is safer for system files, since the OS rarely harms "itself". In addition, you do not run the risk of launching a virus into your computer files. But this method does not always work.

As for downloading the file, it is effective when the registry is blocked as a result of viruses, trojans, worms or spyware. OS resources cannot cope with such a problem, and therefore the console is not unlocked. Applying a file resets changes and file settings to a state that is normal for a particular OS. There is no loss of files, no changes in the operation of the computer, but try to open the registry through the command line or otherwise. Perhaps it will open.

Run from cmd.exe

Another way to edit or delete a registry branch is to run it from cmd.exe. First, open the command field itself (as an administrator). In older operating systems, follow the path Start - All Programs - Accessories - Command Prompt. Press on desired item right click and select Run (as administrator).

  • When you have Windows 8 installed, then simultaneously hold down on Win keyboard and X.
  • A list of actions will open.
Click Command Prompt (Admin)
  • Start the process. Type the long combination reg add "HKCU\Software\Microsoft\Windows\CurrentVersion\Policies\System" /t Reg_dword /v DisableRegistryTools /f /d 0 into the input field. Click Enter. The editor is now open and ready to use. Sometimes you need to restart your computer to get started.

But if cmd.exe is also disabled, then do it differently. Open text editor and copy the code there. Set the document extension to .bat. Run the saved document as an administrator. The cmd.exe console will blink and immediately disappear. Now work with the registry.