1. You are viewing our forum as a guest. For full access please Register. WindowsBBS.com is completely free, paid for by advertisers and donations.

Drive Mappings

Discussion in 'Windows XP' started by Chris H, 2006/01/13.

  1. 2006/01/13
    Chris H

    Chris H Inactive Thread Starter

    Joined:
    2002/10/09
    Messages:
    107
    Likes Received:
    0
    This is a rather obscure question I hope someone can answer.

    I'm trying to determine where in the Windows registry Windows 98, 2000 and XP store information for drive letter paths. *crosses fingers* Hopefully, in the same place for all 3.

    For instance, if I partition a hard drive into two partitions Windows makes the first position letter C by default. It then makes the second partition letter D.

    However, using the Windows Disk Management service you can change the drive letter D to any available letter from E to Z.

    I'm trying to figure out where in the registry this information is stored.
     
  2. 2006/01/13
    McTavish

    McTavish Inactive

    Joined:
    2005/06/24
    Messages:
    576
    Likes Received:
    1
    Don’t know about Win9x but 2K/XP it’s
    HKEY_LOCAL_MACHINE\SYSTEM\MountedDevices

    Win98 does not permanently store drive letter assignments as it will remap them on every boot and assign them in a predetermined order. http://support.microsoft.com/default.aspx?scid=kb;en-us;Q51978

    WinNT remembers previously mounted devices, but will map them the same as 9x if there are none in its memory, however that will only natively happen on first install on a clean hard drive.

    With 9x yes, but it’s not always the case with WinNT.

    Why do you want to find the drive letter assignments in Windows? If it’s because you want to change the original drive letter of a WinNT install then it can’t be done. http://support.microsoft.com/kb/223188/EN-US/
     

  3. to hide this advert.

  4. 2006/01/14
    Chris H

    Chris H Inactive Thread Starter

    Joined:
    2002/10/09
    Messages:
    107
    Likes Received:
    0
    I'm writing a VB app for a WinXP BartPE boot CD that will find the user profiles on a non-active system and load them into it's registry for manipulation. I wanted to track down where each user profile is along with where the system's temp folders are located.

    From what you've described, I think it'll be easier to just get the profile path and probe each writable drive to find it. Since very few people know how to change their Environ paths it would probably be overkill to try and program this added functionality anyway.

    Thanks for the info though it comes in handy.
     
  5. 2006/01/14
    McTavish

    McTavish Inactive

    Joined:
    2005/06/24
    Messages:
    576
    Likes Received:
    1

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.