Delete specific printers using con2prt in logon script
Posted on 2006-07-19
I'm using con2prt.exe to set printers for users based on the computer location in a logon script (we use roaming profiles).
I need to delete all the NETWORK printers first then reset the correct ones. I need to keep any the local printer from deleting.
If I use "CON2PRT /f " to delete printers, does that only delete all the NETWORK printers, or ALL printers.
If it deletes ALL printers, can I use just add "delete" or "del" to the front of this command to delete specific Printers? Or what is the syntax?
CON2PRT /c \\PrintServer\PrintShare