Microsoft KB Archive/158398

= Automating Network Printer Setup =

Article ID: 158398

Article Last Modified on 2/22/2007

-

APPLIES TO


 * Microsoft Windows 2000 Server
 * Microsoft Windows 2000 Advanced Server
 * Microsoft Windows 2000 Professional Edition
 * Microsoft Windows NT Workstation 4.0 Developer Edition
 * Microsoft Windows NT Server 4.0 Standard Edition

-



This article was previously published under Q158398





SUMMARY
Unattended Setup is not designed to install printers. However with little effort, you can configure your environment to install a network printer when a user logs on to a computer running Windows NT or Windows 2000 for the first time.



MORE INFORMATION
Use the following steps to configure your environment to install a network printer when a user logs on to a computer running Windows NT or Windows 2000 for the first time:  Install and share the desired printer on the Windows NT or Windows 2000 server. To start System Policy Editor to create a profile, execute poledit from a Run dialog box:  From the File menu, click New Policy. Double-click Default Computer. Open System\Run. Put a check mark in the box next to the Run option.</li> Click the Show button.</li> Click the Add button.</li> Type a descriptive name for the item.</li> Add the UNC path pointing to the Windows NT 4.0 or Windows 2000 printer share.</li> Click OK 3 times.</li> From the File menu, click Save and save the file to Ntconfig.pol located in the folder used for the Netlogon share. For example:

\\<Servername>\Netlogon\Ntconfig.pol

NOTE: Ntconfig.pol must exist in the Netlogon share of all domain controllers. This may require manually copying the file to the correct location or setting up replication.

For additional information on configuring Windows NT for directory replication, please see the following article in the Microsoft Knowledge Base:

101602 Configuring Windows NT for Replication

</li></ol> </li></ol>

When a user first logs on, he or she will need to access the printer from the Run dialog box by entering the printer's share name. Clicking the Yes button will set up the printer. Each subsequent time the user logs on, a properties window for the printer will open. Although this window does not present any problems, it can be eliminated by removing the item from the Run option in the Ntconfig.pol file.

The above procedures can be modified to work in environments that are not organized by a domain. This modification would require enabling manual profiles. Refer to System Policy Editor Help for more information on Manual Updates.

Additional query words: profile Unattended Setup

Keywords: kbhowto kbnetwork kbprint kbsbk KB158398

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.