Editing the system is prohibited by the administrator. "Registry editing is prohibited" - what to do? Enable registry editor using command line or bat file

If when trying to run Registry Editor(in any way: Start > Execute...> regedit >OK, or \WINDOWS\regedit.exe, or by running reg-files) window appears "Registry Editor" with a message "Editing the registry is prohibited by the system administrator", what does this mean?

Usually unable to start Registry Editor talking about possible virus infection of the system. The fact is that viruses are "prescribed" in Windows Registry(while in the section parameter is created REG_DWORD DisableRegistryTools with meaning 1 ). And so that they (viruses) cannot be uprooted from the system, they make it impossible to start Windows Registry Editor.

***

How to make launch available Registry Editor

Even after removing the virus that prevented the launch Registry Editor, it cannot be started.

To make it available again, click Start > Run… – > in the field Open: enter gpedit.msc >OK> Group Policy> Policy "Local Computer"> User configuration> Administrative Templates> System> on the right side of the window System by double clicking the left button by line (State Not set) call window Properties: Disable Registry Editing Tools > installed switch Included > put Disabled(or Not set) > Apply >OK.

Close the window Group Policy. For changes to take effect without rebootingMinimize all open windows (by pressing the button on the panel Quick Start, or by pressing the keyboard shortcutlogo keys Windows+D), press the key F5(or click right click on the icon-free surface desktop, in the opened press Refresh).

Notes

1. Group Policy Disable Registry Editing Tools disables the use Registry Editor (regedit.exe). If this policy is enabled and tries to run Registry Editor, a message will be displayed stating that the current policy prohibits this action.

2. Can be made available launch Windows Registry Editor by running an alternate Registry Editor(for example, by booting from a rescue disk such as ERD Commander), In chapter find the parameter REG_DWORD DisableRegistryTools and set its value 0 (or completely remove this option).

Attention! When working with Windows Registry Editor be careful, otherwise you can edit it so that you have to reinstall operating system!..

3. When working in corporate local network shutdown Registry Editor often done by the administratorto protect against destructive actions with playful handles! – that's why he! ..

4. To Registry Editor could start in Register In chapter parameter value should be - regedit.exe "%1"

If, when you try to start the Registry Editor (Start –> Run –> regedit –> OK) or when you try to load a reg file, a window appears with the message “Registry editing is prohibited by the system administrator”, then this, as a rule, indicates the consequences of a possible virus infection of the system . Usually, viruses “prescribe” in the Windows registry and, so that they cannot be removed from there, block the launch of the Windows Registry Editor. And how to make the launch of the Registry Editor available? There are several ways, one or the other can help in different situations.

Method 1.

1. click Start –> Run –> Program Startup –> cmd –> OK;
2. switch (if necessary) the keyboard layout to EN;
3. after the system prompt C:\Documents and Settings\Administrator>
enter:

REG DELETE HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\System /v DisableRegistryTools

4. press Enter;
5. to the system prompt Delete the registry value DisableRegistryTools (Y/N)? type "y", press Enter;
6. The message Operation completed successfully will appear;
7. at the system prompt C:\Documents and Settings\Administrator> type "exit" and press Enter (or just close the command interpreter window);
8. Restart your computer.

Method 2.

1. click Start –> Run –> in the Open field: type gpedit.msc –> OK
2. go to User configuration –> Administrative Templates –> System
3. in the right window by double-clicking the left mouse button on the line Disable Registry Editing Tools call the window Properties. If the value is set as Included–> put Disabled–> Apply –> OK;
4. restart your computer.

Method 3.

In the alternative registry editor (there are modules for Far Manager, Total Commander…) select the branch:

HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\System

and remove the option DisableRegistryTools. Or set its value to "0" (zero).

Method 4.

1. download and run the AVZ program;
2. select in the menu "File" -> "System Restore" -> "Unlock the registry editor" (point 17);
3. click to perform the marked operations.

Method 5.

Try to apply this reg file . Rarely, but it happens that the Registry Editor cannot be started, but the tweaks are loaded.

I welcome you to my blog!
“Registry editing is prohibited by the system administrator”, you will see such an inscription when you try to open the registry editor if entering it is prohibited.
This can happen due to the action of a virus or at the request of your network administrator.

If entering the registry editor closed the virus, then before opening access to it, you must first remove the virus and clean the system.
And if the network or computer administrator closed the entrance to the editor, for example, so that non-experienced users do not spoil the system, then first think about whether you should open access to it.

In this article, I will tell you how to disable access to the editor if you need to restrict other users' access to it and how to unlock the registry editor if the villains have closed access to it.

In principle, you can disable and unlock the registry editor in one program, so it makes no sense to write about it in different articles.

You can disable and allow editing the registry in several ways, here are just a few of them.

How to disable registry editing.

To disable access to the registry editor, run the regedit program.
To do this, press the combination Win + R

And enter the command: regedit

Disables editing the registry with the DisableRegistryTools parameter, which is located along the path:

HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\System

