Share via

Map network drive for local user

Anonymous
2021-07-29T14:38:53+00:00

Hello,

I need to map a network drive for local user (John, standard user). I am logged on as Administrator (Built-in) and I am using the command: net user John /homedir:"\pc2\John's folder" in CMD. In Windows 7 after using this command user John has that network drive mapped in his Computer (as (Z:) John's folder (\pc2)) after his next successful logon. However, in Windows 10 I get the: "The command completed successfully." message (as in Windows 7) but there is no network drive mapped in users ThisPC. Windows 10 is the latest version with all the updates.

Any suggestions how I can do this?

Windows for home | Other | Internet and connectivity

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

7 answers

Sort by: Most helpful
  1. Anonymous
    2021-07-30T09:14:36+00:00

    Thanks for the reply ,

    What version of Windows 10 are you using?

    Can you try this alternative to see if it's work :

    Log in the administrator account

    Type "Computer Management" in the search bar

    Then go in.

    Go to "Local user and groups" tab.

    Right click on John name then click on "Properties".

    Go to the "Profil" Tab

    In the "Home folder" section ,

    Click on "Connect"

    Select "Z": as the letter then paste the path you want as home folder for John then apply .

    Log off the administrator account and log in the John's account to see if everything is correct.
    Image

    3 people found this answer helpful.
    0 comments No comments
  2. Anonymous
    2021-07-29T23:29:49+00:00

    Ok, this command maps the network drive for the user that is executing it (Administrator). I need command or way to map network drive for the user that is currently logged off (John) in Windows 10. To clarify, here is the link to the video that shows exactly what I mean in Windows 7: shorturl.at/fAOVZ

    2 people found this answer helpful.
    0 comments No comments
  3. Anonymous
    2021-07-29T16:08:09+00:00

    Perfect thanks for the reply, so if the alternative works.

    As you just want to map a network drive for this user can you try this command :

    net use Z: \pc2\John's folder name /USER:John his password

    Exemple: net use Z: \pc2\Homework /USER:John pinneaple

    "net user" command do a different job .

    2 people found this answer helpful.
    0 comments No comments
  4. Anonymous
    2021-07-29T15:22:53+00:00

    Hello Ducza,

    I'm Ludwig and it is a pleasure to bring you a solution to this problem ,

    Reminder: You need to log into the John session before to apply this solution

    Can you apply this alternative to see if the drive is properly mounted :

    https://support.microsoft.com/en-us/windows/map...

    Please be ensure that the "Reconnect at Sign-in (or Logon) option" is checked if you want the drive to be mounted each time the user logs in .

    Kind regards.

    1 person found this answer helpful.
    0 comments No comments
  5. Anonymous
    2021-07-29T15:33:41+00:00

    Yes, when I login as user John I can map that drive and use it as intended, but I can't map it as Administrator for user John in Win10 as I can do in Win7.

    0 comments No comments