Вы находитесь на странице: 1из 5

Microsoft Fix it Center Online

http://fixitcenter.support.microsoft.com/Portal/FindSolutions/1173/81988...

Thomas Sign out

Home My computers Find solutions View support requests Help

Categories
Desktop and personalization Files, folders and search Hardware and drivers Install, upgrade and activate Music and sound Networking, e-mail and getting online Performance and maintenance Pictures and video Security, privacy and user accounts System repair and recovery

Find solutions
Select a Product, Category, or Browse for a solution

1 of 5

10/5/2012 11:03 PM

Microsoft Fix it Center Online

http://fixitcenter.support.microsoft.com/Portal/FindSolutions/1173/81988...

Windows 7 Windows Vista Windows XP Windows Media Player Internet Explorer Submit a support request
< < View all solutions Article ID: 289022 - Last Review: August 6, 2007 - Revision: 3.9

How to edit the Boot.ini file in Windows XP


This article was previously published under Q289022

To continue receiving security updates for Windows, make sure you're running Windows XP with Service Pack 3 (SP3). For more information, refer to this Microsoft web page: Support is ending for some versions of Windows (http://windows.microsoft.com/en-us
/windows/help/end-support-windows-xp-sp2-windows-vista-without-service-packs) SUMMARY

This article describes how to view and manually configure the Boot.ini file in Windows XP from within the Startup and Recovery dialog. In Windows XP, you can quickly and easily locate the Boot.ini to verify and/or edit the file. It is suggested to backup the Boot.ini file before editing. The first tasks will involve modifying folder option so as to view hidden files and then backing up the Boot.ini file.

Save a Backup Copy of Boot.ini


1. Right-click My Computer, and then click Properties. -orClick Start, click Run, type sysdm.cpl, and then click OK. On the Advanced tab, click Settings under Startup and Recovery. Under System Startup, click Edit. This opens the file in Notepad ready for editing. In Notepad, click File on the Menu bar, and then click Save As. Right click in an empty area of the Save As dialog box, point to New in the context menu, and then click Folder. Type a name for the new folder, for example temp, and then press the ENTER key to create the folder named temp. Double-click the new folder named temp, and then click the Save button to save a backup copy of the Boot.ini file.

2. 3. 4. 5. 6. 7.

Edit the Boot.ini File


To view and edit the Boot.ini file: 1. Right-click My Computer, and then click Properties. -or-

2 of 5

10/5/2012 11:03 PM

Microsoft Fix it Center Online

http://fixitcenter.support.microsoft.com/Portal/FindSolutions/1173/81988...

Click Start, click Run, type sysdm.cpl, and then click OK. 2. On the Advanced tab, click Settings under Startup and Recovery. 3. Under System Startup, click Edit.

Sample Boot.ini File


This is a sample of a default Boot.ini file from a Windows XP Professional 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="Microsoft Windows XP Professional" /fastdetect This is a sample of the above Boot.ini file with a previous installation of Windows 2000 on a separate partition. [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="Windows XP Professional" /fastdetect multi(0)disk(0)rdisk(0)partition(2)\WINNT="Windows 2000 Professional" /fastdetect

Modifying the Boot.ini


While you can modify the Boot.ini file using the Startup and Recovery dialog, where you can select the default operating system, change the timeout value, or manually edit the file, the following method uses the command line utility, Bootcfg.exe. Note The Bootcfg.exe utility is only available in Windows XP Professional. This utility is not available in Microsoft Windows XP Home Edition. Therefore, this section does not apply to Windows XP Home Edition. 1. 2. 3. 4. Click Start, and then click Run. In the Open text box, type cmd. At the command prompt, type bootcfg /?. The help and parameters for BOOTCFG.exe will display.

Adding an Operating System


At the command prompt, type: bootcfg /copy /d Operating System Description /ID# Where Operating System Description is a text description (e.g. Windows XP Home Edition), and where # specifies the boot entry ID in the operating systems section of the BOOT.INI file from which the copy has to be made.

Removing an Operating System


At the command prompt, type: bootcfg /delete /ID# Where # specifies the boot entry ID that you want to be deleted from the operating systems section of the BOOT.INI file (e.g. 2 for the second Operating system that is listed.

Setting the Default Operating System


At the command prompt, type: bootcfg /default /ID#

3 of 5

10/5/2012 11:03 PM

Microsoft Fix it Center Online

http://fixitcenter.support.microsoft.com/Portal/FindSolutions/1173/81988...

Where # specifies the boot entry id in the operating systems section of the BOOT.INI file to be made the default operating system.

Setting the Time Out


At the command prompt, type: bootcfg /timeout# Where # specifies the time in seconds after which default operating system will be loaded.

Open the Boot.ini File to Verify Changes


1. Right-click My Computer, and then click Properties. -orClick Start, click Run, type sysdm.cpl, and then click OK. 2. On the Advanced tab, click Settings under Startup and Recovery. 3. Under System Startup, click Edit.

REFERENCES

For additional information about this topic, click one of the following links: Safe-Mode Boot Switches for Windows 2000 Boot.ini File (http://support.microsoft.com/kb/q239780/) How to Set Up a Remote Debug Session Using a Modem (http://support.microsoft.com/kb/q148954/)

Keywords: kbenv kbhowto kbhowtomaster KB289022

4 of 5

10/5/2012 11:03 PM

Microsoft Fix it Center Online

http://fixitcenter.support.microsoft.com/Portal/FindSolutions/1173/81988...

Provide feedback on this information

Did this information solve your problem?


Yes No I don't know

Was this information relevant?


Yes No

What can we do to improve this information?

To protect your privacy, do not include contact information in your feedback.

Feedback | Services Agreement Contact Us | Terms of Use | Trademarks | Privacy & Cookies

5 of 5

10/5/2012 11:03 PM

Вам также может понравиться