Access to the registry key 'Global' is denied

iis, registry, windows-server-2003

Solution

You have to add the user that your `DefaultAppPool` is configured to use. Check the `Identity` of your `DefaultAppPool` and add that to the `Performance Monitor Users` group.

Now, I can't say that correctly adding the user to the group will fix your real issue. I am getting the same error with performance counters even through my app pool users have been added to this group.

Problem

While giving permissions to the 'defaultAppPool' user I am getting the message 'There is no such global user or group: DefaultAppPool.' Can anyone help me here! However, using command 'net localgroup "Performance Monitor Users" DefaultAppPool /add' I am able to resolve the error but i am facing this problem in Windows Server 2003/IIS 6.0. Here, I am always prompted as 'There is no such global user or group: DefaultAppPool.' I have also added the 'Network Service' but no avail.

Original source