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.


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.


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.

Download MMC

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?

65 Replies to “Steps to Fix Access Denied to gpedit.msc Problem”

  1. To resolve this behavior, add the %SystemRoot%\System32\WBEM folder to your PATH environment variable. To do so, follow these steps:

    1. Right-click My Computer, and then click Properties.
    2. On the Advanced tab, click Environment Variables.
    3. Under System Variables double-click the PATH environment variable.
    4. Type:
    Note If other system variables appear, do not remove them.
    5. Click OK, and then click OK.



  2. hi to all.can any noe help me.i have to install software ‘lock my folder’ and locked my my folder.but i want to open that folder the error displaying is access is denied. please help can i break that password or how can i open my folder.

  3. The given solution worked for me and my SAPMMC.MSC is openning now just after deleting its entry in registry edit.


  4. when I try to add mmc.exe it doesnt show on the open with list … any help… anyway great guide :]]

  5. If your gpedit.msc is restricted by administrator but you are administrator, and no other programs in your computer not run and say contact your administrator! So, I have an idea to access your gpedit.msc without any Format or System restore.

    1. Create an another administrator A/C, Turn on Guest A/C, Create a Standard user A/C.

    2. After that you go to RUN box and type ‘regedit’, ‘gpedit.msc’ or ‘services’.

    3. If the pocily editor can not open. Don’t worry try to another A/C which are you create before.

    4. Then you can see Your gpedit.msc can open in your 4 Users A/C.

    5. Go to ‘gpedit.msc’>User Configuration>Administrative Templates>System>click on “Run only specified Windows Applications.

    6. Click the not configure radio button.

    7. Log out & Log In.

    If you follow my instructions, I think your problem will be solve. Because, I was faced same problem and I recovered this problem by my brain.

Leave a Reply