Link to home
Start Free TrialLog in
Avatar of ITCity
ITCity

asked on

system error 5 has occured Access is denied

I have a windows 2008 server with SQL 2008.  I have local system account abc which is able to start and stop the service "test" using the services console.  This service does not start automatically.  Dont know why.

I opened a command prompt and type:
net start test
as a result, I get access is denied.  I have also tried:
net start "test"
but i get the same results.

The account is part of local administrators group.  The account is also in the security group of the sql 2008.

How can i get the account to start using the command prompt and not get access is denied?
Avatar of Pavel Celba
Pavel Celba
Flag of Czechia image

This is a part of Windows security. You have to execute the Cmd window as administrator: Find out the cmd.exe, right click on it and select "Run as administrator". Then it should work for you.
Avatar of ITCity
ITCity

ASKER

Yes, I see that if I use that it works, but how can I change it so that I do not have to do that.  The user already is part of administrator.

Thanks
ASKER CERTIFIED SOLUTION
Avatar of Pavel Celba
Pavel Celba
Flag of Czechia image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial