vinnykeys2500128
New Member
- Joined
- Dec 23, 2024
- Messages
- 3
- Thread Author
- #1
Hi, I am new to the forum. I would appreciate any help. I have Windows 11 Pro, did the latest update for the operating system. When it rebooted after install, error came up unrecognizable boot device. So I made a bootable usb, used diskpart. Drive c was now e and vice versa. Used assign letter to change them back. Worked fine. But every time I reboot the computer it changes them back to c is e and vice versa. Any thoughts? Thanks, Vinny.
- Joined
- Mar 14, 2023
- Messages
- 42,769
Hi Vinny, welcome to the forum!
The issue you're describing—where drive letters keep swapping after a reboot—sounds like the result of a deep-seated configuration issue, likely stemming from how Windows is recognizing your drives during startup. Here’s a detailed rundown to help you resolve this:
Note: After rebooting, these assignments should persist unless Windows or your BIOS overrides them—leading us to subsequent steps.
Let us know how you get on with these steps or if you encounter any specific challenges while following them. We'll be here to assist further!
The issue you're describing—where drive letters keep swapping after a reboot—sounds like the result of a deep-seated configuration issue, likely stemming from how Windows is recognizing your drives during startup. Here’s a detailed rundown to help you resolve this:
Likely Causes:
- System Partition Mismatch: The bootloader (on the EFI partition or MBR, depending on your setup) might be referencing a wrong partition or device.
- BIOS/UEFI Settings: Sometimes, a BIOS misconfiguration can cause Windows to swap drive identifiers. This might happen if the boot priority keeps alternating between drives.
- Disk Signature Conflict: If two drives have identical disk signatures, Windows may not correctly keep track of their drive letters during reboots.
- Corrupted Boot Configuration: The Windows Boot Manager might be incorrectly set up and must be reconfigured to point to the correct boot drive.
Steps to Resolve:
Step 1: Verify Disk Configurations
- Boot into Windows using your bootable USB and get to a command prompt.
- Run
diskpart
, then type:
Code:list disk
Next, verify partition assignments:
Code:sel disk 0 (replace ‘0’ with the disk containing Windows) list vol
SYSTEM
(bootloader) and which is theC:
(Windows) volume.
Step 2: Assign Letters in DISKPART Again
If you find that Windows misassigns partitions, reassign the letters explicitly:
Code:
sel vol X (replace ‘X’ with the volume number for the Windows partition)
assign letter=C
sel vol Y (replace ‘Y’ with the volume number for the EFI/SYSTEM volume)
assign letter=E (if appropriate for other system partitions)
Step 3: Check Bootloader Configuration
If drive letter assignments keep swapping, fix the boot manager configuration:- Use the command:
Code:bcdedit
bootmgr
andosdevice
settings point to your Windows partition with its correctC:
.
To correct them (if mismatched), use:
Code:bcdedit /set {bootmgr} device partition=C: bcdedit /set {default} osdevice partition=C: bcdedit /set {default} device partition=C:
Step 4: Confirm Your BIOS/UEFI Settings
- Reboot into the BIOS/UEFI settings.
- Ensure your primary boot disk is always set first in the boot order and save your settings.
Step 5: Check for Disk Signature Conflicts
If two disks share the same signature, Windows can get confused. To fix this:- Use the
diskpart
command:
Code:uniqueid disk
Code:uniqueid disk ID=YOUR_NEW_ID
YOUR_NEW_ID
with a hexadecimal ID that doesn’t conflict.
Step 6: Repair (or Rebuild) Windows Bootloader
As a last resort, rebuilding the bootloader might help:- Boot from your USB into recovery (command prompt).
- Use the following commands:
Code:bootrec /fixmbr bootrec /fixboot bootrec /scanos bootrec /rebuildbcd
- Reboot and test.
Proactive Tips:
- Disconnect Any Non-System Drives Temporarily: During troubleshooting, it may help to disconnect all drives except the primary OS drive.
- Disable Fast Startup: Open Control Panel → Power Options → "Choose what the power buttons do" → Disable "Turn on fast startup."
- Check Event Viewer: Review the logs after rebooting for clues as to why the assignments are flipping back.
Let us know how you get on with these steps or if you encounter any specific challenges while following them. We'll be here to assist further!
vinnykeys2500128
New Member
- Joined
- Dec 23, 2024
- Messages
- 3
- Thread Author
- #3
Thank You, will give it a try this afternoon. I am going to remove all the drives in the computer except for the c drive. I have a Lenovo P70. Easy access to the drives. Hopefully that will also help.Hi Vinny, welcome to the forum!
The issue you're describing—where drive letters keep swapping after a reboot—sounds like the result of a deep-seated configuration issue, likely stemming from how Windows is recognizing your drives during startup. Here’s a detailed rundown to help you resolve this:
Likely Causes:
- System Partition Mismatch: The bootloader (on the EFI partition or MBR, depending on your setup) might be referencing a wrong partition or device.
- BIOS/UEFI Settings: Sometimes, a BIOS misconfiguration can cause Windows to swap drive identifiers. This might happen if the boot priority keeps alternating between drives.
- Disk Signature Conflict: If two drives have identical disk signatures, Windows may not correctly keep track of their drive letters during reboots.
- Corrupted Boot Configuration: The Windows Boot Manager might be incorrectly set up and must be reconfigured to point to the correct boot drive.
Steps to Resolve:
Step 1: Verify Disk Configurations
- Boot into Windows using your bootable USB and get to a command prompt.
- Run
diskpart
, then type:
This will show all connected drives. Confirm the drive numbering corresponds correctly to your physical drives.Code:list disk
Next, verify partition assignments:
Confirm which volume isCode:sel disk 0 (replace ‘0’ with the disk containing Windows) list vol
SYSTEM
(bootloader) and which is theC:
(Windows) volume.Step 2: Assign Letters in DISKPART Again
If you find that Windows misassigns partitions, reassign the letters explicitly:
Note: After rebooting, these assignments should persist unless Windows or your BIOS overrides them—leading us to subsequent steps.Code:sel vol X (replace ‘X’ with the volume number for the Windows partition) assign letter=C sel vol Y (replace ‘Y’ with the volume number for the EFI/SYSTEM volume) assign letter=E (if appropriate for other system partitions)
Step 3: Check Bootloader Configuration
If drive letter assignments keep swapping, fix the boot manager configuration:
- Use the command:
Verify that theCode:bcdedit
bootmgr
andosdevice
settings point to your Windows partition with its correctC:
.
To correct them (if mismatched), use:
Code:bcdedit /set {bootmgr} device partition=C: bcdedit /set {default} osdevice partition=C: bcdedit /set {default} device partition=C:
Step 4: Confirm Your BIOS/UEFI Settings
- Reboot into the BIOS/UEFI settings.
- Ensure your primary boot disk is always set first in the boot order and save your settings.
Step 5: Check for Disk Signature Conflicts
If two disks share the same signature, Windows can get confused. To fix this:
- Use the
diskpart
command:
Confirm that all disks have unique IDs. If one conflicts, you can change it with:Code:uniqueid disk
ReplaceCode:uniqueid disk ID=YOUR_NEW_ID
YOUR_NEW_ID
with a hexadecimal ID that doesn’t conflict.Step 6: Repair (or Rebuild) Windows Bootloader
As a last resort, rebuilding the bootloader might help:
- Boot from your USB into recovery (command prompt).
- Use the following commands:
Code:bootrec /fixmbr bootrec /fixboot bootrec /scanos bootrec /rebuildbcd
- Reboot and test.
Proactive Tips:
- Disconnect Any Non-System Drives Temporarily: During troubleshooting, it may help to disconnect all drives except the primary OS drive.
- Disable Fast Startup: Open Control Panel → Power Options → "Choose what the power buttons do" → Disable "Turn on fast startup."
- Check Event Viewer: Review the logs after rebooting for clues as to why the assignments are flipping back.
Let us know how you get on with these steps or if you encounter any specific challenges while following them. We'll be here to assist further!
- Joined
- Mar 14, 2023
- Messages
- 42,769
That sounds like a solid plan, Vinny! Removing all non-essential drives during troubleshooting is an excellent way to eliminate any influence they might have over the drive letter assignments or boot configuration. With a Lenovo P70, the modularity certainly makes removing the drives much easier—so you're already ahead in that regard.
Once you’ve narrowed it down to just the drive with the OS, you’ll have a much clearer path to resolving the issue. After you've reconnected the other drives and confirmed stable behavior, you can then add them back one at a time to ensure everything remains as it should.
If you encounter any issues or need help verifying configurations, feel free to circle back here with an update. I'll be ready to assist! Good luck, and fingers crossed this sorts it out!
Once you’ve narrowed it down to just the drive with the OS, you’ll have a much clearer path to resolving the issue. After you've reconnected the other drives and confirmed stable behavior, you can then add them back one at a time to ensure everything remains as it should.
If you encounter any issues or need help verifying configurations, feel free to circle back here with an update. I'll be ready to assist! Good luck, and fingers crossed this sorts it out!
vinnykeys2500128
New Member
- Joined
- Dec 23, 2024
- Messages
- 3
- Thread Author
- #5
That sounds like a solid plan, Vinny! Removing all non-essential drives during troubleshooting is an excellent way to eliminate any influence they might have over the drive letter assignments or boot configuration. With a Lenovo P70, the modularity certainly makes removing the drives much easier—so you're already ahead in that regard.
Once you’ve narrowed it down to just the drive with the OS, you’ll have a much clearer path to resolving the issue. After you've reconnected the other drives and confirmed stable behavior, you can then add them back one at a time to ensure everything remains as it should.
If you encounter any issues or need help verifying configurations, feel free to circle back here with an update. I'll be ready to assist! Good luck, and fingers crossed this sorts it out!
Thanks, had the same problem with a Intel nuc 7i7bnh computer. Luckily I saved a disk image before the Windows Update. Did the same thing, swapped the drive letters around. The disk image saved the day. Going to do that from now on before any Windows Update, make a image.
- Joined
- Mar 14, 2023
- Messages
- 42,769
You're absolutely right, Vinny—having a disk image as a backup before updates is always a lifesaver! Windows updates, especially major ones, can sometimes cause unexpected problems like drive letter swaps, boot issues, or even file corruption. It’s great to hear you’ve started using disk imaging as a precaution.
For anyone who reads this thread, creating a system or disk image can be done using tools like:
That way, even if an update wreaks havoc, you can restore your system to a stable state in no time.
It’s also worth scheduling routine backups to make sure your most recent setup is always safe. Let me know how things go after your troubleshooting—looking forward to hearing that your P70 is back to smooth sailing!
For anyone who reads this thread, creating a system or disk image can be done using tools like:
- Macrium Reflect (Free): A popular and reliable backup and disk imaging software.
- Acronis True Image: A more feature-rich (but paid) solution for backups.
- Windows' Built-in Backup and Restore: While limited compared to third-party tools, it can still create system images effectively for emergencies.
That way, even if an update wreaks havoc, you can restore your system to a stable state in no time.
It’s also worth scheduling routine backups to make sure your most recent setup is always safe. Let me know how things go after your troubleshooting—looking forward to hearing that your P70 is back to smooth sailing!
Similar threads
- Solved
- Replies
- 1
- Views
- 458
- Featured
- Article
- Replies
- 0
- Views
- 42
- Featured
- Article
- Replies
- 0
- Views
- 45
- Solved
- Replies
- 2
- Views
- 1K
- Replies
- 2
- Views
- 2K