D
David Kerber
Running Win2K Server.
I want to be able to start and stop services from a batch (.cmd) file,
without having to logoff as the normal user and log back on as
administrator. I know I can start the services control panel as the
administrator and start and stop services manually, but I really want to
do this from a command line.
Unfortunately, the NET START/STOP command doesn't seem to have any kind
of user ID/password option to specify a user which has permissions to
start and stop services. I also don't want to give the normal user
login permissions to start and stop services.
The reasons I want to do it this way are rather long-winded, so I won't
go into them here, but could if necessary to get the answer I need.
I want to be able to start and stop services from a batch (.cmd) file,
without having to logoff as the normal user and log back on as
administrator. I know I can start the services control panel as the
administrator and start and stop services manually, but I really want to
do this from a command line.
Unfortunately, the NET START/STOP command doesn't seem to have any kind
of user ID/password option to specify a user which has permissions to
start and stop services. I also don't want to give the normal user
login permissions to start and stop services.
The reasons I want to do it this way are rather long-winded, so I won't
go into them here, but could if necessary to get the answer I need.