I was trying to run Resultant Set of Policy and would get the following error. This was a Citrix server running on Windows 2003 SP2 (32-bit).
ERROR: Access Denied.
I was running it as a user to do some troubleshooting, however, I got the same error running it as a Domain Admin… and that, my friends, is dumb. I was able to resolve this issue by running the following from a Command Prompt on the server.
cd /d %windir%\system32
regsvr32 /n /I userenv.dll
cd wbem
mofcomp scersop.mof
Now give it a shot!
gpupdate /force
gpresult