Non Admin Start/Stop windows Service

HI,

What is the best practice to allow an non admin user to start/stop a service on a remote server?

Also what is the best way of achieving this? Bat file or an VBS script file?

Regards,
jwc1972Asked:
Who is Participating?
 
QlemoConnect With a Mentor DeveloperCommented:
Best way IMO is to grant that specific user the appropriate privileges for the specific service. You'll need subinacl for that (http://www.microsoft.com/en-us/download/details.aspx?id=23510).
 subinacl /service \\server\service /grant=MyDomain\ThatUser=TO
to only allow sTart and stOp of "service" on machine "server".
0
 
RobSampsonCommented:
That looks like it should work, and then your user would probably run a batch file with this in it
sc \\SERVER stop servicename
sc \\SERVER start servicename

Rob.
0
All Courses

From novice to tech pro — start learning today.