'Run As' batch file.

G

Guest

Hello all,

Im looking toward creatni a batch file incorporating Run As so a user can
restart a service on one of our servers over the network. The restart of the
service is done but i need to incorporate 'Run As' into it. Any idea's?
 
J

Jerold Schulman

Hello all,

Im looking toward creatni a batch file incorporating Run As so a user can
restart a service on one of our servers over the network. The restart of the
service is done but i need to incorporate 'Run As' into it. Any idea's?


It would be much easier to just grant the user the ability to to stop and start the service.
See tip 4673 » How do I allow users to Start, Stop, and Pause a Windows 2000 / Windows XP Service?
in the 'Tips & Tricks' at http://www.jsifaq.com

If you still want RunAs, see:

tip 4410 » How do I enable and use the 'Run As' Command When Running Programs?

tip 9091 » LSRunAsE is a donationware RunAs utility with an encrypted password.





Jerold Schulman
Windows Server MVP
JSI, Inc.
http://www.jsiinc.com
http://www.jsifaq.com
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top