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: BCDEDIT changing defaults

12 Feb 2012   #1

XP Pro & W7
BCDEDIT changing defaults

Hi everyone.

I have a fully up todate pc that has XP P (32bit) on one partition and Windows 7 P (64bit) on the other partition. (same HD)

Both Operating systems are fine.

My problem is that for some reason between switching the pc off and back on the following morning the mouse and keyboard do not work so I cannot tab between which operating system I want. (the keyboard and mouse work fine once either operating system is loaded, so its not faulty gear or connections

Set that aside for the moment, as my real question is..

Last Time, I let the pc default boot into Windows 7 and used BCDEDIT to change the boot so it defaulted into XP, now I want to change it back to default into Windows 7 how do I do this in W XP ? Please.

I will sort the keyboard and mouse out later but obviously I cannot get into the bios either.

My System SpecsSystem Spec

12 Feb 2012   #2

Windows 7 Ultimate x64

If the Windows 7 is 32bit then you can try this.

You will need to find where the BCD file is located, drive and path. On the root of the drive you will find the file bootmgr and the folder boot, the BCD file should be found in the boot folder. If XP was installed first then it'll probably be on the XP drive. These are hidden system files so you will need to open folder options and set to show them.

Next browse to the Windows folder for Win 7, hold down Shift, right click System32 and click "Open command window here".

Type "bcdedit /store [Path to the BCD file]" and press enter, eg. "bcdedit /store C:\boot\bcd".

Look for the Windows Boot Loader entry for Windows 7 and copy the Identifier for the next command. Make sure to include the curly braces in the identifier.

Next type bcdedit /store [Path to the BCD file] /default [Identifier for Win 7]

Now hopefully that works. If you get any access denied or file in use errors you may need to boot from the Win 7 DVD if you can without the keyboard.
My System SpecsSystem Spec
12 Feb 2012   #3

Windows 7 Ultimate SP1 (64 bit), Windows XP SP3, Linux Mint 17 MATE (64 bit)

Check the BIOS settings on your machine.
They may have changed (i.e. If you have a USB keyboard and mouse, the BIOS options may no longer be set correctly).
My System SpecsSystem Spec

12 Feb 2012   #4

XP Pro & W7

Thanks Duzzy but as I said Windows 7 is 64bit and XP returns "not a 32bit programme" (even though it is in the system32 folder.

lehnerus2000 thanks for your reply, but with no keyboard and mouse I cannot get into BIOS and dont want to at the moment because if I return bios to default, by, say changing the battery, my machine might not start and that would be a serious problem, at least everything is working om XP and I can read the Windows 7 partition even if I cannot boot Windows 7.

I have by the way tried other keyboards and mouses ? no difference but they all work fine once I boot into windows my Mouse and Keyboard are USB..

This mobo is Rampage Extreme mk1 and only has a mauve keyboard connector and a keyboard direct into that does not work either.

Keep the help coming please !!!!
My System SpecsSystem Spec
12 Feb 2012   #5
Microsoft MVP

64-bit Windows 8.1 Enterprise

Hello Cameraman, and welcome to Seven Forums.

You may be able to use OTION FOUR in the tutorial below with EasyBCD to change it back to Windows 7 as the default startup OS. However, you will need to install .Net Framework 2.0 (32-bit) version in XP before using EasyBCD.

Default Operating System - Change Default Boot OS

Hope this helps,
My System SpecsSystem Spec
13 Feb 2012   #6

Windows 7 Ultimate x64

Sorry I must of read your post to quick and missed that.

If you don't want to install EasyBCD and want to try my steps first then I've attached the 32bit version of bcdedit. Put this in your Windows XP System32 folder and just open a command window anywhere then follow my steps in my first post.

It's been a while since I used XP but you probably will need to run cmd.exe as Admin if your not logged on as a admin.

Next browse to the Windows folder for Win 7, hold down Shift, right click System32 and click "Open command window here".
And sorry this was for working in Win 7 not XP.
My System SpecsSystem Spec
14 Feb 2012   #7

XP Pro & W7

Thank you everyone for your ideas. I'm going to have a go with EasyBCD first, (legs and arms and fingers crossed) (hope I'm not getting in too deep for my level of knowledge. They also have a really good programme called iReboot that will make my life much easier too. Now if I could only solve my keyboard and mouse problem I wouldnt need to do any of this, its really odd Monday it was fine, normal shutdown, Thuesday morning nothing, if I dissconnect the USB Mouse and Keyboard and plugged another one I have into the mauve connector the mobo says "keyboard missing" or not detected" cant remember which. cant believe its the battery, cant check the battery, so dont want to re-set the bios by removing battery and altering the bios settings just incase its something else and I screw up big time, otherwise a perfectly ok system.
anyway thanks again for your suggestions, its a lonely old world out here when you have problems so I'm very grateful for your help.
My System SpecsSystem Spec
14 Feb 2012   #8
Microsoft MVP

64-bit Windows 8.1 Enterprise

You're welcome Cameraman. Please let us know how it went.
My System SpecsSystem Spec

 BCDEDIT changing defaults

Thread Tools

Similar help and support threads for2: BCDEDIT changing defaults
Thread Forum
BCDEDIT - How to Use Tutorials
Played around with BCDedit and now need help Performance & Maintenance
BCDEDIT confusion Installation & Setup
bcdedit problem Installation & Setup
Changing wordpad defaults Software
bcdedit Installation & Setup
BCDedit Help 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 02:18 AM.
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