Run script to start service as administrator

Viewed 46

I am trying to run batch file that has to start a service as administrator (because users has no admin rights).

I am using the code below in batch but it's not working:

runas  /user:clvr-eset-test\administrator /savedcred cmd            
net start EraAgentSvc

I need to start this service automatically on non admin user

0 Answers
Related