topbanner_forum
  *

avatar image

Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
  • Thursday March 28, 2024, 2:58 pm
  • Proudly celebrating 15+ years online.
  • Donate now to become a lifetime supporting member of the site and get a non-expiring license key for all of our programs.
  • donate

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - narf41 [ switch to compact view ]

Pages: [1]
1
Living Room / Re: Force USB Drives to use Drive Letter X
« on: November 28, 2017, 03:57 PM »
I know this is necro'ing a super old thread, but I couldn't find an answer anywhere online and so once figuring it out I wanted anyone else who stumbled across this to get a solution.

You can clonezilla one of the drives onto another drive. There's also likely a fancy way of doing it by cloning the volume guid but clonezilla worked for my purposes so I didn't look into it.

What I can verify for you is that it does not come from the disk id so modifying this via diskpart is not helpful, and that you can get volume guid's using powershell: GWMI -namespace root\cimv2 -class win32_volume Hopefully somebody smarter than me can figure out how to change or specify volume guid and test it out or at least determine if this is indeed where the reg value comes from so we can dynamically do this without cloning entire drives.

How it works: When you assign a drive letter to a drive windows stores this in the registry under the key hklm\system\mounteddevices. You can observe that when you assign a new drive the X letter (for example) the data portion for the reg_binary (\dosdevices\x: in this case) is overwritten with the new drive and you can't have multiple entries with different values, so the next time you plug in that old drive it won't be X anymore.

Pages: [1]