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.
TeaPartysRockAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Lee W, MVPTechnology and Business Process AdvisorCommented:
Make sure you are running a command prompt as administrator - by default, command prompts do not run as administrator.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
TeaPartysRockAuthor Commented:
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?
0
Lee W, MVPTechnology and Business Process AdvisorCommented:
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.
0
Lee W, MVPTechnology and Business Process AdvisorCommented:
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
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Windows Server 2008

From novice to tech pro — start learning today.