Link to home
Start Free TrialLog in
Avatar of TeaPartysRock
TeaPartysRock

asked on

Server 2008r2, access denied when trying to start a service using net start

Server 2008r2, access denied when trying to start a service using net start. Works fine from services gui.
ASKER CERTIFIED SOLUTION
Avatar of Lee W, MVP
Lee W, MVP
Flag of United States of America 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
Avatar of TeaPartysRock
TeaPartysRock

ASKER

Thanks for the quick response. I tried cmd prompt as admin as you suggested. It did let me start service. I'm trying to start services via Backup Exec post command script. It is failing so I tried locally on the server. I am admin on box, so was confused why it would fail. I'm new to 2008. Any ideas on running script from Backup Exec server?
Sorry, as it pertains to Backup Exec, I don't know what to tell you.  I would suggest either a new question in the Backup Exec zone and/or a call to Symantec.

(Actually, you MIGHT be able to turn UAC off on the server - but I would REALLY ADVISE AGAINST THIS)

What are you trying to stop/backup?

Perhaps an alternative workaround in which you create a scheduled task that kicks off a few minutes before your backup and then runs again a few minutes after it should have ended?  Or maybe Backup Exec can have the particular job kicked off from the command line - in which case, a batch file could work as a scheduled task.  Another option might be to use SC and/or PSEXEC in an effort to elevate the privilages for the NET STOP or SC STOP commands.
I object.

The asker acknowledged that my solution worked - THEN added this needed to be done involving third party software.  A response was promptly posted and the asker failed to continue to participate in his own question.

Thus, the question that was asked was correctly answered.

-Lee