AvoidErrors

A Computer Tutorial Site

  • Subscribe
  • Home
  • Tutorials
    • Windows XP
    • Windows 7
    • Windows 8
    • Server 2008
    • Server 2012
  • Tech Tips

Map Network Drive via Command Line

This is a video tutorial on how to Map network drive Via command line. We can map a network drive from windows command line using the net use command

net use z: \SERVERPhotos

Z = would be the drive letter added to your computer
SERVER = is the network computer name
Photos = is the shared folder on the computer named Photos

The above command maps the drive letter Z: to the network share \networkpcsharename. If the logged in user has credentials to access
this network share, the above command completes successfully without asking for username or password. Otherwise it will prompt for user name
and password and user has to credentials with which the share can be accessed. Upon providing this information, the share will be mapped to the drive Z:

We can also use * instead of Z:. This will automatically pick up the unused drive letter starting from Z:

You can also specify username and password in net use command. See examples below.

net use * \networkpcshare /u:domainnameusername password

If you don’t want to type the password in plain text in the windows command line you can specify just the user name. Net use will prompt you for the password.

net use * \networkpcshare /u:domainnameusername

You can use Net use command to map webdav shares also.

Map system drive (C:)  of remote computer

If you have administrator access to the network computer then you can map the system drive or any other drive of the remote computer with the below command.

net use \networkpcC$ /u:username password

Click here to cancel reply.

Add Your Comment

Your email will not be published.

  • Google+
    • Recent
    • Popular
    • Comments
    • Join Windows 8 to Server 2012 Domain1

      Unlock Administrator Account in Windows 8

      May 30, 2013 No comments
    • Set Up Remote Desktop Services on Windows Server 2012 2

      Share a folder in Windows Server 2012

      May 20, 2013 No comments
    • Remote Access a PC using Google Chrome Remote Desktop Extension2 - Copy

      Remote Access Windows Server 2012

      May 20, 2013 No comments
    • How To Setup VPN on Windows 72

      Setup a Virtual Private Network in Minutes using Gbridge

      May 20, 2013 No comments
    • Backup to SkyDrive Automatically Using SyncToy 2

      Backup to SkyDrive Automatically Using SyncToy

      May 19, 2013 No comments
    • bootmgr

      How to Format and Reinstall Windows 7

      February 10, 2011 896 Comments
    • this-copy-of-windows-is-not-genuine

      How to Remove Windows Genuine Advantage Notification

      July 6, 2011 182 Comments
    • hard_drive

      How to Format your Hard Drive using windows xp and Vista

      August 24, 2010 143 Comments
    • xara-studio

      Create Flash Photo Gallery in Xara Designer Pro 6

      October 6, 2010 141 Comments
    • hard_drive

      Hard Drive not showing up

      October 24, 2010 130 Comments
    • John: BTW I have found some information regarding this: http://www.humberto...

    • John: Dear Miguel, I did that as you recommended. Nothing happens :) The...

    • Miguel: Try installing it along side creating the partitions in linux mint loo...

    • Miguel: no this method does not support concurrent RDP. but this tutorial migh...

    • hilton6i9e: Amazing! This could be a particular of the very most valuable websites...

  • Connect with us:
  • Twitter
  • Facebook
  • YouTube
  • RSS
  • © 2013 AvoidErrors.net
  • Powered by WordPress