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 Windows 7 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
Microsoft MVP

64-bit Windows 8.1 Enterprise

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
Microsoft MVP


Use EasyBCD 2.0 from Windows 7 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
Microsoft MVP


Do you have your Windows 7 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 Windows 7 partition to Modify>Set Active, and rightclick>Resize to drag left border over the deleted space.

Then boot into the Windows 7 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 Windows 7 you would need to shrink and copy it there, then resize both partitions as you wish before running Startup Repair to write MBR to Windows 7.

Back up your files and a Windows 7 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 for2: Delete XP from boot manager, to have 7 as default ??
Thread Forum
Windows Boot Manager - Delete a Listed Operating System Tutorials
Solved Default Download Manager General Discussion
Windows 7 boot manager default entry doesn't work General Discussion
Default Operating System - Change Default Boot OS Tutorials
boot manager missing and not able to reset factory default Installation & Setup
How to delete xp, but keep boot manager Installation & Setup
Help to put 7 in default boot manager 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 01:05 PM.
Twitter Facebook Google+

Windows 7 Forums

Seven Forums Android App Seven Forums IOS App

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33