Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change drive letter #4

Open
ArpO1976 opened this issue Apr 15, 2020 · 4 comments
Open

Change drive letter #4

ArpO1976 opened this issue Apr 15, 2020 · 4 comments

Comments

@ArpO1976
Copy link

ArpO1976 commented Apr 15, 2020

Yeah,
it works. MDADM raid0 created under Devuan 2.1, format as NTFS and Crystal Disk Mark gives me 220MB/sec read and write under Windows 10. Not bad for some old 2TB HHDs :)

Now is there a way I can manually set the drive letter? I guess WinMD just took the first free one.
But I would like to set to another one.

Thanks
Olli

@maharmstone
Copy link
Owner

There probably should be some sort of nice interface to do this...

Try going to HKEY_LOCAL_MACHINE\SYSTEM\MountedDevices in Regedit, and renaming the relevant DosDevices entry - it should give it the correct letter after you next reboot.

@ArpO1976
Copy link
Author

Thanks Mark, it worked!

@ajw107
Copy link

ajw107 commented Jul 11, 2020

Just ran into this myself. For those not confident with the registry you can also use Powershell (run as admin). For instance to change it from D to X:

$drive = Get-WmiObject win32_volume -filter 'DriveLetter = "D:"'
$drive.DriveLetter = "X:"
$drive.Put() | out-null

Note for once, you NEED to put the colon (:) in this time (normally with Powershell you don't in my experience)

Great driver by the way, much better than Dynamic Disks or Storage Spaces, way faster. Hope you get chance to flesh it out some more sometime.

@FluorescentGreen5
Copy link

Just ran into this myself. For those not confident with the registry you can also use Powershell (run as admin). For instance to change it from D to X:

$drive = Get-WmiObject win32_volume -filter 'DriveLetter = "D:"'
$drive.DriveLetter = "X:"
$drive.Put() | out-null

Note for once, you NEED to put the colon (:) in this time (normally with Powershell you don't in my experience)

Great driver by the way, much better than Dynamic Disks or Storage Spaces, way faster. Hope you get chance to flesh it out some more sometime.

For those who are trying to change the letter without restarting: Unlike the registry tweak, this doesn't require a restart.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants