Jump to content

Recommended Posts

Posted

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

Posted (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 by mac_shinobi
  • Thanks 2
Posted

Something along these lines:

 

net stop spooler

rmdir /s /q "c:\windows\system32\spool\drivers\w32x86 folder"

net start spooler

  • Thanks 2
Posted (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 by round2it

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 account

Sign in

Already have an account? Sign in here.

Sign In Now



×
×
  • Create New...