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

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
83 Comments

very helpful.... thanks sir!

Posted by: danny at October 14, 2011 10:22 AM

i have windows 7 bt when i go to advanced system settings,,,,there comes no option to edit the list of operating system manually,,,,,so how it can be done in this case.

Posted by: surbhi puri at November 29, 2011 8:10 AM

Hi Leo,

I opened the file but it only shows the one option for the operating system I am running, and yet I see the options for Windows 7 when I start my computer. Can you help me with that please?

Thanks a lot

Posted by: Danish at December 25, 2011 2:45 PM

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

Posted by: Duncan at April 9, 2012 2:16 AM

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

Posted by: Mark J at April 9, 2012 2:36 AM
Post a comment on "How do I remove boot choices that I no longer want?":





Remember Me?

(You may use HTML tags for style)

Before commenting, please...

  • READ THE ARTICLE. A comment that shows you didn't will be deleted and ignored.

  • Comment only on the article. Use the search box at the top of the page if you have a question about something else.

  • NO PERSONAL INFORMATION in the comment. No email addresses. No phone numbers. No physical addresses.

  • Anything that looks the least bit like spam will be deleted. Links to unrelated sites or links that appear to be primarily promotional will be deleted, or the comment will be deleted.

  • Don't ask me to recover lost passwords or hacked accounts. I can't. Those comments will be deleted.

  • I can't respond to every comment. And I can't vouch for the accuracy of others who do.

Please wait. Your comment is being processed ...