Scripts Thread, Script to stop service, remove files, restart service? in Coding and Web Development; Hello. We've been having some trouble with a printer driver and wondered if there's anyone here who could write a ...
27th January 2014, 11:18 AM #1
Script to stop service, remove files, restart service?
Hello. We've been having some trouble with a printer driver and wondered if there's anyone here who could write a script that would:
1- Stop the printer spool service
2- Remove a set of .dll files
3- Start the print spool service
It must be simple to do this? It would need to be able to run at login using GPO and AD.
27th January 2014, 12:02 PM #2
Alternatively you might be able to do it from GPP, but getting the timings right might be an issue.
net stop "Print Spooler"
net start "Print Spooler"
Thanks to Domino from:
marsdenprimary (27th January 2014)
By cneilson6 in forum Windows Server 2008 R2
Last Post: 27th November 2012, 02:40 PM
By nickb23 in forum Windows
Last Post: 29th March 2012, 10:49 AM
By mmoseley in forum Scripts
Last Post: 7th March 2012, 09:33 PM
By timethrow in forum Scripts
Last Post: 6th January 2012, 10:18 AM
By tri_94 in forum Scripts
Last Post: 18th October 2011, 01:45 PM
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Tags for this Thread