Drive letter changed, W7 wont boot

matt2k

Distinguished
May 4, 2007
165
0
18,680
Hi Guys,

I've recently acquired a new pc, so I thought I'd pop my old hard drive in. When booting it gets to the W7 splash screen but then restarts.
I plugged it into my laptop as an external hdd and noticed that the hidden partition (100mb) has become the c drive and what was the c drive is now the d drive. I mad a W7 boot usb to access system repair, tried restoring windows to a previous state but that failed, i'm assuming because it was trying to restore the c drive (which is now d).
So basically, is there any way to rename the d drive back to c and revert the current c to a hidden partition?
when booting (vie usb) into repair mode I can access the command prompt so I'm assuming i can access diskpart as well.
Any help would be greatly appreciated, cheers guys x
 
Solution
Well, the assigned driver letter is dynamic and not the problem here. Your windows started in the first place and will do that again. The reason for the restart are the drivers, that don't fit to the new hardware. Plug it in again and try to start windows in safe mode, unistall the hw-specific drivers and reboot.

matt2k

Distinguished
May 4, 2007
165
0
18,680


I can get into recovery and access the command prompt, just dont know how to go about changing the drive paths :/
 
Well, the assigned driver letter is dynamic and not the problem here. Your windows started in the first place and will do that again. The reason for the restart are the drivers, that don't fit to the new hardware. Plug it in again and try to start windows in safe mode, unistall the hw-specific drivers and reboot.
 
Solution

matt2k

Distinguished
May 4, 2007
165
0
18,680


Cheers buddy, cleaned out all the old drivers and it worked :)