Notice: This website is an unofficial Microsoft Knowledge Base (hereinafter KB) archive and is intended to provide a reliable access to deleted content from Microsoft KB. All KB articles are owned by Microsoft Corporation. Read full disclaimer for more details.

"Access Denied" Error Message When Trying to Start a Service in Windows 2000


View products that this article applies to.

Symptoms

After you configure a group policy to set permissions on a service, the service in Control Panel may not function properly. If you try to open the service properties, you may receive the following error message:
Unable to open service DNS Server for reading on Local Computer.
Error 5: Access is Denied.
In addition, if you type net start "service" at the command line, you may receive the following error message:
System Error 5 has occurred

Access is Denied

↑ Back to the top


Cause

This behavior occurs because you need the following permissions to open the properties of a service, and to stop, start, or pause a service:
  • Read
  • Stop, Start, and Pause
NOTE: This is also true when using net commands at the command line.

↑ Back to the top


Resolution

To resolve this issue, reapply the policy and give the user the correct permissions.

For additional information about how to apply a system service security policy correctly, click the article number below to view the article in the Microsoft Knowledge Base:

256345 Configuring Group Policies to Set Security for System Services

↑ Back to the top


Status

Microsoft has confirmed this to be a problem in Microsoft Windows 2000.

↑ Back to the top


More information

When you add a user through Group Policy Editor in the System Service Security Policy, the default permissions are start, stop, and pause.

If you are unable to change permissions through a policy because the policy is not applied, see the following Microsoft Knowledge Base article:

257247 Policy Changing System Service Permissions Does Not Apply

↑ Back to the top


Keywords: kbbug, kberrmsg, kbpending, KB256299

↑ Back to the top

Article Info
Article ID : 256299
Revision : 7
Created on : 2/28/2007
Published on : 2/28/2007
Exists online : False
Views : 349