Microsoft KB Archive/323427

= How to manually edit the Boot.ini file in a Windows Server 2003 environment =

Article ID: 323427

Article Last Modified on 12/3/2007

-

APPLIES TO


 * Microsoft Windows Server 2003, Datacenter Edition (32-bit x86)
 * Microsoft Windows Server 2003, Enterprise Edition (32-bit x86)
 * Microsoft Windows Server 2003, Standard Edition (32-bit x86)
 * Microsoft Windows Server 2003, Web Edition
 * Microsoft Windows Server 2003, 64-Bit Datacenter Edition
 * Microsoft Windows Server 2003, Enterprise x64 Edition
 * Microsoft Windows Small Business Server 2003 Standard Edition
 * Microsoft Windows Small Business Server 2003 Premium Edition

-



This article was previously published under Q323427



For a Microsoft Windows 2000 version of this article, see 311578.

IN THIS TASK

 * SUMMARY
 * Modify Folder Options
 * Save a Backup Copy of the Boot.ini File
 * Sample Boot.ini File
 * Edit the Boot.ini File
 * Remove an Operating System from the Menu
 * Modify the Operating System Menu Order
 * Modify the Default Operating System
 * Modify the Time-out
 * Troubleshooting



SUMMARY
This step-by-step article describes how to manually edit the Boot.ini file in a Windows Server 2003 environment.

The Ntldr file uses information in the Boot.ini file to display the bootstrap loader screen from which you select the operating system. This screen is based on the information in the Boot.ini file. If you do not select an entry before the counter reaches 0 (zero), Ntldr loads the operating system that is specified by the default parameter in the Boot.ini file.

Windows Server 2003 Setup places the Boot.ini file in the root of the system partition.

Before you edit the Boot.ini file, modify your folder options so you can view hidden files, and then back up the Boot.ini file.

NOTE: You can also edit the Boot.ini file by using the System Configuration Utility (Msconfig.exe). To start the System Configuration Utility, click Start, click Run, type msconfig in the Open box, and then click OK.

back to the top

Modify Folder Options

 * 1) Right-click Start, and then click Explore.
 * 2) On the Tools menu, click Folder Options, and then click View.
 * 3) Under Advanced Settings, click Show hidden files and folders, click to clear the Hide protected operating system files (Recommended) check box, click Yes, and then click OK.
 * 4) Locate the system partition, locate and right-click the Boot.ini file, and then click Properties.
 * 5) Click to clear the Read-only check box, and then click OK.

back to the top

Save a Backup Copy of the Boot.ini File

 * 1) Right-click Start, and then click Explore.
 * 2) Locate the system partition, locate and right-click the Boot.ini file, and then click Copy.
 * 3) Locate and click the folder where you want to copy the Boot.ini file, and then click Paste on the Edit menu.

back to the top

Sample Boot.ini File
The following is a sample of a default Boot.ini file from a Windows Server 2003-based computer: [boot loader] timeout=30 default=multi(0)disk(0)rdisk(0)partition(1)\WINDOWS [operating systems] multi(0)disk(0)rdisk(0)partition(1)\WINDOWS=&quot;Microsoft Windows .NET Standard Server&quot; /fastdetect The following is a sample of the same Boot.ini file after the addition of another partition that runs Microsoft Windows XP Professional. [boot loader] timeout=30 default=multi(0)disk(0)rdisk(0)partition(1)\WINDOWS [operating systems] multi(0)disk(0)rdisk(0)partition(1)\WINDOWS=&quot;Microsoft Windows .NET Standard Server&quot; /fastdetect multi(0)disk(0)rdisk(0)partition(2)\WINDOWS=&quot;Microsoft Windows XP Professional&quot; back to the top

Edit the Boot.ini File

 * 1) Click Start, point to Programs, point to Accessories, and then click Notepad.
 * 2) On the File menu, click Open.
 * 3) In the Look in box, click the system partition, in the Files of type box, click All Files, locate and click the Boot.ini file, and then click Open.
 * 4) Make the changes that you want to the Boot.ini file, and then click Save on the File menu.

Examples of changes that you can make are described in the following sections of this article.

back to the top

Remove an Operating System from the Menu
To remove an operating system from the menu, follow these steps:  In Notepad, select the line that contains information about the operating system that you want to remove, and then click Delete on the Edit menu. For example, select the following line:

multi(0)disk(1)rdisk(0)partition(2)\WINDOWS=&quot;Microsoft Windows XP Professional&quot; /fastdetect

 On the File menu, click Save.

back to the top

Modify the Operating System Menu Order
To modify the operating system menu order, follow these steps:
 * 1) In Notepad, select the line that you want to move, click Copy on the Edit menu, and then press DELETE.
 * 2) Click where you want to insert the line, and then click Paste on the Edit menu.
 * 3) Repeat step 1 and step 2 for each line that you want to move, and then click Save on the File menu.

back to the top

Modify the Default Operating System
The default operating system is the operating system that is started if no selection is made before the time-out occurs. (The time-out is the number of seconds in which you can select an operating system from the menu before the default operating system is loaded.) To modify the default operating system, follow these steps:  In Notepad, modify the following line to change the default operating system:

default=multi(0)disk(0)rdisk(0)partition(1)\WINDOWS

For example, to change the default operating system from Windows Server 2003 to Windows XP Professional, modify the following line

default=multi(0)disk(0)rdisk(0)partition(1)\WINDOWS

to the following:

default=multi(0)disk(0)rdisk(1)partition(2)\WINDOWS

 On the File menu, click Save.</ol>

back to the top

Modify the Time-out
To modify the time-out value, follow these steps:  In Notepad, edit the following line to change the time-out (where the value is 30 seconds):

timeout=30

</li> On the File menu, click Save.</li></ol>

back to the top

Troubleshooting
If there is a problem with the Boot.ini file that you modified, copy the original Boot.ini file (the one that you backed up earlier) to the system partition. back to the top

Additional query words: kbfileprntsvc

Keywords: kbmgmtservices kbfile kbenv kbhowtomaster kbui KB323427

-

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

© Microsoft Corporation. All rights reserved.