Configuring the BOOT.INI TIMEOUT value with CPS or UNATTEND

Last reviewed: July 3, 1996
Article ID: Q151180

The information in this article applies to:

  • Microsoft Windows NT Workstation versions 3.5 and 3.51
  • Microsoft Windows NT Server versions 3.5 and 3.51

SUMMARY

In some cases you may want to change the TIMEOUT value in the BOOT.INI from the default value of 30 seconds. There are two values that can be used that have a significant effect: 0 and -1. A value of 0 starts Windows NT immediately based on the DEFAULT variable in the BOOT.INI. A value of -1 disables the timer.

From within the UI of Control Panel / System, the range that can be used is 0 to 999 for the Operating System dialog box indicating the number of seconds. In an effort to set the value for all systems during setup you will have to modify the Initial.inf for normal installs of Windows NT or when using the /u unattended setup method. For Computer Profile Setup (CPS) you first have to upload the image using Uplodprf.exe from the Windows NT Resource Kit and modify the Profile.inf located in the SYSTEM32 directory of the image.

The following is an example of a BOOT.INI for a multiboot system:

[boot loader] timeout=30 default=multi(0)disk(0)rdisk(0)partition(1)\WINNT35 [operating systems] multi(0)disk(0)rdisk(0)partition(1)\WINNT35="NT 3.51" multi(0)disk(0)rdisk(0)partition(1)\WINNT="NT 3.51 [VGA mode]" /basevideo /sos C:\="MS-DOS"

MORE INFORMATION

Modify the Initial.inf variable ChangeBootIniTimeout as described below. The default value is 30 seconds. You may use the following -1-999 as valid values.

NOTE: This only works with unattended and attended installs of Windows NT.

[Install-IsValidNetName]

LibraryProcedure STATUS,$(!LIBHANDLE),NetNameCheck $(Name)

exit

[Install-SetBootIniTimeout]

; The original value is 30 seconds ; ChangeBootIniTimeout 30 ; The value has now been change to 90 seconds

ChangeBootIniTimeout 90 exit

[Install-ScreenSaver]

ReplaceIniKeyValue "Win.ini", DeskTop, ScreenSaveActive, 1

ReplaceIniKeyValue "Win.ini", DeskTop, SCRNSAVE.EXE, $(STF_WINDOWSSYSPATH)\log

To change the TIMEOUT value with CPS, the changes are done in the Profile.inf not the Initial.inf of the image. The default value is 30 seconds. You may use the following -1-999 as valid values.

Else

    ReplaceIniKeyValue "Win.ini", DeskTop,  Wallpaper, "lanmannt.bmp"
Endif exit
 [Install-SetBootIniTimeout]

; The original value is 30 seconds ; ChangeBootIniTimeout 30 ; The value has now been change to 90 seconds

ChangeBootIniTimeout 90 exit [SetAcls]

    Debug-Output "PROFILE.INF: SetAcls Entered"
    set Status = STATUS_FAILED
    set Convert_C     = $($0)
    set Convert_Winnt = $($1)


KBCategory: kbsetup
KBSubcategory: ntsetup ntdriver ntreskit ntsrvwkst
Additional reference words: prodnt 3.50 3.51


KBCategory: kbidea
KBSubcategory:
Additional reference words:


THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

Last reviewed: July 3, 1996
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.