none
Removing Win 7 boot options entirely from a multi-boot system RRS feed

  • Question

  • Hello,


    I was sent to this forum from my this post https://answers.microsoft.com/en-us/thread/updatethread?forum=windows&threadId=fcf84a0c-9fd7-4932-9c7f-2570879309d0

    I will add the content after I get past this hurdle:


    • Body text cannot contain images or links until we are able to verify your account.

    Sunday, February 4, 2018 7:07 AM

Answers

  • I think I finally got this sorted so I hope this help others...

    After I still had the Win 7 boot loader on the hard disk with the XP install, I tried unplugging the adjacent drive that had Win 7 on it and I got the same results so I knew that the boot code was on the HD with XP on it.

    Next I booted to Win XP disc and entered the recovery console and used bootcfg /rebuild

    Note that the XP install was on D: not C:

    When I rebooted I was still stuck at the Win 7 boot loader... 

    Next I booted to the XP disc and entered recovery console again and entered fixboot c:

    When I rebooted this time the Win 7 boot loader was gone and the XP boot.ini loader appeared with the entries I just added with bootcfg /rebuild

    I think the answer to my original question may have been to use the XP recovery console command fixboot to nuke the Win 7 boot loader...thoughts?

    • Marked as answer by .Von Sunday, February 18, 2018 3:02 AM
    Sunday, February 18, 2018 3:01 AM

