Steps to Fix Access Denied to gpedit.msc Problem
My PC was working all fine until I figured out that Group Policy gpedit.msc was not opening on my system. I wanted to open the Group Policy editor for some work and I was shocked to find that not only the gpedit.msc, even the other commands with msc extensions, were not working like services.msc, devmgmt.msc, compmgmt.msc etc.

Then I tried opening the editor by double clicking the gpedit.msc inside the system32 folder and I got the same error “Access is Denied”. What was strange was that I was accessing the editor from my Administrator account only.
I tried following things:
• The first suspect is, of course, Virus, thus I scanned my whole system with the updated Anti Virus but it didn’t find any.
• Then I scanned it with Windows Defender but it also didn’t find any malicious software.
• I rebooted the system and entered in the Safe Mode but the commands were not working in that either.
Solution:
Then I finally decided to run System Restore and restored the system to some safe state I created when the PC was working all fine (good practice to create a checkpoint when the system is fine, isn’t it). I was relieved when this solved my problem.
Note: Try to Restore the system to a restore point created long ago.
UPDATE 1
since the problems vary for different users, installing Microsoft Management Console 3.0 for Windows XP again (as suggested by one of our viewers) may also work for you.
UPDATE 2 (Best Solution Working):
After all the efforts to find out the solution, we have been able to find the solution to this problem (Thanks to our alert reader Dickens). I am describing the solution given by him and is working all fine (i have tested myself on my PC)
- Open Registry Editor (regedit.exe).
- Now traverse to HKEY_CLASSES_ROOT\.msc and delete the registry entry on the right side.
After deleting it when you again type gpedit.msc in Run box, it will open an “Open with” dialog.- Now select the second option and browse to get a new option; browse to C:\Windows\system32\mmc.exe
- A new option “Microsoft Management Console” will appear in the window.

- Select this option and remember to check the box below to always run the command without doing this again and again.
- That’s it, all .msc extensions will now open.
Any feedback?
So, if you came this far reading the post, you should already be convinced that you need to grab my RSS feed, right?
You May Also Like to Read
- Steps to Remove STOP 0xC000021A {Fatal System Error}
- 7 Features that you didn’t know about Windows XP –Part 1
- Steps to Backup Registry using regedit
- Steps to Remove regsvr.exe Virus
- Fix System Restore does not Open problem
- Steps to Copy Text from Image Easily
- Steps to Restore Missing Tabs in Display Properties
- Steps to remove Virus Alert that comes on system tray


November 4th, 2008 at 3:37 pm
Sorry!!!
Even after System restore .. Same error. Not able to open any MSC file “Access denied”
November 4th, 2008 at 6:51 pm
Hey man, this thing did work for me. So try to restore your PC to some safe point created long ago and also try out the update
November 5th, 2008 at 9:47 pm
I was also facing the same problem and as per my finding solution is to download “Microsoft Management Console 3.0 for Windows XP” and install it. Installing this mmc for winxp will allow accessing all *.msc snapin. This solution worked for me. let ke know if you get success.
Trilok Khanna
Email:trilokkhanna@rediffmail.com
November 5th, 2008 at 11:14 pm
i guess what u told should also work.
Thanks buddy for sharing the info with us!! I have updated the post again.
November 9th, 2008 at 11:19 am
1.) Clean any adware/malware
2.) Remove Registry Entry for .msc from
HKEY_CLASSES_ROOT\.msc
3.) Double click
Open with C:\WINDOWS\system32\mmc.exe
Enjoy
November 12th, 2008 at 6:07 pm
Thanks dickens for the solution. It worked for me also.
November 12th, 2008 at 7:43 pm
Guys do try the Update 2, it is working.
November 13th, 2008 at 2:29 am
I must admit I haven’t tried any of the above yet, but an identical issue I’m having led me to this page, I’ll check current ‘background’ settings and decide which is best for me…
BUT… I did find a ‘workaround’… Bizarre as it might seem running the msc (a shortcut on the desktop)with ‘Run as’, as THE SAME USER, with IDENTICAL credentials as logged into the PC allows it to run, no problems !!
I thought it might have stemmed from a Group Policy security setting, even though using ‘Run as’ seems to counter this view… The user is a member of several groups…
So, I’ll go through the solutions above and post back, but it would be interesting to know if anyone else has a similar problem and ‘workaround’ as myself…??
Regards…
November 14th, 2008 at 8:32 am
Hey its really great and thq for the tip
I was tryingt to do a system restore and it is not working and I was worrying since 2 days and it was a great step
thq again
Regards
Rajesh
November 14th, 2008 at 6:34 pm
I had the issue with a SBS 2003 and I did the registry key delete per Dickens and it worked perfectly.
Thank you so much.
November 15th, 2008 at 3:46 pm
how can i disable gpedit.msc because where using only one account only the administrator account so i want to disable the gpedit.msc with password so that i am the one can access the gpedit.msc. hope you will reply my message thanks.
renanrebucas@yahoo.com
November 15th, 2008 at 8:48 pm
You will need a software for that purpose, try this one
http://www.blumentals.net/protector/
November 18th, 2008 at 3:18 pm
hey man thks…its working..u r soo genius..thks
November 20th, 2008 at 4:37 am
Thanks for this great tip!
I did only the Update 2, and everything worked fine!
To Eic: Using RunAs is only a temporary solution, Update 2 should solve the problem itself.
Thanks again!
November 21st, 2008 at 1:56 pm
Thanks for the info, it really really helps me a lot.
November 24th, 2008 at 5:50 pm
Thanks ,this work for me
November 24th, 2008 at 10:37 pm
Followed update 2 and it resolved the problem. Thanks for the info.
November 25th, 2008 at 4:46 pm
Thank a lot this solution works
November 26th, 2008 at 12:10 pm
Thank you very Much it worked great for me
November 26th, 2008 at 9:00 pm
Thank you so much.I did update 2 and it worked.
November 26th, 2008 at 11:21 pm
This post is one of the Best I’ve read . Its of great help especially when it comes to dop changes in system 32 services. This post saved me from a big trouble. Thanks for it. Cheers
November 27th, 2008 at 1:50 pm
thanks…. the regedit stuff worked for me.
November 27th, 2008 at 3:52 pm
Thank you very much for the solution. I was facing very difficult to work without Terminal Service. Now, deleting the entry from registry has solved my issue. Once again, Thanks for the solution provided.
Deepak Mohan
December 1st, 2008 at 5:38 pm
Thanks for the solution, it worked! but I am curious to know the reason why .msc services are denied access.
December 1st, 2008 at 11:30 pm
There can be several reasons from virus infection, spyware modifications to changes done by some software in the registry. Well great to know that you are really interested to know the reason behind
December 4th, 2008 at 3:58 pm
Yes it is working, but In administrative Tools, icons of all elements (eg. dns icon ) has been changed. what to do to restore original icons.
December 4th, 2008 at 7:46 pm
change the icons manually by right clicking on it and selecting “change icon” option.
December 16th, 2008 at 8:47 am
works great!!! thank you oh so much!!
December 19th, 2008 at 4:44 pm
Hey , Frnd , Thnx a lot , I got hte access to gpedit.msc back.
Keep up the good work.
Bravo.
December 29th, 2008 at 12:08 pm
just do an “open with” on the msc file in explorer
chose mmc.exe program from windows/sytem 32
and that’s all
Bye
January 5th, 2009 at 5:17 pm
Excellent the solution resolved my problem, which was a similar one.
Thanks guys.
Bye.