Windows External Harddisk drive letter after cloning boot partition to it [Installing Windows in External drive]

I cloned my windows 7 installation on c: to external hard drive. I applied usb patch  using pwboot and i could successfully boot into windows. But My problem is even though i am booting in to external hd the file reference and system path is pointing to c: on my internal hard disk. If i remove internal hd and boot it will get stuck at  login screen. Is there any way i can force drive letter c: to my boot partition on external hd while booting from it.

Solution:

I found the solution for drive letter conflict.Hope it may help someone. Please hit up if you liked it.

Here are the steps from scratch.

1.Install windows 7 to an internal hard drive.

2.After installation is complete copy the entire partition to external hard disk using easeus partition wizard.Preferably install os in c: of internal and copy the partition to starting of external hd. install bcd to external using easy bcd. donot forget to add the cloned partition to boot menu.

3.Apply USB patch using pwboot(important)  http://reboot.pro/6851/.

3.After that boot into external hard disk while internal hard disk is connected.

4.Internal hard disk will be detected as c. Booting will start from external hd partition but after os boot all file references will go to internal hd as it is detected as c:.

5.Note down the drive letter of cloned partition in external usb.say D:

6.Now disconnect internal hard disk and reboot into external usb. You will  end up in desktop without any toolbar or wallpaper.

7.Press ctrl+alt+del to bring task manager then in run type regedit.

  1. In registry navigate to HKEY_LOCAL_MACHINESYSTEMMountedDevices

  2. Rename “DosDevicesC:” to  say “DosDevicesB:”

10 Then rename “DosDevicesD:” (where d: is the drive letter of windows installation in external usb.) to “DosDevicesC:”

11 Reboot and enjoy windows 7 from external usb hdd.