Sometimes Windows services in companies are used for important things, and they could stop responding, meaning critical production tasks stops being executed or the Windows print Spooler service may hang, thus they need to be restarted.
Here you can see, how you can give a “normal” user the privileges for doing just that, and nothing else.
Download the subinacl.exe from the WIndows ressource kit fro mthe Web Achive, as it’s not avail anymore:
or download as zip from my blog here: subinacl.zip
Then run as elevated prompt and change to the directory, where the msi has been installaed to:
“C:\Program Files (x86)\Windows Resource Kits\Tools\”
Type:
subinacl.exe /service Spooler /grant=domain\jt=PTO
Here the access has been granted to the user domain\jt.
=PTO means this:
Now the user can start “Service manager” and connect to the server where you set this and start/stop pause this one service