How to reserve a letter

Posted on 2004-10-21
Last Modified: 2012-05-05

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.
Question by:Arl
    LVL 9

    Accepted Solution

    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.
    LVL 3

    Author Comment

    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.

    LVL 3

    Author Comment

    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.

    LVL 9

    Expert Comment

    glad to have helped.


    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    6 Surprising Benefits of Threat Intelligence

    All sorts of threat intelligence is available on the web. Intelligence you can learn from, and use to anticipate and prepare for future attacks.

    There are 2 things you must have in order to connect to the internet behind a router, The "Gateway IP" of the router, which is usually something like, I've seen routers with default values of:,,, …
    We have adopted the strategy to use Computers in Student Labs as the bulletin boards. The same target can be achieved by using a Login Notice feature in Group policy but it’s not as attractive as graphical wallpapers with message which grabs the att…
    In this Experts Exchange video Micro Tutorial, I'm going to show how small business owners who use Google Apps can save money by setting up what is called a catch-all email address in their Gmail accounts. By using the catch-all feature, small busin…
    This video is in connection to the article "The case of a missing mobile phone (". It will help one to understand clearly the steps to track a lost android phone.

    846 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    5 Experts available now in Live!

    Get 1:1 Help Now