Solved

Delete specific printers using con2prt in logon script

Posted on 2006-07-19
2
1,142 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
2 Comments
 
LVL 83

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

What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

Question has a verified solution.

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

Enterprise networks where VoIP phones have been deployed frequently use port configurations that allow both a computer and an IP phone to be plugged into the same switch port but use different VLANs. On Cisco equipment I'm referring to the "native V…
Many of us in IT utilize a combination of roaming profiles and folder redirection to ensure user information carries over from one workstation to another; in my environment, it was to enable virtualization without needing a separate desktop for each…
This video shows how to use Hyena, from SystemTools Software, to bulk import 100 user accounts from an external text file. View in 1080p for best video quality.
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…

809 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