Solved

Delete specific printers using con2prt in logon script

Posted on 2006-07-19
2
1,147 Views
Last Modified: 2008-02-26
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
Comment
Question by:NetSue
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 84

Accepted Solution

by:
oBdA earned 125 total points
ID: 17141150
con2prt will only handle network printers, so, yes, you can use it without problems and without deleting your local printers.
0
 

Author Comment

by:NetSue
ID: 17141194
Great!  Thanks.
0

Featured Post

NFR key for Veeam Backup for Microsoft Office 365

Veeam is happy to provide a free NFR license (for 1 year, up to 10 users). This license allows for the non‑production use of Veeam Backup for Microsoft Office 365 in your home lab without any feature limitations.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

A common practice in small networks is making file sharing easy which works extremely well when intra-network security is not an issue. In essence, everyone, that is "Everyone", is given access to all of the shared files - often the entire C: drive …
The Need In an Active Directory enviroment, the PDC emulator provide time synchronization for the domain. This is important since Active Directory uses Kerberos for authentication.  By default, if the time difference between systems is off by more …
I've attached the XLSM Excel spreadsheet I used in the video and also text files containing the macros used below. https://filedb.experts-exchange.com/incoming/2017/03_w12/1151775/Permutations.txt https://filedb.experts-exchange.com/incoming/201…

739 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question