• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1159
  • Last Modified:

Delete specific printers using con2prt in logon script

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

Thanks.

0
NetSue
Asked:
NetSue
1 Solution
 
oBdACommented:
con2prt will only handle network printers, so, yes, you can use it without problems and without deleting your local printers.
0
 
NetSueAuthor Commented:
Great!  Thanks.
0

Featured Post

Get your problem seen by more experts

Be seen. Boost your question’s priority for more expert views and faster solutions

Tackle projects and never again get stuck behind a technical roadblock.
Join Now