BCDEDIT changing defaults

Cameraman

New member
Local time
7:42 PM
Messages
13
Hi everyone.

I have a fully up todate pc that has XP P (32bit) on one partition and W7 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 W7 and used BCDEDIT to change the boot so it defaulted into XP, now I want to change it back to default into W7 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 Computer

Computer Manufacturer/Model Number
SelfBuild
OS
XP Pro & W7
CPU
Q6700
Motherboard
Rampage Extreme
Memory
Crucial 1333 4Gb
Graphics Card(s)
ATI 4850
Sound Card
SB HiFi X
Monitor(s) Displays
2 x 19" Ilyama
Hard Drives
2 x Sata 160Gb Raptor
PSU
Antec 850w
Case
Antec 910
Cooling
Thermalite 120
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 Computer

Computer Manufacturer/Model Number
Self built
OS
Windows 7 Ultimate x64
CPU
Intel Pentium Dual Core E5200 2.5GHz (3.77GHz OC)
Motherboard
Asus P5Q-E
Memory
Corsair 4GB DDR2 (4x1GB CM2X1024-6400C4)
Graphics Card(s)
Palit GeForce GTS 250 (1024MB)
Sound Card
On Board (ADI AD2000B 8ch HD)
Monitor(s) Displays
Samsung 32in LCD TV
Screen Resolution
1360x768
Hard Drives
2 x 1TB Samsung 103SJ (Raid0)
2 x External 500GB Samsung 502IJ (NexStar 3 HD Enclosures)
PSU
550W Antec Neo HE 550
Case
Antec P180
Cooling
Xigmatex Red Scorpion CPU Cooler. 3x120mm Fans
Keyboard
Logitech MX5000 Laser (Combo)
Mouse
Logitech MX5000 Laser (Combo)
Internet Speed
ADSL2+ (avg 10 Mbps Down, 0.80 Mbps up)
Other Info
Gigabyte GN-WP01GS 54g Wireless Lan Card
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 Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
n/a
OS
W7 Ultimate SP1, LM19.2 MATE, W10 Home 1703, W10 Pro 1703 VM, #All 64 bit
CPU
AMD Phenom II x6 1100T, 3.3 GHz
Motherboard
ASUS M4A88T-M/USB3 (AM3)
Memory
12GB DDR3 1333 G-Skill (4GB x 2), G-Skill (2GB x 2)
Graphics Card(s)
NVIDIA GeForce GTX 660
Sound Card
Realtek?
Monitor(s) Displays
Samsung S23B350
Screen Resolution
1920x1080
Hard Drives
WD Green 2TB (SATA), WD Green 3TB (SATA), WD Blue 4TB (SATA), WD Blue 6TB (SATA)
PSU
Cooler Master
Case
Antec GX300 Tower
Cooling
3x Antec TRICOOL 120mm Fans
Mouse
Wired Optical
Internet Speed
DSL
Antivirus
Avast
Browser
Pale Moon (64 bit)
Other Info
2018-12-27 Upgraded HDDs
2015-12-10 Upgraded case, graphics card, storage
2015-08-15 Upgraded motherboard & RAM
2015-07-15 Upgraded LM17.1 to LM17.2
Dcdedit

Thanks Duzzy but as I said W7 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 W7 partition even if I cannot boot W7.

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 Computer

Computer Manufacturer/Model Number
SelfBuild
OS
XP Pro & W7
CPU
Q6700
Motherboard
Rampage Extreme
Memory
Crucial 1333 4Gb
Graphics Card(s)
ATI 4850
Sound Card
SB HiFi X
Monitor(s) Displays
2 x 19" Ilyama
Hard Drives
2 x Sata 160Gb Raptor
PSU
Antec 850w
Case
Antec 910
Cooling
Thermalite 120

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
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.
 
Last edited:

My Computer

Computer Manufacturer/Model Number
Self built
OS
Windows 7 Ultimate x64
CPU
Intel Pentium Dual Core E5200 2.5GHz (3.77GHz OC)
Motherboard
Asus P5Q-E
Memory
Corsair 4GB DDR2 (4x1GB CM2X1024-6400C4)
Graphics Card(s)
Palit GeForce GTS 250 (1024MB)
Sound Card
On Board (ADI AD2000B 8ch HD)
Monitor(s) Displays
Samsung 32in LCD TV
Screen Resolution
1360x768
Hard Drives
2 x 1TB Samsung 103SJ (Raid0)
2 x External 500GB Samsung 502IJ (NexStar 3 HD Enclosures)
PSU
550W Antec Neo HE 550
Case
Antec P180
Cooling
Xigmatex Red Scorpion CPU Cooler. 3x120mm Fans
Keyboard
Logitech MX5000 Laser (Combo)
Mouse
Logitech MX5000 Laser (Combo)
Internet Speed
ADSL2+ (avg 10 Mbps Down, 0.80 Mbps up)
Other Info
Gigabyte GN-WP01GS 54g Wireless Lan Card
Thank you everyone for your ideas. I'm going to have a go with EasyBCD :confused: 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 Computer

Computer Manufacturer/Model Number
SelfBuild
OS
XP Pro & W7
CPU
Q6700
Motherboard
Rampage Extreme
Memory
Crucial 1333 4Gb
Graphics Card(s)
ATI 4850
Sound Card
SB HiFi X
Monitor(s) Displays
2 x 19" Ilyama
Hard Drives
2 x Sata 160Gb Raptor
PSU
Antec 850w
Case
Antec 910
Cooling
Thermalite 120
You're welcome Cameraman. Please let us know how it went. :)
 

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
Back
Top