Helping people with computers... one answer at a time.

In Windows XP removing boot choices is as simple as editing a hidden configuration file. Fortunately finding that file is relatively easy.

I have a annoying problem on my PC. I have 2 partitions on my computer. On the main partition I have Windows XP Pro and I tried to install Windows XP Media Center on my second partition.

All went well until my installation froze, so I had to reboot.

Now every time I boot my PC, I keep having the choose to start with my original Windows XP Pro or Windows XP Pro Setup. And if I choose for the setup, my computer crashes.

Is there a way to remove that choose and all the other installation files from Windows Media Center? I've already formatted the second partition.

It sounds like you've already gotten rid of the installation files by reformatting, so all that's really left is getting rid of your boot choice. If the installer worked as I expect it did, it should be easy to fix.

There's a hidden file in the root of your boot drive that not many people know about, called "boot.ini". It controls what happens at boot time. In the past the thing to do was to edit this file manually, but that's no longer necessary.

Right click on My Computer, and select Properties. Now click on the Advanced tab. In a section labeled Startup and Recovery click on the button labeled Settings. You should now be looking at a dialog like this:

Startup and Recovery options

Click on Edit to edit the startup options file (aka boot.ini) manually. That should open Notepad with something similar to the following from my machine:

[boot loader]
timeout=5
default=multi(0)disk(0)rdisk(0)partition(2)\WINDOWS
[operating systems]
multi(0)disk(0)rdisk(0)partition(2)\WINDOWS="Microsoft Windows XP Professional" /fastdetect /NoExecute=OptOut
C:\CMDCONS\BOOTSECT.DAT="Microsoft Windows Recovery Console" /cmdcons

In this example, you can see that I have two options to choose from when I boot: Windows XP, and the Recovery Console. I'm guessing you have an additional line for the XP Pro Setup that you had trouble with it. You can simply delete that line.

And if you're tired of having the computer wait 30 seconds for you to choose an operating system, you can also change the timeout value, as I have in my example.

Save that file, and when you next reboot you should no longer have that additional option.

Article C2514 - January 7, 2006 « »

Share this article with your friends:

Share this article on Facebook Tweet this article Email a link to this article
Leo Leo A. Notenboom has been playing with computers since he was required to take a programming class in 1976. An 18 year career as a programmer at Microsoft soon followed. After "retiring" in 2001, Leo started Ask Leo! in 2003 as a place for answers to common computer and technical questions. More about Leo.

Not what you needed?

Recent Comments
86 Comments
Duncan
April 9, 2012 2:16 AM

Hi how can i do this in window 7? im getting a problem when i remove my second had drive, boot error something like filesystem error, grub rescue

in my boot menu it has 2 windows 7 and 3 linux mint

Mark J
April 9, 2012 2:36 AM

@Duncan
How do I get rid of boot choices in Windows 7

Hero
July 9, 2012 9:37 PM

Thank you so much dear sir. It helps me a lot with my boss's notebook.

rods
December 3, 2012 9:59 PM

i have windows xp and windows 7 installed in different partitions of the HD. recently, i formatted the drive where i installed windows 7 and it is the default os. my problem is how do i remove that windows 7 choice when i boot, when all i see in the boot ini file is this.

;
;Warning: Boot.ini is used on Windows XP and earlier operating systems.
;Warning: Use BCDEDIT.exe to modify Windows Vista boot options.
;
[boot loader]
timeout=5
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" /NOEXECUTE=OPTIN /FASTDETECT

i dont get it. please help. many thanks in advance.

Lex Hank
January 1, 2013 12:22 PM

For some reason, XP setup leaves a false second boot choice. This note saved me at least a couple of hours of trial and error and with nine PCs due off the bench tomorrow, I needed that time. Thanks!