- Home
- Windows XP
- Error messages
- Error "Access is Denied " while selecting "Manage" from the My Computer context menu
Error "Access is Denied " while selecting "Manage" from the My Computer context menu
- Copyright © 2008 Ramesh Srinivasan
- Error messages
Symptom
When you right-click the My Computer icon in the Desktop and choose Manage, Computer Management console does not launch and the following error message may appear:
Access is denied

Resolution
See if you're able to invoke the Computer Management console by typing the following in Start, Run:
%windir%\system32\mmc.exe /s %windir%\system32\compmgmt.msc
Case 1: If the above command line works
The Manage sub-menu invokes the above command line. This means that the concerned registry value must be of type REG_EXPAND_SZ, and not REG_SZ or any other type. To fix the problem, apply the file manage.reg available at the bottom of this page. To apply the file, save the file to Desktop. Right-click the file and choose Merge.
Case 2: If the above command line does not work
If you receive the following error when you run the above command, then the problem occurs if the windir environment variable is missing. As a result %windir% variable cannot be resolved by your system.
Windows cannot find '%windir%\system32\mmc.exe'. Make sure you typed the name correctly, and then try again. To search for a file, click the Start button, and then click Search.
To fix the problem, use these steps:
- Login as Administrator or to an equivalent user account.
- Right-click My Computer, and then click Properties.
- Click the Advanced tab. Click Environment variables.
- Under System variables, click New to add a new variable.
- Type windir as the Variable name.
- Type C:\Windows as the variable value. (see note below)
- Click OK, OK to close the dialog.

Page was last modified on Nov 15, 2006
Attachments
If you enjoyed this post, make sure you
subscribe to our RSS feed!
We feature Tips, Troubleshooting information, Scripts and Utilities for Microsoft Windows Operating Systems!
Prefer an E-mail subscription?
16 Responses to "Error "Access is Denied " while selecting "Manage" from the My Computer context menu" 
|
said this on 21 Aug 2006 4:11:19 PM PDT
Sorry, still has the same error. And my registry values were already as suggested above. I have two WinXP boxes that do this...
|
|
said this on 19 Oct 2006 7:40:30 AM PDT
Your windir environment variable is missing. Go to Control panel > System > advanced and click "environment variables". Under system variables make sire "windir" is there and is pointed to "C:\windows" (or wherever your windows folder is). This is what fixed it for me.
|
|
said this on 13 Nov 2006 11:31:54 PM PDT
Thank you, John. I tried to merge the manage.reg file but to no avail. When I went to modify the environment variables, they were listed as C:\WINDOWS but when I went to edit them, edit system variable was %SystemRoot% and variable name was windir. I changed edit system variable to C:\WINDOWS and that did the trick. Everything works great!!! It even fixed my FSX font problem!!! -whole different story
Thank you again!!!
|
|
said this on 16 Nov 2006 10:51:20 PM PDT
Beautiful! Yes- changing the value of the windir environment variable from %SystemRoot% to C:\WINDOWS worked for me too. Go figure. I'd say it's a bug in Windows... can anyone confirm this?
|
|
said this on 20 Nov 2006 6:47:33 AM PDT
Fixing the windir to "C:\Windows" fixed the problem - Thanks.
|
|
said this on 22 Nov 2006 4:52:59 PM PDT
Thanks it works. The manage command work from the control panel administrative tools and from command line but not from right click my computer desktop icon
And I try from Environment Variables WINDIR=C:\WINDOWS. In one second restore the Manage command access denied error.
|
|
said this on 04 Jan 2007 9:45:52 AM PDT
Thanks a million, as this saved my ass in a big way.
|
|
said this on 25 Feb 2007 12:07:52 PM PDT
Bless your sweet heart! Case 2 got me going again, and avoided a complete reloading of windows for me, saving a day's effort!
|
|
said this on 06 Jul 2007 2:36:44 AM PDT
The first solution does not work and right click on my comuter and manage still not working
|
|
said this on 18 Aug 2007 6:48:53 PM PDT
the environment new
windir
c:Windows
worked for me too!
very good! worked over 3 hours to find the answer.
|
|
said this on 05 Dec 2007 11:35:22 AM PDT
Great article Yes the %SystemRoot% caused the problem, I changed that to C:WINDOWS and that fixed the problem.
Thanks guys
|
|
said this on 15 Mar 2008 1:48:36 AM PDT
thanks a lot...now i can work in peace...
|
|
said this on 08 May 2008 6:01:26 AM PDT
Its better to add a new variable, that is holds the SystemRoot setting, because some other programs may look for this, and this may cause errors also while it is missing!
Press NEW, write to the name SystemRoot , then write to the variable your system root dir, c:\windows for example. So you dont have to change the windir setting, this one is fixes the problems around this issue!
|

Author)