Solved

Windows 7 services fail to start with "Error 5: Access is denied"

Posted on 2010-08-15
15
3,958 Views
Last Modified: 2013-12-19
My internet related services won't start (DHCP, Diagnostic Policy, etc), and I get access denied.  I tried adding permissions in regedit under HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services and below, but still get the access error.  Any ideas?
0
Comment
Question by:UserCruzer
  • 8
  • 4
  • 2
  • +1
15 Comments
 
LVL 3

Accepted Solution

by:
bfaruque earned 167 total points
ID: 33443085

Do u have administrative rights on your computer? Check the below links for solution-

See http://support.microsoft.com/kb/943996/en-us

and

http://5secondnews.com/2010/06/17/windows-7-services-failing-to-start-last-resort/
0
 
LVL 10

Expert Comment

by:Bawer
ID: 33443190
CHeck for the account setting defined in the services menu, change it to admin account and check..
0
 

Author Comment

by:UserCruzer
ID: 33443202
bfaruque, thanks for those links, I am trying it, but so far no luck.  
bawer, I don't understand what you mean by the services menu.  Where is that?
0
 
LVL 10

Assisted Solution

by:Bawer
Bawer earned 167 total points
ID: 33443322
open serives.msc , right click on the service which is not getting started, and go to properties, on logon tab provide the credentials of Administrators
0
 

Author Comment

by:UserCruzer
ID: 33443377
bawer, thanks, but not sure what you mean by "the credentials of Administrators". When I enter administrator for the logon account, i get "the account specified for this service is different from the account specified for other services running in the same process".  When I use "LOCAL SERVICE", I get "access denied".  Don't know what else to try.
0
 

Author Comment

by:UserCruzer
ID: 33443405
I think LOCAL SERVICE is what it should be, but what is the password for that?
0
 
LVL 10

Expert Comment

by:Bawer
ID: 33443430
Don;t use Local system account..,

Use "this account option"  there provide user name and password of administrator and check if service is getting initiated or not ?
0
Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

 

Author Comment

by:UserCruzer
ID: 33443481
I did use "this account" and entered name and password of administrator and got "the account specified for this service is different from the account specified for other services running in the same process".  I notice all other services are using "local service" or "local system" as logon account, not administrator.
0
 
LVL 10

Expert Comment

by:Bawer
ID: 33443562
its not necessary to look on the others. If your problem is getting solved with different account no problem to use it..
0
 

Author Comment

by:UserCruzer
ID: 33443590
Did not get solved :(
0
 
LVL 3

Expert Comment

by:csalaski
ID: 33445405
Even though you see asterisks in the password field, there are no passwords on the Local Service account. If you try to input any, it is ignored. http://msdn.microsoft.com/en-us/library/ms684188%28VS.85%29.aspx

There's a description of someone trying to do something similar to yours and it also uses the Local Service account. It seems to work for him.  http://www.itnewsgroups.net/group/microsoft.public.windows.server.general/topic28237.aspx

For more detailed info on Service Security and Access Rights, go to http://msdn.microsoft.com/en-us/library/ms685981%28v=VS.85%29.aspx
0
 

Author Comment

by:UserCruzer
ID: 33446676
For Diagnostic Policy Service, I tried the logon account LOCAL SERVICE with and without a password, still get "Error 5: Access denied".  In regedit, for the DPS key I gave LOCAL SERVICE Full Control and Read, and gave DPS\Parameters LOCAL SERVICE Full Control and Read as well as TrustedInstaller Full Control and Read (mentioned as a fix in some article).  Still get access denied when starting the service.  I additionally tried changing the owner of those keys to LOCAL SERVICE.  Still get access denied.  This sux
0
 
LVL 3

Assisted Solution

by:csalaski
csalaski earned 166 total points
ID: 33449946
Permissions doesn't seem to be working.

From an administratively enabled cmd prompt, Run sfc.exe  http://support.microsoft.com/kb/929833

Then try again to use the local service account to start the services via services.msc

If that still fails, a system restore to a time before the error occurred may be in order.
0
 

Author Comment

by:UserCruzer
ID: 33449995
I've moved on to a system restore.  Thanks to all who responded, will divide points.
0
 

Author Closing Comment

by:UserCruzer
ID: 33450019
All comments helpful in learning, but ultimately I rebuilt the system due to time limitation.
0

Featured Post

Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
issue installing SQL SERVER 2012 express on windows 7 9 42
copying drivers in MDT 7 30
How to open a zip file 4 62
Windows 7 Desktop very slow 13 38
Trying to figure out group policy inheritance and which settings apply where can be a chore.  Here's a very simple summary I've written which might help.  Keep in mind, this is just a high-level conceptual overview where I try to avoid getting bogge…
By default the complete memory dump option is disabled in windows . If we want to enable the complete memory dump for a diagnostic purpose, we have a solution for it. here we are using the registry method to enable this.
This Micro Tutorial will teach you how to the overview of Microsoft Security Essentials. This is a free anti-virus software that guards your PC against viruses, spyware, worms, and other malicious software. This will be demonstrated using Windows…
This Micro Tutorial will give you a introduction in two parts how to utilize Windows Live Movie Maker to its maximum editing capability. This will be demonstrated using Windows Live Movie Maker on Windows 7 operating system.

867 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now