Solved

system error 5 has occured Access is denied

Posted on 2009-07-01
3
1,158 Views
Last Modified: 2012-05-07
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?
0
Comment
Question by:ITCity
  • 2
3 Comments
 
LVL 41

Expert Comment

by:pcelba
ID: 24761928
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.
0
 

Author Comment

by:ITCity
ID: 24762976
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
0
 
LVL 41

Accepted Solution

by:
pcelba earned 500 total points
ID: 24763617
You can switch the UAC off. But it is not recommended due to the security reasons.

To view settings: Control panel - Security - Security center - Other security settings - User Accounts Control

To change settings: Control panel - User Accounts - Turn User Account Control on or off

(hope it same for Vista nad W2008)
0

Featured Post

Enterprise Mobility and BYOD For Dummies

Like “For Dummies” books, you can read this in whatever order you choose and learn about mobility and BYOD; and how to put a competitive mobile infrastructure in place. Developed for SMBs and large enterprises alike, you will find helpful use cases, planning, and implementation.

Question has a verified solution.

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

Sometimes a user will call me frantically, explaining that something has gone wrong and they have tried everything (read - they have messed it up more and now need someone to clean up) and it still does no good, can I help them?!  Usually the standa…
This article explains how to reset the password of the sa account on a Microsoft SQL Server.  The steps in this article work in SQL 2005, 2008, 2008 R2, 2012, 2014 and 2016.
This is used to tweak the memory usage for your computer, it is used for servers more so than workstations but just be careful editing registry settings as it may cause irreversible results. I hold no responsibility for anything you do to the regist…
Hi friends,  in this video  I'll show you how new windows 10 user can learn the using of windows 10. Thank you.

773 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