Error DataBase-One Place all Solutions Forums Blog Glossary    Contact Us
Search  
   
Browse by Category
Error DataBase-One Place all Solutions .: Operating Systems .: Windows Operating Systems .: MS DOS .: How to Connect or disconnect a Printer using CON2PRT.exe (Zero Admin Kit)

How to Connect or disconnect a Printer using CON2PRT.exe (Zero Admin Kit)

Add a network printer to the Control Panel - Printers folder, and/or Disconnect a printer.

All commands issued using this utility will affect only the user currently logged in. Con2prt is therefore ideal for managing NETWORK printer connections when used in a login script.

Syntax 
      CON2PRT /f
      CON2PRT /c \\PrintServer\PrintShare
      CON2PRT /cd \\PrintServer\PrintShare

Key
       /f  - remove all network printer connections
       /c  - connect to \\PrintServer\PrintShare
       /cd - connect to and set PrintShare as the default printer       

Several switches can be combined in one command line. So you can remove all connections before adding new ones all in one command, you can only specify one default printer.


How helpful was this article to you?

Related Articles

article How to troubleshoot =Citrix ICA Printer Autocreation
Summary This document describes...

(No rating)  4-20-2008    Views: 312   
article Multiple Instances of Cpviewer.exe Opened when Printing with the Citrix Universal Printer
Symptoms When printing a Microsoft Excel...

(No rating)  4-21-2008    Views: 276   
article VBScript to Change Admin Password on AD Computers
The password is statically set in the...

(No rating)  5-2-2008    Views: 131   

User Comments

Add Comment
No comments have been posted.