johnhart96 Posted October 20, 2014 Posted October 20, 2014 Hi All, We have a problem on-site were computers that have card readers use the H: drive for one of the readers. We need to change this (site-wide) because we use the H: drive for a network drive. The only way I can see to do this is via a .reg script to run at start up because you need to rename the value name. In the script we will need to change the name of the key and not the value, so I believe that we need to delete the key and add a new key with the same value. Here is the links I have used. How to change the drive letter: https://social.technet.microsoft.com/Forums/windows/en-US/dfd5ea9c-103b-4a78-b4b9-80594e8cd1f5/change-drive-letter-designation-on-internal-sd-card-reader?forum=w7itproui Reg scripts: http://support.microsoft.com/kb/310516 The problem I have is that in the script it will look like this: -HKEY_LOCAL_MACHINE\SYSTEM\MountedDevices\\DosDevices\D The name of the value is "\\DosDevices\d". Any help will be much appreciated. John
IrritableTech Posted October 20, 2014 Posted October 20, 2014 When we had this issue in the past we used USBDLM: USB Drive Letter Manager - USBDLM Wasn't this fixed though in Windows 7? 1
plexer Posted October 20, 2014 Posted October 20, 2014 The best thing to do is to look at your mapped drive letter assignments and not use letters lower than you need to and thus this won't be a problem. Perhaps P for Personal Drive instead of H for Home Drive? Ben
Ephelyon Posted October 20, 2014 Posted October 20, 2014 (edited) @johnhart96, do you know what drive letter you'd like to change the reader's current H: assignment to - like Z: or something? Let me know and I'll give you a PowerShell script you can deploy on startup for the affected computers. It's just a one-liner and we're using it successfully here. Edited October 20, 2014 by Ephelyon
plexer Posted October 20, 2014 Posted October 20, 2014 @johnhart96, do you know what drive letter you'd like to change the reader's current H: assignment to - like Z: or something? Let me know and I'll give you a PowerShell script you can deploy on startup for the affected computers. Can you not just post it and highlight what needs to be changed that way you can help more than one person. Ben
johnhart96 Posted October 20, 2014 Author Posted October 20, 2014 Hi all, thanks for the replys. I think @IrritableTech has the best solution. otherwise we will still be here next year if we change the drive letter. Thanks John
Ephelyon Posted October 20, 2014 Posted October 20, 2014 Ben, that's simply a far too logical approach for me this morning! echo h: | %{$a = mountvol $_ /l;mountvol $_ /d;$a = $a.Trim();mountvol z: $a} Just change the z: to whatever you want. Change the h: too if it's a different drive you want changed; you can do it for multiple drives at once by adding more lines with the values you want. 1
Ephelyon Posted October 20, 2014 Posted October 20, 2014 If you deploy that as a PowerShell startup script you can do it site-wide without leaving your desk! =]
johnhart96 Posted October 20, 2014 Author Posted October 20, 2014 If you deploy that as a PowerShell startup script you can do it site-wide without leaving your desk! =] Hi I have made a custom install package with USBDLM with the INI for the drive letters. I am going to role out this MSI with a GPO.
johnhart96 Posted October 20, 2014 Author Posted October 20, 2014 Hi All, Again many thanks for all that have helped out. Attached is my package that I am rolling out via GPO. I thought it was best to post my results for people finding this post in the future. Card Reader Manager.zip In the Zip you will find the following. RAW program files for both 64bit and 32bit Setup files for both 64bit and 32bit. Advanced installer project files for both to make changes to the config being rolled out just edit the USBDLM.ini inside the reverent .cab archive. 2
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