1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Windows Change Drive Letter Assignments in command prompt

Discussion in 'Software' started by wyx087, 24 Jun 2009.

  1. wyx087

    wyx087 Homeworld 3 is happening!!

    Joined:
    15 Aug 2007
    Posts:
    11,996
    Likes Received:
    714
    anyone know how to change the drive letter assignments in command prompt? especially the Windows repair command prompt?

    i have managed to move ProgramData and User folders away from SSD onto a hard drive and connected using JunctionPoints. but problem is i can only connect wherever the command prompt puts the partition. if the partition has been assigned to say F for example, i use mklink to link to F, and then in Windows, i cannot change the partition letter to, say T.

    in short, i need a tool (be it downloaded run via browse to its directory or built-in) to change the drive letter assignment of partitions in command prompt, in install disk recovery mode.
     
  2. Delphium

    Delphium Eyefinity enabled

    Joined:
    18 Mar 2007
    Posts:
    1,406
    Likes Received:
    35
    Does "Mountvol" work in recovery console mode?

    I know it allows you to mount a drive to a folder in normal command prompt, unsure if it works as part of the windows recovery console commands, as I understand the commands are limited.

    Code:
    C:\>mountvol
    Creates, deletes, or lists a volume mount point.
    
    MOUNTVOL [drive:]path VolumeName
    MOUNTVOL [drive:]path /D
    MOUNTVOL [drive:]path /L
    
        path        Specifies the existing NTFS directory where the mount
                    point will reside.
        VolumeName  Specifies the volume name that is the target of the mount
                    point.
        /D          Removes the volume mount point from the specified directory.
        /L          Lists the mounted volume name for the specified directory.
    
    Possible values for VolumeName along with current mount points are:
    
        \\?\Volume{a37d46c0-8ccf-11d9-bc6a-806d6172696f}\
            C:\
    
        \\?\Volume{10af0460-742e-11dd-8d24-806d6172696f}\
            D:\
    
        \\?\Volume{f8174052-b2ae-11db-bd00-00065ba293da}\
            E:\
    
        \\?\Volume{a37d46c2-8ccf-11d9-bc6a-f28d50394b38}\
            A:\
    
    C:\>

    Example... I wish to mount the extra volume to the folder c:\mount\driveX

    Code:
    c:
    cd\
    cd mount
    mountvol driveX \\?\Volume{f8174052-b2ae-11db-bd00-00065ba293da}\
    

    Example... I wish to remove this extra volume from the mount path of c:\mount\driveX
    Code:
    c:
    cd\
    cd mount
    mountvol c:\mount\driveX /D
    
     
    Last edited: 24 Jun 2009
    mvagusta and wyx087 like this.
  3. wyx087

    wyx087 Homeworld 3 is happening!!

    Joined:
    15 Aug 2007
    Posts:
    11,996
    Likes Received:
    714
    i thought mountvol is for mounting a partition to a folder path.

    i want to just change the drive letters, nothing to do with the folder path.
     
  4. azrael-

    azrael- I'm special...

    Joined:
    18 May 2008
    Posts:
    3,852
    Likes Received:
    124
    Would "subst" do the trick for you? E.g. "subst B: C:\" assigns the root folder of C:\ to "drive" B:.
     
    mvagusta and wyx087 like this.
  5. wyx087

    wyx087 Homeworld 3 is happening!!

    Joined:
    15 Aug 2007
    Posts:
    11,996
    Likes Received:
    714
    hum, looks like subst is the answer.
    Code:
    subst t: f:\
    makes a T drive letter and inside are all the stuff of F, so i can then do the Junction Point linking. although note to self: assign the letters in Windows FIRST otherwise when restart back will find unable to even log-on (had this happen, "no user profile" and will be stuck on log-on screen. )

    thanks for the awesome response speed.
     
  6. azrael-

    azrael- I'm special...

    Joined:
    18 May 2008
    Posts:
    3,852
    Likes Received:
    124
    Glad to be able to help out. :)
     

Share This Page