How Do I Do The Equivalent Of Making Subst Mapping Permanent?

Anonymous
2014-03-25T06:08:11+00:00

Windows 8.1 Pro

Surface Pro 2

I am trying to replace laptops with Surface Pro 2.  The laptops normally have C; and a 407 GB V: partions which the applications expect.  Unfortunately, The C: partition of my Surface Pro 2 cannot be shrunk lower than 241 GB which does not leave enough room for a 407 GB V: partition.

I thought I could get around the problem by creating a folder C:\V and using Subst V: C:\V

This works if I enter the Subst command after each login.  It does not persist across logins.

I then tried using a .reg file:

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\DOS Devices]

"V:"="\\?\\C:\\V"

Note: The double back slashes become single ones in the registry.

This created a V: drive but with a ?.  When I tried to open it I got: V:\ is not accessible.  The filename, directory name, or volume label syntax is incorrect.

I also tried:

"V:"="C:\V"

Same results as above.

I then tried using a .reg file:

Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\Software\Microsoft\Windows\Run]

"V Drive"="subst V: C:\V"

This did nothing.

I can't use Net Use to do the mapping because that requires setting up a share.

Is there anyway to get the equivalent of: Subst V: C:\V

but persistent.

Edit:

I should learn to type.  The correct syntax is:

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\DOS Devices]

"V:"="\\??\\C:\\V"

Note the double ?.

That works.

Surface | Surface Pro | Install and update

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments
{count} votes
Answer accepted by question author
  1. Anonymous
    2014-03-27T00:23:17+00:00

    Greetings, saberman

    Thank you for reaching out to us, I understand your concern,

    I recommend you contact the Microsoft MSDN or Enterprise for

    more detail information and additional helps.

    Thank you

    Best regard.

    0 comments No comments

3 additional answers

Sort by: Most helpful
  1. Anonymous
    2014-03-28T00:03:25+00:00

    Perhaps you didn't see my edit:

    Edit:

    I should learn to type.  The correct syntax is:

    Windows Registry Editor Version 5.00

    [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\DOS Devices]

    "V:"="\\??\\C:\\V"

    Note the double ?.

    That works.

    0 comments No comments
  2. Anonymous
    2015-02-12T06:47:19+00:00

    The "net use" command will do what you want.

    Try:> net use V: \%COMPUTERNAME%\C$\V

    1 person found this answer helpful.
    0 comments No comments
  3. Anonymous
    2017-01-18T17:41:59+00:00

    Use PSubst 3 utility. It is a DOS batch file that maps a drive permanently. Works in every windows version after XP.

    Github Repository

    Download latest version Direct link

    0 comments No comments