Solved

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

Posted on 2010-08-15
15
4,220 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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
How our DevOps Teams Maximize Uptime

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us. Read the use case whitepaper.

 
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
 

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

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

OfficeMate Freezes on login or does not load after login credentials are input.
When you start your Windows 10 PC and got an "Operating system not found" error or just saw  "Auto repair for startup" or a blinking cursor with black screen. A loop for Auto repair will start but fix nothing.  You will be panic as there are no back…
This Micro Tutorial will give you a basic overview of Windows DVD Burner through its features and interface. This will be demonstrated using Windows 7 operating system.
The viewer will learn how to successfully create a multiboot device using the SARDU utility on Windows 7. Start the SARDU utility: Change the image directory to wherever you store your ISOs, this will prevent you from having 2 copies of an ISO wit…

730 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