While checking the registry on my machine because of the issues I had with Task Manager, described in this post, I noticed that I was unable to start Registry Editor.
When trying to run regedit, I would get a message saying
“Registry editing has been disabled by your administrator”
Enable Registry Editor (regedit) in Local Group Policy with gpedit.msc
This can be changed by editing Local Group Policy with gpedit.msc.
Click Win+R keys to open Run dialog interface, and issue gpedit.msc command to open Local Group Policy Editor.
User Configuration > Administrative Templates > System > Prevent access to registry editing tools.
This should by default be set to Not Configured, which should not prevent you from starting Registry Editor.
It was set on Not Configured on my machine already, so I set it to Disabled, and this enabled back Registry Editor for me.
Interestingly, after returning the setting back to Not Configured, Registry Editor did not get disabled again.
This seems to have got disabled during installation of some drivers, and even do Local Group Policy was set on Not Configured, it seem some registry values were set to disable registry editing tools from running, and switching back between Enabled, and Not Configured seems to have return them to default values.
Alternate possible methods of enabling regedit.
Alternate method 1:
Click Start -> Run. Type this command in Run box and press Ok.
Value DisableRegistryTools exists, overwrite (Y/N)?
Type yes and hit Enter.
Alternate method 2:
STEP1. Disable as much as you can from your startup. Remove programs from your startup folder and such, so as not to lag down the boot process.
STEP2.Create a new shortcut on your desktop, point it to “C:\Windows\regedit.exe”
STEP3.Log off, then log back on.
STEP4.As soon as you see your desktop, double-click on the shortcut. The system does not check for policies until a few seconds after it booted up. If you click on the icon fast enough, it should let you get in.
After you close it though, it will not open unless you redo step 3 and 4.
Alternate method 3:
Get into the registry editor by making a vbs script in notepad:
Open Notepad and copy this script into it. And save it as regtool.vbs on your desktop.
VBS SCRIPT(select everything and copy into notepad and save as regtool.vbs):
Dim WSHShell, rr, rr2, MyBox, val, val2, ttl, toggle
Dim jobfunc, itemtype
On Error Resume Next
Set WSHShell = WScript.CreateObject("WScript.Shell")
val = "HKCU\Software\Microsoft\Windows\CurrentVersion\Policies\System\DisableRegistryTools"
val2 = "HKLM\Software\Microsoft\Windows\CurrentVersion\Policies\System\DisableRegistryTools"
itemtype = "REG_DWORD"
jobfunc = "Registry Editing Tools are now "
ttl = "Result"
'reads the registry key value.
rr = WSHShell.RegRead (val)
rr2 = WSHShell.RegRead (val2)
If (rr=1 or rr2=1) Then toggle=0
If toggle = 1 Then
WSHShell.RegWrite val, 1, itemtype
WSHShell.RegWrite val2, 1, itemtype
Mybox = MsgBox(jobfunc & "disabled.", 4096, ttl)
Mybox = MsgBox(jobfunc & "enabled.", 4096, ttl)
Open regtool.vbs ,and you should be able to access Registry Editor then.
I was installing drivers for a gamepad on my Windows 10 machine, and after the install I noticed that I was no longer able to use Task Manager, right clicking on taskbar, would show Task Manager line grayed out.
Trying to run it manually, through Run interface with Win+R, using taskmgr command would return a notice saying
“Task Manager has been disabled by your administrator”
Enable Task Manager through Local Group Policy editor (gpedit.msc)
To enable Task Manager again, you can use Local Group Policy editor (gpedit.msc).
Press Win+R to reach Run interface, and issue gpedit.msc command to start Local Group Policy editor.
Once you open Local Group Policy editor, navigate to:
User Configuration > Admistrative Templates > System > Ctrl+Alt+Del Options > Remove Task Manager.
By default this is set to Not Configured, and this should leave Task Manager enabled.
Setting was already on Not Configured on my machine, so I set it to Disabled, and this enabled back Task Manager on my machine.
Interestingly, once I returned the setting back to Not Configured, it did not disable Task Manager.
Enable Task Manager through Registry Editor (regedit)
Besides editing Local Group Policy, you should also be able to enable back Task Manager by editing Windows registry.
Open Registry Editor by pressing Win+R to launch Windows Run interface, and issue regedit command to open Registry Editor.
I had some problems with Cisco VPN client 5.0.07 today, when I would start it, it would just go straight to taskbar, the window would stay minimized and wouldn’t open when I click on it. The only way to open it was to hover with the mouse pointer over the taskbar and then right-click the pop up window and click ‘Maximize’. I little time on Google and I found the solution to the problem.
The problem can be fixed by editing the vpnclient.ini file inside the “C:\Program Files\Cisco Systems\VPN Client” folder as is stated in one of the answers on this page.
Edit the following lines (if you have numbers bigger then 42949 like 4294916329 just delete everything but the first five numbers, and leave 42949, that worked for me.):
You can put smaller numbers in the values it will work also.
On Microsoft Answers someone also said that the problem can be the values of (they were 0 in my case but it they are also high numbers change them to 0: