Windows 7 Forums
Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.

Windows 7: Delete XP from boot manager, to have 7 as default ??

15 Jan 2010   #1

Windows 7 Ultimate
Delete XP from boot manager, to have 7 as default ??


I am dual booting Windows XP and 7 and when I boot up it shows a boot manager where I can choose which OS to boot. In Win7 under the boot tab in the System Configuration (msconfig) I DO NOT see the Windows XP entry? I only see the Windows 7 entry. How do I delete Windows XP from the boot manager? I want Windows 7 as my default OS.


My System SpecsSystem Spec
15 Jan 2010   #2

64-bit Windows 10 Pro

Hello Preston, and welcome to Seven Forums.

Check in XP to see if you have the option there in msconfig instead.
My System SpecsSystem Spec
18 Jan 2010   #3

Windows 7 Ultimate
Checked XP msconfig

Hi Brink et al.,

I booted Windows XP and went into the boot tab of msconfig. There I only saw five lines of XP code. There was nothing with Windows 7 mentioned.

So.... how do I delete XP from the Boot Manager and have Windows 7 boot up only without the Boot Manager screen?

I think I found out what the problem is... Windows XP boot entry in embedded in the Windows 7 BCDEDIT but does NOT show up in the Windows 7 msconfig boot tab. Windows 7 is the default OS "Windows Boot Loader" and Windows XP is the "Windows Legacy OS Loader."

What code do I type in Windows 7 BCDEDIT to remove Windows XP as the "Windows Legacy OS Loader" from the Boot Manager?

/delete ...??? Can someone please tell me the full command line I have to type?

*Click JPG of BCDEDIT below to see more clearly.

Attached Thumbnails
Delete XP from boot manager, to have 7 as default ??-bcdedit.jpg  
My System SpecsSystem Spec

19 Jan 2010   #4

Windows 7 Ultimate

How do I remove the "Legacy OS - Windows XP" in Windows 7 using BCDEDIT?
My System SpecsSystem Spec
20 Jan 2010   #5


Use EasyBCD 2.0 from Win7 to Remove XP.

Do you also want to remove the XP installation? If so, please post back a screenshot of your full Disk Management drive map, using Snipping Tool in Start Menu attaching file using paper clip in reply box.
My System SpecsSystem Spec
20 Jan 2010   #6

Microsoft Community Contributor Award Recipient

Vista x64 / 7 X64

Hi Preston,

In your case, bcdedit /delete {ntldr} /f
My System SpecsSystem Spec
21 Jan 2010   #7

Windows 7 Ultimate

So this command: bcdedit /delete {ntldr} /f done in Windows 7 will remove Windows XP (Windows Legacy OS Loader) from the Windows 7 Boot Manager, and will leave Windows 7 as my default OS to boot, is that correct?

What does the /f mean?

I would like to delete Windows XP from my hard drive, eventually. Attached is a screenshot of Disk Management.

Attached Thumbnails
Delete XP from boot manager, to have 7 as default ??-disk-management.jpg  
My System SpecsSystem Spec
21 Jan 2010   #8


Do you have your Win7 programs on the Programs partition?

If so, then you'll need to save it if you don't want to reinstall your programs.

If not, you can use free Partition Wizard bootable CD to rightclick>Delete both XP and Programs partitions, then rightclick Win7 partition to Modify>Set Active, and rightclick>Resize to drag left border over the deleted space.

Then boot into the Win7 DVD, select Repair My Computer on second screen, click through to Recovery Tools to run Startup Repair up to 3 separate times with reboots to rewrite MBR to Windows 7.

If you need to keep the Programs partition, then in order to reclaim the lower address for Win7 you would need to shrink and copy it there, then resize both partitions as you wish before running Startup Repair to write MBR to Win7.

Back up your files and a Win7 Backup image as resizing operations can fail.
My System SpecsSystem Spec

 Delete XP from boot manager, to have 7 as default ??

Thread Tools

Similar help and support threads
Thread Forum
Windows Boot Manager - Delete a Listed Operating System
How to Delete an Operating System Listed in Windows Boot Manager This will show you how to delete a non-default operating system in Vista, Windows 7, or Windows 8 from the list in Windows Boot Manager or Startup Options (Windows 8) that allows you to select a OS to run at startup. You...
Dual Boot: Win7: Boot Manager Status: 0xc000000f boot selection failed
Hello, I have dual boot in my laptop with Ubuntnu 14.04 LTS and Windows 7 Home Premium 64 bit. Today after working on Ubuntu I restarted and switched to Windows and as soon as it logged in I noticed the battery was 0%. I thought maybe it was some kind of glitch or something (silly me!) so I just...
General Discussion
Windows 7 boot manager default entry doesn't work
When I start up Windows, I have two options, "Windows 7" and "Windows 7 Home Premium (Recovered)", and only the second one works. This is annoying because it defaults to the first entry. Some background info: I added a second hard drive to my laptop, and I used an Ubuntu install disc to move...
General Discussion
boot manager missing and not able to reset factory default
Hi everyone Im new here & I really hope someone can help me. Ive had an Acer laspire 4810TZ laptop since 2010 and one before that, unfortunetly Ive always had really bad problems with acer but i was stupid enough to buy it again the second time. the thing is I know quite a bit about laptops and...
Installation & Setup
How to delete xp, but keep boot manager
I got everything over, when I realized the boot manager is installed to the C: xp drive. How can I move it to the w7 so I can delete that partition? I got windows 7 Pro. edit: It also wont let me delete the xp partition or format it. edit2: Ok I had to install to a partition via windows xp....
Installation & Setup
Help to put 7 in default boot manager
i am using dual boot configuration system as in C drive xp and in D drive window7... but for some reason i format my xp from C drive and reinstalled it.. i've not touch to window7 in D drive during installation of xp.. but now whenever i try to start my pc directly xp gets started there is no...
Installation & Setup

Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd

All times are GMT -5. The time now is 13:56.
Twitter Facebook Google+ Seven Forums iOS App Seven Forums Android App