Registrations are now open. Join us today!
There is still a lot of work to do on the wiki yet! More information about editing can be found here.
Already have an account?

Microsoft KB Archive/171782

From BetaArchive Wiki
Knowledge Base

INFO: How to Map a Network Drive During an Unattended Setup

Article ID: 171782

Article Last Modified on 11/1/2006


  • Microsoft Windows NT Workstation 4.0 Developer Edition
  • Microsoft Windows NT Server 4.0 Standard Edition

This article was previously published under Q171782


During an unattended setup of Windows NT 4.0, it may be beneficial to map a network drive in the of middle setup. Mapping drives during setup allows you to load balance your servers, have your distribution share on one server, and an application share on another.


An entry in the Cmdlines.txt will be used to map a drive during setup. This is possible because Cmdlines.txt is run after Machine Name is set and the Network is started.

   ".\net use s: \\server\share /user:Domainname\Username /persistent:no"
   "s:\internet\msie30.exe /Q /R:N"
   "s:\sp\update -u -z -n"

NOTE: Use the /user: parameter because Windows NT setup is run using the System Account, which does not have a user account associated with it.

NOTE: Use /user:Domainname\Username Password - if the username has a password associated with it.

The /persistent parameter is used to ensure that the drive letter is not automatically reconnected when logging on. It is best to force a static drive letter than use a dynamic letter, which, by default, picks the next available drive letter. In the above example, it is assumed that an Internet Explore package has been built with the Internet Admin Kit and has been place on the distribution server in a directory called Internet.

Depending on the rollout of Windows NT 4.0, it may be beneficial to enable the Guest Account on the Application Share, and connect with a /user:Domainname\Guest. This will ensure that, if a computer can get on the network, but cannot be validated by a domain controller, setup can still be completed.

For additional information, please see the following article in the Microsoft Knowledge Base:

168814 Installing NT 4.0 Service Packs During Unattended Installation

For additional information on Windows NT 4.0 deployment and unattended installation consult the Microsoft Knowledge Base at:

and download the Windows NT 4.0 Deployment Guide from:

NOTE: The deployment guide is valid for both Windows NT Workstation and Windows NT Server.

Additional query words: Unattended Setup

Keywords: kbinfo kbsbk kbsetup KB171782