When you open the Windows Firewall with Advanced Security snap-in in Windows 7, the following error may be displayed and the snap-in loads up blank:
There was an error opening the Windows Firewall with Advanced Security snap-in
You do not have the correct permissions to open the Windows Firewall with Advanced Security console. You must be a member of the Administrators group or the Network Operators group to perform this task. For more information, contact your system administrator. Error code: 0x5.

This has to do with the permissions pertaining to the Windows Firewall registry key (SharedAccess), and here is what I did to fix the error:
Click Start, type Regedit.exe and press {ENTER}
Navigate to the following branch:
Right-click FirewallPolicy, and click Permissions…

Click Add…

Type NT Service\MpsSvc and click OK.

Select MpsSvc, and click the Advanced button

Double-click the MpsSvc permission entry

Assign Query Value, Set Value, Create Subkey and Enumerate Subkeys Permissions by ticking the appropriate checkboxes.
Click OK, then OK, OK in the resulting dialog boxes.
See if you’re able to open Windows Firewall with Advanced Security MMC snap-in now.
Well! I could, after completing the above steps.

Related Posts
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?



Thank you very much, it worked Great, I was having a issue disabling the firewall and add exceptions now I can do Both!
Thanks. WORKS FINE..:Thanks Thanks Thanks Thanks Thanks Thanks Thanks Thanks Thanks Thanks. You Save Me.
I’ve had to allow full control to MpsSvc, i really dont know what that does but that solved it
nothing else worked except this !! even shit from microsoft
thanks a bundle !