round2it Posted April 23, 2013 Posted April 23, 2013 hi people could someone give me the correct command that i can run as a startup script that will delete the following folder c:\windows\system32\spool\drivers\w32x86 folder the reason being we have introduced some mfds with papercut and at randowm points on random machines the printjobs are not being sent to papercut but they are just sitting on the machine. the only way to repair the fault is to delete the above folders contents and reboot. we are using the toshiba universal driver 2 as i said it is random and i dont know if its a network connectivity issue at the moment as our switches are not the best in the world nothing in the event viewer to indicate that the correct driver is failing to load but what happens is a strange cut down version of the driver appears when staff send things to print. this only affects windows 7 at the moment but i need to get this sorted asap as i dont want the staff to loose faith in the new printing system i am looking at the power saving options of the machines to see if that is affecting thisngs in some way. i just cant remember the correct switches to do this as a batch file. Thanks in advance
sted Posted April 23, 2013 Posted April 23, 2013 im not sure you can while the spooler service is running 1
plexer Posted April 23, 2013 Posted April 23, 2013 If the above is true then a batch file to do a net stop spooler del .......\filename net start spooler ??? Ben 2
mac_shinobi Posted April 23, 2013 Posted April 23, 2013 (edited) net stop Spooler RD "c:\windows\system32\spool\drivers\w32x86" /S /Q net start Spooler Not tested the RD Command but going by the help that should delete the directory and any sub directories and not prompt to remove the directories or sub directories. Not sure if you need the quotes around the path but did that anyway, think it is only when there are spaces in the path that you need quote marks around the path Edited April 23, 2013 by mac_shinobi 2
Chaddy Posted April 23, 2013 Posted April 23, 2013 Something along these lines: net stop spooler rmdir /s /q "c:\windows\system32\spool\drivers\w32x86 folder" net start spooler 2
round2it Posted April 23, 2013 Author Posted April 23, 2013 (edited) Code: net stop Spooler RD "c:\windows\system32\spool\drivers\w32x86" /S /Q net start Spooler That's working great. Lets hope it fixes my problems. Thanks to all who helped. Rep given Edited April 23, 2013 by round2it
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now