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

Preston

New member
Local time
5:49 AM
Messages
4
Help,

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.

Thanks,
Preston
 

My Computer My Computer

Computer Manufacturer/Model Number
Generic
OS
Windows 7 Ultimate
CPU
Intel Pentium 4, 3.4Ghz
Motherboard
ASROCK P4VM890
Memory
1.5Ghz
Graphics Card(s)
nVidia GeForce 8600GTS
Sound Card
Onboard - Realtek
Monitor(s) Displays
LG 206WTQ 20"
Hard Drives
1TB
320GB
PSU
?
Case
A-Power Generic
Cooling
CPU fan
Hello Preston, and welcome to Seven Forums.

Check in XP to see if you have the option there in msconfig instead. :)
 

My Computer My Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
Self built custom
OS
64-bit Windows 11 Pro for Workstations
CPU
Intel i7-8700K OC'd to 5 GHz
Motherboard
ASUS ROG Maximus XI Formula Z390
Memory
64 GB (4x16GB) G.SKILL TridentZ RGB DDR4 3600 MHz
Graphics Card(s)
ASUS ROG-STRIX-GTX1080TI-O11G-GAMING
Sound Card
Integrated
Monitor(s) Displays
2 x Samsung Odyssey G7 27"
Screen Resolution
2560x1440
Hard Drives
1TB Samsung 990 PRO M.2,
4TB Samsung 990 PRO PRO M.2,
TerraMaster F8 SSD Plus NAS
PSU
Seasonic Prime Titanium 850W
Case
Thermaltake Core P3
Cooling
Corsair Hydro H115i
Keyboard
Logitech wireless K800
Mouse
Logitech MX Master 4
Internet Speed
2 Gb/s Download and 100 Mb/s Upload
Antivirus
Malwarebyte Anti-Malware Premium
Browser
Google Chrome
Other Info
Logitech Z625 speaker system,
Logitech BRIO 4K Pro webcam,
HP Color LaserJet Pro MFP M477fdn,
APC SMART-UPS RT 1000 XL - SURT1000XLI,
Galaxy S23 Plus phone
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.
 

Attachments

  • BCDEDIT.jpg
    BCDEDIT.jpg
    61.7 KB · Views: 369
Last edited:

My Computer My Computer

Computer Manufacturer/Model Number
Generic
OS
Windows 7 Ultimate
CPU
Intel Pentium 4, 3.4Ghz
Motherboard
ASROCK P4VM890
Memory
1.5Ghz
Graphics Card(s)
nVidia GeForce 8600GTS
Sound Card
Onboard - Realtek
Monitor(s) Displays
LG 206WTQ 20"
Hard Drives
1TB
320GB
PSU
?
Case
A-Power Generic
Cooling
CPU fan
How do I remove the "Legacy OS - Windows XP" in Windows 7 using BCDEDIT?
 

My Computer My Computer

Computer Manufacturer/Model Number
Generic
OS
Windows 7 Ultimate
CPU
Intel Pentium 4, 3.4Ghz
Motherboard
ASROCK P4VM890
Memory
1.5Ghz
Graphics Card(s)
nVidia GeForce 8600GTS
Sound Card
Onboard - Realtek
Monitor(s) Displays
LG 206WTQ 20"
Hard Drives
1TB
320GB
PSU
?
Case
A-Power Generic
Cooling
CPU fan
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.
 
Hi Preston,

In your case, bcdedit /delete {ntldr} /f
 
Last edited:

My Computers My Computers

System One System Two

  • Computer type
    PC/Desktop
    OS
    7 X64
    CPU
    i5 8400
    Motherboard
    gigabyte b365m ds3h
    Memory
    2x8gb 3200mhz
    Hard Drives
    various
    PSU
    pure power 11 400w cm
    Case
    Coolermaster
    Cooling
    cryorig m9i
  • Computer type
    PC/Desktop
    OS
    7x64
    CPU
    g5400
    Motherboard
    ga b365m ds3h
    Memory
    8gb ddr4 2400
    PSU
    xfx pro 450w
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.
 

Attachments

  • Disk Management.jpg
    Disk Management.jpg
    187.6 KB · Views: 473

My Computer My Computer

Computer Manufacturer/Model Number
Generic
OS
Windows 7 Ultimate
CPU
Intel Pentium 4, 3.4Ghz
Motherboard
ASROCK P4VM890
Memory
1.5Ghz
Graphics Card(s)
nVidia GeForce 8600GTS
Sound Card
Onboard - Realtek
Monitor(s) Displays
LG 206WTQ 20"
Hard Drives
1TB
320GB
PSU
?
Case
A-Power Generic
Cooling
CPU fan
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.
 
Back
Top