If it has a value of 1, then logging into the registry editor will be prohibited.
If it has a value of 0 or there is no such parameter at all, then the entrance to the editor will be opened.

If you already have such a setting, then set it to 1 and close the registry. You will not open it again until you allow access to it.

If you do not have the DisableRegistryTools parameter in the System section, then create it.

In general, if you have never denied access to either the registry editor or the task manager, then you may not even have a System partition. So, if there is no System section in the Policies section, feel free to create it.

Then create a Dword parameter called DisableRegistryTools.

Assign it a value of 1

That's it, you have forbidden editing the registry.

You can also disable editing the registry using the Local Group Policy Editor utility. With this editor, you can also allow editing the registry. The disadvantage of this method is the lack this editor in primary Windows versions.

To launch the Local Group Policy Editor, press Win+R and enter the command: gpedit.msc

Then follow the path:

User Configuration - Administrative Templates - System - Deny Access to Registry Editing Tools

If you want to disable access to the registry editor, then check the “Enable” box.
If your registry editor is already blocked, then in order to unblock it, check the “Not configured” or “Disable” item.

How to unlock the registry editor.

In order to unlock access to the Windows registry, you can use many programs. Alternatively, you can boot from a LiveCD boot disk and remove all restrictions by going to the remote registry editor.

I suggest using the AVZ program, you can download it either from the author's site or from my site. All links. This program must be in the arsenal of every computer user.

Run the program and follow the path: "File - System Restore".

Then check the box for item number 17 - “Unlock the registry editor”.
After that, access to the registry will be opened.

The next way to open access to the registry editor is to change the registry through command line.
Press Win + R and enter the command: cmd

In the window that opens, type the command:

REG DELETE HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\System /v DisableRegistryTools

I couldn’t unlock the registry with this command in Windows 7, even though I ran the command line as an administrator, though not. But it's worth a try, maybe you'll have better luck.

But in Windows XP everything went just fine and access to the registry was open.

As you can see, there are a lot of ways to prohibit and allow editing the registry, so some one will definitely help you.
To keep your system on alert, sometimes you need to clean the registry, you will learn how to do this by reading this.
Good luck!

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 the registry editor has become available. 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? Free antivirus utilities serve this purpose. 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 to run the 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!

The registry allows you to flexibly configure the operating system and stores information about almost all installed programs. Some users who wish to open the Registry Editor may receive an error notification message: . Let's see how to fix this.

There are not so many reasons why the editor becomes unavailable to run and modify: either Account the system administrator really does not allow you to do this as a result of certain settings, or the work of virus files is to blame. Next, we will consider the actual ways to restore access to the regedit component, taking into account different situations.

Method 1: Remove viruses

Virus activity on a PC quite often blocks the registry - this prevents the removal of malicious software, so many users face this error after OS infection. Naturally, there is only one way out - to scan the system and eliminate viruses if they were found. In most cases, after their successful removal, the health of the registry is restored.

If the anti-virus scanners did not find anything, or even after removing the viruses, access to the registry was not restored, you will have to do it yourself, so skip to the next part of the article.

Method 2: Customizing the Local Group Policy Editor

Please note that this component is not available in the initial versions of Windows (Home, Basic), and therefore the owners of these operating systems should skip everything that will be said below and go straight to the next method.

It is easier for all other users to solve the problem through setting up group policy, and here's how to do it:


Now try launching the Registry Editor.

Method 3: Command line

Through the command line, you can restore the registry to working order by entering a special command. This option will be useful if group policy as an OS component is missing or changing its parameter did not help. For this:

Method 4: BAT file

Another option to enable the registry is to create and use a BAT file. It will become an alternative to launching the command line if it is not available for some reason, for example, due to a virus that has blocked both it and the registry.


After that, check the work of the registry editor.

Method 5: INF file

Symantec, a software developer in the field of information security, provides its own way to unlock the registry using an INF file extension. It resets the shell\open\command keys to their default values, thus restoring access to the registry. The instructions for this method are as follows:


We looked at 5 ways to restore access to the registry editor. Some of them should help even if the command line is blocked and the gpedit.msc component is missing.

 
Articles on topic:
Three free dvd converters to convert discs to mp4 format
Why you may need to convert AVI to DVD? Imagine that you want to burn a DVD disc, and the source file is in AVI format. It is quite often used to reduce the size of a video. In this case, a handy DVD to AVI converter can help.
Where is the folder with directx files located on the computer Where is directx installed
With the development of technologies for creating animation for computer games and graphic editors, there is a need for improved rendering of objects and visual effects. DirectX software is used to solve this problem. This is a kind of
Master Class
Dear friends, I am glad to welcome you to the SITE. Today, I will introduce you to a big lesson - HOW TO MAKE A PICTURE WITH INVISIBLE BACKGROUND. And although the lesson is not big and simple, but, nevertheless, important. Very often there is a need to insert an image into a
Solving problems with screen sharing in Skype
Skype is a messenger with many useful features that novice users do not even know about. Gradually expanding their knowledge, they discover options for themselves and ask themselves how to accomplish this or that task. This article will explain how to do