Using an Answer File for an Unattended Installation

Article translations Article translations
Article ID: 136153 - View products that this article applies to.
This article was previously published under Q136153
Expand all | Collapse all


An answer file is a text file that is used in conjunction with Setup to bypass normal Setup prompts. An unattended installation is run by specifying the /U switch with Winnt.exe or Winnt32.exe. For example:
WINNT /U:{Answer File} /S:{Source Files}

Windows can use the answer files:
   Product                             Default Answer File
   Windows NT Resource Kit 3.5         Unattend.txt
   Windows NT Resource Kit 3.51        Unattend.txt
   Windows 2000 Resource Kit           Unattend.txt


The answer file can be modified with any text editor or by using Setup Manager, included in the Windows NT and Windows 2000 Resource Kit.

An answer file can also be created by using Uplodprf.exe.

Note: This answer file is included with the Resource Kit for versions of Windows NT 3.5, and 3.51.

Uplodprf.exe must be run from the system you intend to profile. UPLODPRF uses the following command line syntax:
   uplodprf -p:{AnswerFile} -b- -u- -n- -r- -x -i:{inffile}

   -p:AnswerFile  Output an answer file for use with unattended setup.

   -b-            The boot sector will not be copied (all other processing
                  is still performed.)

   -u-            Do not generate a user account definition file.

   -n-            Do not dump ACLs of files in the profile

   -r-            Do not dump the registry key ACLs

   -x             Do not copy files to sharedir.

   -i:inffile     INFFILE is the file containing the instructions for
                  processing the Windows NT computer for redistribution.

The following informational messages may result after running the above command. They can be ignored.
(5) Access is denied.
Unable to delete key HiveUpdateRoot from registry.
Timeout value in Boot.ini file has been set to 0.
Boot Sector was not copied from local drive.
No User account information dumped.
For a more complete explanation of uplodprf switches, type UPLODPRF /? at the Windows command prompt.


Article ID: 136153 - Last Review: February 20, 2007 - Revision: 2.2
  • Microsoft Windows 2000 Professional Edition
  • Microsoft Windows 2000 Datacenter Server
  • Microsoft Windows NT Workstation 3.5
  • Microsoft Windows NT Workstation 3.51
  • Microsoft Windows NT Workstation 4.0 Developer Edition
  • Microsoft Windows NT Server 3.51
  • Microsoft Windows NT Server 4.0 Standard Edition
kbsetup KB136153

Give Feedback


Contact us for more help

Contact us for more help
Connect with Answer Desk for expert help.
Get more support from