How to reserve a letter


This is a workgroup environment, all computers with WinXP Pro SP1.
Now, the configuration is : 2 primary partitions, one for recovery, containing images, and the other, the active and bootable one.
so you C:\ that is the WinXP drive.

Now, account used are Power Users that doesn't allow to change anything in Disk Management.
I don't want to use the administrator group.
So the D:\ is reserve and hidden for the users.

But the "bug" is that when they plug any USB devices (most of the time, mini USB key), most of the time, the D:\ is attribuated, but not accessible...
So, either, you use a little trick, like to connect 2 USB devices -> you use the E:\
Or, I have to log with an administrative account and change the drive letter, but the only problem is when I m not present, the other guy are not able to change the drive letter...

How can I do, what line should I add or modify to reserve the D:\ letter.

I know that under Win98, you would have to change the line in the config.sys, but I am not sure under WinXP.

Thanks for the help.
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

My first thought was this:
There is a DOS command that will assign a virtual drive to a drive letter.
This may allow you to reserve a drive letter by virtualizing a "place holder" for it.
You can use the following from a batch file in the startup group:
Associates a path with a drive letter.
SUBST [drive1: [drive2:]path]
SUBST drive1: /D

  drive1:        Specifies a virtual drive to which you want to assign a path.
  [drive2:]path  Specifies a physical drive and path you want to assign to
                 a virtual drive.
  /D             Deletes a substituted (virtual) drive.

Type SUBST with no parameters to display a list of current virtual drives.

for example, "Subst c:\temp d:\" would give you a d:\ drive that points to the c:\temp directory

My second thought was that you could allow the root of d:\ to be visible, but hide/deny permissions to all files and folders within it.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
ArlAuthor Commented:
thanks, the idea is good, even if I was thinking with something more in the registry... :-) !
I will try tomorrow as I m no more in the place.

ArlAuthor Commented:
Hi Sirtenken,

Sorry for having been so long... quite busy.
Ok, thanks for your tip, actually I used a setting that I disabled and normally everything is fine, but your idea was good and will be rewarded ! (I tested it, but just be sure that your "unmounting" the virtual drive at the beginning, because sometimes there are some strange behaviours ;-) )

Have a nice day and thanks for your help.

glad to have helped.

It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Windows XP

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.