
NOTE: This command only runs on a Windows 2000-based or Windows Server 2003-based computer against a Windows 2000, Windows Server 2003, or a Windows NT 4.0 server or workstation. The following examples list the most typical uses for the command.

In addition, these commands can be run from an administrator's workstation or from a server so that the printers are push-installed to the client computers without having to go to the actual computer. Because the login script runs on the client computer, a Windows NT 4.0 client is unable to process the command. NOTE: Using this command in a login script or a client-launched batch file requires the client computer to be running Windows 2000 or Windows Server 2003. The result is that an administrator can control all aspects of a user's ability to print by having users run a batch file or logon script. You can also modify and delete local printers using Windows 2000. This is particularly useful when you add or remove a printer from a group of users using a login script or a scheduled event.Īlthough Microsoft Windows NT 4.0 Zero Administration Kit (ZAK) contains tools such as Con2prt.exe, the Con2prt.exe tool provides the ability to add or delete only network printers.

Windows 2000 and Windows Server 2003 provide the ability to install a printer using a command line. How to add printers with no user interaction in Windowsįor a Microsoft Windows XP version of this article, see 314486.
