Shortcut to restart service

Caporegime
Joined
21 Apr 2004
Posts
33,229
Location
Bristol
Hi,

I need to make an icon someone can double click to restart a service - what is it called to achive this?
 
yeah

sorry

say it's the spooler (printing)


open notepad..

net stop spooler
net start spooler

save that as "printer fixer.bat" (not .bat.txt)

to find the service name (to replace 'spooler') go into services.msc, double click the service, and note the 'service name'
 
Back
Top Bottom