clivebuckwheat Posted January 4, 2011 Posted January 4, 2011 HiI would like to have a partition to always have the letter x;\ for some scripts I have written. After I image the computer with my reference image the partition I would like as X:, shows up as D:\ . I believe it is taking the next available drive letter is there anyway to stop this from happening?
jaclaz Posted January 4, 2011 Posted January 4, 2011 HiI would like to have a partition to always have the letter x;\ for some scripts I have written. After I image the computer with my reference image the partition I would like as X:, shows up as D:\ . I believe it is taking the next available drive letter is there anyway to stop this from happening?It depends "how" you image the computer.If the Disk Signature changes, any "non-standard" drive letter assighed is lost and a "defult drive letter" enumerating is applied.Of course you can manually attribute a Disk Signature and "fix" MountedDevices hive contents in the Registry.Open, when booted from the "original", with the "right" X: assigned, HKEY_LOCAL_MACHINE\SYSTEM\MountedDevices and save it's contents as .reg file.Open when booted from the "restored", with the "X: reassiggned to D:", HKEY_LOCAL_MACHINE\SYSTEM\MountedDevices and save it's contents as .reg file.Compare the two .reg's.jaclaz
Tripredacus Posted January 5, 2011 Posted January 5, 2011 I encountered this problem (in theory anyways) when creating my own recovery partition. There is no easy way to do it! The best idea I came up with was to read something unique about the disk, like the drive serial number or something written into the MBR. Unfortunately, I never got past the R phase of the R&D on that one since the project got shelved.
IcemanND Posted January 6, 2011 Posted January 6, 2011 You will need some way to identify the partition you wish to have the permanent letter for. If you always have the same partition scheme you could run a script on first boot using disk part to select the partition and assign it a new letter.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now