All replies

  • You will have to provide a valid link to your other thread.  What you have above does not work!

    Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread. ”

    Sunday, February 4, 2018 1:14 PM
  • If you are going to kill the boot menu, keep one boot system, please refer to:

    https://www.pcworld.com/article/3072651/software/remove-that-extra-operating-system-and-the-dual-boot.html

    Note: this is a 3rd party link, we don't have any warranties on this website. It's just for your convenience.


    Please remember to mark the replies as answers if they help.
    If you have feedback for TechNet Subscriber Support, contact tnmff@microsoft.com.

    Monday, February 5, 2018 7:22 AM
  • If you have any problems, please feel free to contact me.

    Please remember to mark the replies as answers if they help.
    If you have feedback for TechNet Subscriber Support, contact tnmff@microsoft.com.

    Wednesday, February 7, 2018 1:46 AM
  • Apology for the delay, this is my post from answers.msft.com:

    Hello,

    I am seeking guidance on how to completely remove the Windows 7 boot options from my multi-OS/multi-disk system.

    System has 4 drives:

    1. IDE 1: data only
    2. IDE 2: data and it had some linux partitions that will be removed
    3. SATA 1: multi-partition that has XP among other things
    4. SATA 2: disk only has the Win 7 install

    System BIOS boots to SATA 1 where I first get the Win 7 bootloader options that has an option to boot to earlier versions of Windows (XP's boot loader).

    Win7 boot loader:

    Image

    Apology for the poor photo quality...highlighted reads "Earlier Version of Windows"

    XP Boot loader:

    Image

    My goal is to remove the Win 7 boot options and then scavenge the SATA 2 disk for other purposes yet keep the XP install fully functional.

    When I boot to XP (Win 7 Boot loader > Earlier Versions of Window > XP boot loader > choose XP) this is what XP's Disk Management shows:

    Image

    Where XP resides as Disk 2 and Win 7 as Disk 3.

    I beleive the boot loader code resides on the Disk 2 C: partition becasue if I unplug the Win 7 disk (SATA 2 or Disk 3 above) both boot loaders still show up...I just can't boot to Win 7 as it is not present when unplugged.

    I have read up on BCDEDIT.exe after seeing it mentioned in the XP boot.ini file which reads:

    ;
    ;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=6
    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" /NOEXECUTE=OPTIN /FASTDETECT
    multi(0)disk(0)rdisk(0)partition(1)\WINNT4="Windows NT Workstation Version 4.00" 
    multi(0)disk(0)rdisk(0)partition(1)\WINNT351="Windows NT Workstation Version 3.51" 
    multi(0)disk(0)rdisk(0)partition(1)\WINNT4="Windows NT Workstation Version 4.00 [VGA mode]" /BASEVIDEO /SOS
    multi(0)disk(0)rdisk(0)partition(1)\WINNT351="Windows NT Workstation Version 3.51 [VGA mode]" /BASEVIDEO /SOS
    c:\="MS-DOS 6.22 and Windows for Workgroups 3.11" 
    c:\CMDCONS\BOOTSECT.DAT="Microsoft Windows Recovery Console" /CMDCONS

    When I boot to Win 7 and run BCDEDIT.exe this is what I see:

    C:\Windows\system32>bcdedit

    Windows Boot Manager
    --------------------
    identifier                      {bootmgr}
    device                          partition=\Device\HarddiskVolume6
    description                  Windows Boot Manager
    locale                           en-US
    inherit                          {globalsettings}
    default                         {ntldr}
    resumeobject              {c48b0220-c137-11de-8763-ef93e581df5e}
    displayorder                {ntldr}
                                        {current}
    toolsdisplayorder        {memdiag}
    timeout                        30

    Windows Legacy OS Loader
    ------------------------
    identifier                     {ntldr}
    device                        partition=\Device\HarddiskVolume6
    path                           \ntldr
    description                 Earlier Version of Windows

    Windows Boot Loader
    -------------------
    identifier                        {current}
    device                           partition=C:
    path                               \Windows\system32\winload.exe
    description                    Windows 7
    locale                             en-US
    inherit                            {bootloadersettings}
    recoverysequence        {c48b0222-c137-11de-8763-ef93e581df5e}
    recoveryenabled           Yes
    osdevice                       partition=C:
    systemroot                   \Windows
    resumeobject               {c48b0220-c137-11de-8763-ef93e581df5e}
    nx                                 OptIn

    I was going to try the /delete options for BCDEDIT.exe but then found my way to EasyBCD...

    This is what I see when installed on Win7:

    Image

    And the delete options:

    Image

    This is what I see when installed on XP:

    Image

    And the XP delete options:

    Image

    If I were to use /delete form BCDEDIT.exe or EasyBCD, to remove all entries, will that effectively remove the Win 7 boot options from appearing? The BCDEDIT.exe /? has detail on editing entries but I could not find something on deleting the Win 7 boot option entirely.

    THx

    P.S. this option "install, upgrade, &  activate" seemed the best of the availalbe options...

    And FWIW, this is the Win 7 Disk Management screen:

    Image

    Wednesday, February 7, 2018 7:10 PM
  • It's simply not that hard to re-set..Simply boot pc to BIOS,in boot options,set C:  with Win 7 as 1st boot

    priority,2nd/3rd/or simply leave it blank,save & exit BIOS....

    Wednesday, February 7, 2018 8:29 PM
  • Hi,

    To remove the invalid boot configuration identifier from the boot configuration data store.

    1. When logged in with an Administrator account, start the command prompt.
    2. Next, display de identifiers and  locate the invalid one: C:>bcdedit /enum /v
    3. Remove the invalid entry by typing: C:>bcdedit /delete {identifier from step 2} /cleanup
    4. You should get the “The operation completed successfully” message.
    5. Verify that the invalid entry is removed by typing: C:>bcdedit /enum /v
    6. Exit the command prompt and reboot.


    Please remember to mark the replies as answers if they help.
    If you have feedback for TechNet Subscriber Support, contact tnmff@microsoft.com.

    Thursday, February 8, 2018 8:20 AM
  • THanks for this Vivian!

    This is what I see when I run BCDEDIT:

    C:\Windows\system32>bcdedit

    Windows Boot Manager
    --------------------
    identifier                      {bootmgr}
    device                          partition=\Device\HarddiskVolume6
    description                  Windows Boot Manager
    locale                           en-US
    inherit                          {globalsettings}
    default                         {ntldr}
    resumeobject              {c48b0220-c137-11de-8763-ef93e581df5e}
    displayorder                {ntldr}
                                        {current}
    toolsdisplayorder        {memdiag}
    timeout                        30

    Windows Legacy OS Loader
    ------------------------
    identifier                     {ntldr}
    device                        partition=\Device\HarddiskVolume6
    path                           \ntldr
    description                 Earlier Version of Windows

    Windows Boot Loader
    -------------------
    identifier                        {current}
    device                           partition=C:
    path                               \Windows\system32\winload.exe
    description                    Windows 7
    locale                             en-US
    inherit                            {bootloadersettings}
    recoverysequence        {c48b0222-c137-11de-8763-ef93e581df5e}
    recoveryenabled           Yes
    osdevice                       partition=C:
    systemroot                   \Windows
    resumeobject               {c48b0220-c137-11de-8763-ef93e581df5e}
    nx                                 OptIn

    If I do:

    1. C:>bcdedit /delete {bootmgr} /cleanup
    2. C:>bcdedit /delete {ntldr} /cleanup
    3. C:>bcdedit /delete {current} /cleanup

    Will that completely remove the Win 7 boot loader such that nothing from it will appear and then the machine will boot from the Win XP bootloader which is working fine?

    THx


    • Edited by .Von Friday, February 9, 2018 8:54 PM formatting
    Friday, February 9, 2018 8:11 PM
  • Hi Von,

    It is mentioned here and works with success:

    http://defaultreasoning.com/2010/03/30/delete-invalid-entry-from-the-boot-configuration-data-store-on-windows-server-2008-r2/

    Note: this is a 3rd party link, we don't have any warranties on this website. It's just for your convenience.


    Please remember to mark the replies as answers if they help.
    If you have feedback for TechNet Subscriber Support, contact tnmff@microsoft.com.

    Monday, February 12, 2018 10:58 AM
  • Hi Vivian,

    This didn't go swimmingly...

    I booted to win7 and ran the following commands:

    Microsoft Windows [Version 6.1.7600]
    Copyright (c) 2009 Microsoft Corporation.  All rights reserved.

    C:\Windows\system32>bcdedit /enum /v

    Windows Boot Manager
    --------------------
    identifier              {9dea862c-5cdd-4e70-acc1-f32b344d4795}
    device                  partition=\Device\HarddiskVolume6
    description             Windows Boot Manager
    locale                  en-US
    inherit                 {7ea2e1ac-2e61-4728-aaa3-896d9d0a9f0e}
    default                 {466f5a88-0af2-4f76-9038-095b170dc21c}
    resumeobject            {c48b0220-c137-11de-8763-ef93e581df5e}
    displayorder            {466f5a88-0af2-4f76-9038-095b170dc21c}
                            {c48b0221-c137-11de-8763-ef93e581df5e}
    toolsdisplayorder       {b2721d73-1db4-4c62-bf78-c548a880142d}
    timeout                 30

    Windows Legacy OS Loader
    ------------------------
    identifier              {466f5a88-0af2-4f76-9038-095b170dc21c}
    device                  partition=\Device\HarddiskVolume6
    path                    \ntldr
    description             Earlier Version of Windows

    Windows Boot Loader
    -------------------
    identifier              {c48b0221-c137-11de-8763-ef93e581df5e}
    device                  partition=C:
    path                    \Windows\system32\winload.exe
    description             Windows 7
    locale                  en-US
    inherit                 {6efb52bf-1766-41db-a6b3-0ee5eff72bd7}
    recoverysequence        {c48b0222-c137-11de-8763-ef93e581df5e}
    recoveryenabled         Yes
    osdevice                partition=C:
    systemroot              \Windows
    resumeobject            {c48b0220-c137-11de-8763-ef93e581df5e}
    nx                      OptIn

    C:\Windows\system32>bcdedit /delete {c48b0221-c137-11de-8763-ef93e581df5e} /clea
    nup
    The operation completed successfully.

    C:\Windows\system32>bcdedit /enum /v

    Windows Boot Manager
    --------------------
    identifier              {9dea862c-5cdd-4e70-acc1-f32b344d4795}
    device                  partition=\Device\HarddiskVolume6
    description             Windows Boot Manager
    locale                  en-US
    inherit                 {7ea2e1ac-2e61-4728-aaa3-896d9d0a9f0e}
    default                 {466f5a88-0af2-4f76-9038-095b170dc21c}
    resumeobject            {c48b0220-c137-11de-8763-ef93e581df5e}
    displayorder            {466f5a88-0af2-4f76-9038-095b170dc21c}
    toolsdisplayorder       {b2721d73-1db4-4c62-bf78-c548a880142d}
    timeout                 30

    Windows Legacy OS Loader
    ------------------------
    identifier              {466f5a88-0af2-4f76-9038-095b170dc21c}
    device                  partition=\Device\HarddiskVolume6
    path                    \ntldr
    description             Earlier Version of Windows

    C:\Windows\system32>bcdedit /delete {466f5a88-0af2-4f76-9038-095b170dc21c} /clea
    nup
    This entry cannot be deleted unless the /f switch is specified on the command
    line.  Run bcdedit /? for more information.
    Access is denied.

    C:\Windows\system32>bcdedit /delete {466f5a88-0af2-4f76-9038-095b170dc21c} /f /c
    leanup
    The operation completed successfully.

    C:\Windows\system32>bcdedit /enum /v

    Windows Boot Loader
    -------------------
    identifier              {c48b0222-c137-11de-8763-ef93e581df5e}
    device                  ramdisk=[C:]\Recovery\c48b0222-c137-11de-8763-ef93e581df
    5e\Winre.wim,{c48b0223-c137-11de-8763-ef93e581df5e}
    path                    \windows\system32\winload.exe
    description             Windows Recovery Environment
    inherit                 {6efb52bf-1766-41db-a6b3-0ee5eff72bd7}
    osdevice                ramdisk=[C:]\Recovery\c48b0222-c137-11de-8763-ef93e581df
    5e\Winre.wim,{c48b0223-c137-11de-8763-ef93e581df5e}
    systemroot              \windows
    nx                      OptIn
    winpe                   Yes
    custom:46000010         Yes

    Windows Memory Tester
    ---------------------
    identifier              {b2721d73-1db4-4c62-bf78-c548a880142d}
    device                  partition=\Device\HarddiskVolume6
    path                    \boot\memtest.exe
    description             Windows Memory Diagnostic
    locale                  en-US
    inherit                 {7ea2e1ac-2e61-4728-aaa3-896d9d0a9f0e}
    badmemoryaccess         Yes

    C:\Windows\system32>bcdedit /delete {b2721d73-1db4-4c62-bf78-c548a880142d} /f /c
    leanup
    The operation completed successfully.

    C:\Windows\system32>bcdedit /enum /v

    Windows Boot Loader
    -------------------
    identifier              {c48b0222-c137-11de-8763-ef93e581df5e}
    device                  ramdisk=[C:]\Recovery\c48b0222-c137-11de-8763-ef93e581df
    5e\Winre.wim,{c48b0223-c137-11de-8763-ef93e581df5e}
    path                    \windows\system32\winload.exe
    description             Windows Recovery Environment
    inherit                 {6efb52bf-1766-41db-a6b3-0ee5eff72bd7}
    osdevice                ramdisk=[C:]\Recovery\c48b0222-c137-11de-8763-ef93e581df
    5e\Winre.wim,{c48b0223-c137-11de-8763-ef93e581df5e}
    systemroot              \windows
    nx                      OptIn
    winpe                   Yes
    custom:46000010         Yes

    C:\Windows\system32>bcdedit /delete {c48b0222-c137-11de-8763-ef93e581df5e} /f /c
    leanup
    The operation completed successfully.

    C:\Windows\system32>bcdedit /enum /v
    There are no matching objects or the store is empty.

    C:\Windows\system32>

    My assumption is that the BCD store is now gone. When I reboot the machine I am not able to boot to the Existing Win XP install. Instead I get this screen:

    Any suggestions here?

    Sunday, February 18, 2018 1:22 AM
  • I think I finally got this sorted so I hope this help others...

    After I still had the Win 7 boot loader on the hard disk with the XP install, I tried unplugging the adjacent drive that had Win 7 on it and I got the same results so I knew that the boot code was on the HD with XP on it.

    Next I booted to Win XP disc and entered the recovery console and used bootcfg /rebuild

    Note that the XP install was on D: not C:

    When I rebooted I was still stuck at the Win 7 boot loader... 

    Next I booted to the XP disc and entered recovery console again and entered fixboot c:

    When I rebooted this time the Win 7 boot loader was gone and the XP boot.ini loader appeared with the entries I just added with bootcfg /rebuild

    I think the answer to my original question may have been to use the XP recovery console command fixboot to nuke the Win 7 boot loader...thoughts?

    • Marked as answer by .Von Sunday, February 18, 2018 3:02 AM
    Sunday, February 18, 2018 3:01 AM