At my work we have been having a problem with USB devices not showing up on the computer. Our engineers have multiple network drives mapped on their PC's (usually more then 12). It seems that the default drives to assign USB devices is D-G. Well most of our engineers have network drives mapped to these letters so we have to go to their computers and manually change the drive letter of their USB device to something that is unused. It wouldnt be a problem changing it manually by each computer but we have over 250+ computers that will potentially have this problem and it will be very time consuming to go around from computer to computer either changing the registry defaults or changing the drive letter via Disk Managment. Does anyone know of any sort of quick fix for this problem that could possibly executed over the LAN? Or anything faster and safer then a registry edit?
Announcement
Collapse
No announcement yet.
USB drive problems with XP
Collapse
X
-
Originally posted by EeeekPenguinsAt my work we have been having a problem with USB devices not showing up on the computer. Our engineers have multiple network drives mapped on their PC's (usually more then 12). It seems that the default drives to assign USB devices is D-G. Well most of our engineers have network drives mapped to these letters so we have to go to their computers and manually change the drive letter of their USB device to something that is unused. It wouldnt be a problem changing it manually by each computer but we have over 250+ computers that will potentially have this problem and it will be very time consuming to go around from computer to computer either changing the registry defaults or changing the drive letter via Disk Managment. Does anyone know of any sort of quick fix for this problem that could possibly executed over the LAN? Or anything faster and safer then a registry edit?
here at my shop all user accounts are centrally validated and scripting maps network drives for whatever user group standards require. additional mappings can be added by users, with the guideline that they do not supercede our other corp standard mappings.
we usually start our mappings at j: to allow for hardware additions of CDroms, HD's, Flash \ SD readers, and additional non-standard mappings required but not common to all contributors.
if each person has manually mapped drives, this may be more complicated.
are you respondsible for this stuff or just looking for solutions?
Prolly not a help at all,
-goatsIf a chicken and a half, can lay an egg and a half, in a day and a half... how long would it take a monkey, with a wooden leg, to kick the seeds out of a dill pickle?
-
Well I'm a hardware tech and trying to find a solution. Technically I'm not in charge but it is partly my responsibility to find a solution. The problem is each end user assigns their own network drives because each engineer only needs certain network drives.The penguin is watching.
"The DefCon forums dont reward knowledge, but punish iggnorance." -Noid
Comment
-
Originally posted by EeeekPenguinsWell I'm a hardware tech and trying to find a solution. Technically I'm not in charge but it is partly my responsibility to find a solution. The problem is each end user assigns their own network drives because each engineer only needs certain network drives.
anyone else have a suggestion? save me from myself here?If a chicken and a half, can lay an egg and a half, in a day and a half... how long would it take a monkey, with a wooden leg, to kick the seeds out of a dill pickle?
Comment
-
Originally posted by EeeekPenguinsWell I'm a hardware tech and trying to find a solution. Technically I'm not in charge but it is partly my responsibility to find a solution. The problem is each end user assigns their own network drives because each engineer only needs certain network drives.
The best suggestion I can give you is to follow the very old and well known ideals in business:
Control dictates responsibility
If your end users control naming their own drive letters, then it is up to them to resolve the problems which arise from this.
If enough users find they cannot accomplish this task on their own, suggest a policy change for the IT department to specify assigned drive letters and use of policies to provide consistency for all users. If users want to control some drive maps, then set a policy that they may control drives from F: up to drive M: but nothing below F: or above M:.
When you do not follow this model (Control dictates responsibility) then there are people who will set policies that others must be responsible, and since the decisions made by those who set policy do not directly impact their work or image, the person who is blamed is the person who has to implement the policy dictated to them. Your reputation is not created by how well you do your work, but by who is setting the policies that you must follow. If they decide to "dehire" you, then they only need to set policies for you which you cannot achieve and then they have "proof you cannot do your job." (bad place to be.) If your raises are hooked into productivity, then your raises are even further removed from your influence.
Invest time now to set new policy, revise workstations drive settings, and use a short-term use of resources to solve a problem that would otherwise have a high Total Cost of Ownership as projected over years. If need be, work numbers to show the advantage of such a change to your boss who then may take your work as their own to convince their bosses; even if you do not get credit, your work-life will likely become easier and your boss will like you.
Comment
-
We could do that but the problem is the USB wont assign it self do a drive below F. There will be drives that are open but it wont assign itself to that letter. I believe the default USB drive letters are D,E,F,G. When I connect the USB key I can change the drive letter to Z and it will write itself in the registry but that only works for that specific key. I thought of a possible solution though (please tell me if it doesnt work) I found in the registry where the USB drives are assigned. If I edit the registry to set the F-Z drives as DosDevices (which is what is labeled as) shouldnt it allow the USB to be assigned to any of those drives while they can still be mapped? I think this should work because as I said before the engineers were mapping network drives over the default USB drives so it shouldnt be a problem if an engineer maps drives from F-H and then the USB should auto default to I.The penguin is watching.
"The DefCon forums dont reward knowledge, but punish iggnorance." -Noid
Comment
-
Originally posted by EeeekPenguinsWe could do that but the problem is the USB wont assign it self do a drive below F. There will be drives that are open but it wont assign itself to that letter. I believe the default USB drive letters are D,E,F,G. When I connect the USB key I can change the drive letter to Z and it will write itself in the registry but that only works for that specific key. I thought of a possible solution though (please tell me if it doesnt work) I found in the registry where the USB drives are assigned. If I edit the registry to set the F-Z drives as DosDevices (which is what is labeled as) shouldnt it allow the USB to be assigned to any of those drives while they can still be mapped? I think this should work because as I said before the engineers were mapping network drives over the default USB drives so it shouldnt be a problem if an engineer maps drives from F-H and then the USB should auto default to I.
Way back when, the "LASTDRIVE" would default to "E:"
I even found a URL for this :-)
It sounds like you might be bumping into this limit. [But I am not sure that this is how to solve this problem in present Windows, as much of my experience was the early DOS, Win95/98 and NT days for end-desktops, but you at least have something to try.]
When you use "net use DRIVE_LETTER: \\UNC" you can generate drive letters higher than the LASTDRIVE (IIRC) and this may be a solution for you.
HTH
[Edit: added content below]
Doing a search on google for: "lastdrive=" +system +"control panel"
provided this:
USB Drives disappear
It looks like this might be the right track and what you point out may be the way it is done in Windows XP and beyond.Last edited by TheCotMan; June 23, 2004, 13:07.
Comment
-
Originally posted by EeeekPenguinsThat would work but the only problem is that all of these machines are running XP.
Comment
-
What I found out is that when I plugged in a USB storage device and changed the drive letter to Z and unplug it then plug it back in, it would map itself to Z. But that only works specifically for that storage device. When I plug in another device it goes back to the defaults. The only problem Iam having with adding all those registry strings is that the 'DosDevices' string is a binary string so I dont know how to script a whole binary string for 20+ drives.The penguin is watching.
"The DefCon forums dont reward knowledge, but punish iggnorance." -Noid
Comment
-
Originally posted by EeeekPenguinsWhat I found out is that when I plugged in a USB storage device and changed the drive letter to Z and unplug it then plug it back in, it would map itself to Z. But that only works specifically for that storage device. When I plug in another device it goes back to the defaults. The only problem Iam having with adding all those registry strings is that the 'DosDevices' string is a binary string so I dont know how to script a whole binary string for 20+ drives.
plugging it back in after enumeration would be returning it to a known set of states / environment vizzles; drivers would already be hooked by the OS.
but on the whole... you've tackled a cumbersome issue...
best luck man!
-goatsIf a chicken and a half, can lay an egg and a half, in a day and a half... how long would it take a monkey, with a wooden leg, to kick the seeds out of a dill pickle?
Comment
-
Originally posted by EeeekPenguinsWhat I found out is that when I plugged in a USB storage device and changed the drive letter to Z and unplug it then plug it back in, it would map itself to Z. But that only works specifically for that storage device. When I plug in another device it goes back to the defaults. The only problem Iam having with adding all those registry strings is that the 'DosDevices' string is a binary string so I dont know how to script a whole binary string for 20+ drives.
Create a program that extracts each key in the registry for each drive letter assigned device as well as the new drive which has been assigned a default key and then if the binary key data uses fixed field sizes, or a logical field separation, you can break on the known field, read in the binary data you do not know, add the new drive assignment you do want, then append the rest of the string you do not know and take the result and replace the data for the keypath found.
It would require some system/shell/exec calls for registry dumping to file and some work with the resulting files, but I don't see why you could not build a program to help you:
They connect the USB Drive/KeyStorageDevice,
then they disconnect it
Then they run your program which modifies the key for that new device,
Now they reconnect the device and it uses the new drive letter.
You could even have the program accept an arg for what drive letter and read it with argv/argc.
Yeah, I know, it is a lot of work, but it is a method for automation of this task if you cannot find where the OS is limiting the max drive letter than can be assigned for new devices which are connected to the system.
Part of me says that there must be a setting in the registry, or an env var that can be set for the system to alter the max drive letters which can be assigned.
Comment
-
A program like that would be ideal. I do agree that there must be something in the registry that limits the max drive letter. Since my programming knowledge is limited I dont think I will be able to program anything that will work effectively.The penguin is watching.
"The DefCon forums dont reward knowledge, but punish iggnorance." -Noid
Comment
Comment