How to map a drive in Windows

Posted on June 15, 2008 at 5:23 am

Mapping drives is Windows is one of the essential actions everyone should know how to do. Whether you are at home or at the office, there comes a time in everyone’s life when they have to map a drive! It sounds all complicated, but it’s actually really simple to do.

You may need to get some information from your IT administrator at work, since mapping a drive usually means connecting to a server share. A server share is basically a folder on a different computer that is being shared with everyone else. So when you “map a drive”, you are just saying that you want access to that folder on your computer also, which is done by mapping it to a letter, i.e. F, G, H, etc.

In this article, I’ll explain how you can map a drive in Windows XP, Windows Vista, and even map a drive via the command prompt.

Map a drive in Windows XP

Open My Computer and click on the Tools menu option. From the drop down list, choose Map Network Drive.

map network drive

Pick a drive letter that you want to use to access the shared folder and then type in the UNC path to the folder. UNC path is just a special format for pointing to a folder on another computer. You first use two slashes “\\” and then the computer name, \\testcomp and then another “\” followed by the shared folder name, \\testcomp\foldername.

map network drive windows

Click on “Reconnect at logon” to make the connection permanent, which means the drive will still be mapped even after you restart the computer.

If you’re not sure what the name of the folder is, you can click on Browse and try to find the computer that way. Click on Entire Network, then Microsoft Windows Network and then expand out the workgroup or domain that your computer is in.

browse network drive

If there are any shared folders on a computer, you will be able to see them here by expanding each computer individually. Click Finish and you have now mapped a drive!

How to map a network drive in Vista

Mapping a network drive in Vista is slightly different than in XP, but pretty simple also. First, click on Computer from your Start Menu or Desktop. You’ll see a couple of buttons across the top, one of them being “Map network drive“.

map network drive vista

Other than the fancy interface, all of the options are the same! Choose a drive letter, type in the folder path, choose “Reconnect at logon” and click Finish!

mapping network drives

Remember, the folder can be located on a local or remote server or even to a FTP site!

How to map a drive using command prompt

First click on Start and then Run. Type cmd in the Open box.

start run cmd

Then type the following DOS command to map the network drive:

net use x: \\computer name\share name

where x: is the drive letter you want to assign to the shared folder.

net use command

You can delete a mapped network drive using the command prompt by typing in

net use x: /delete

If you have any problems mapping a drive in Windows, post a comment and I’ll try to help you out! Enjoy!

[tags]map network drives, map drives, map a drive, how to map a drive, how to map network drives[/tags]

» Filed Under Computer Tips

Related Posts

Comments

16 Responses to “How to map a drive in Windows”

  1. Silki said on :

    Just landed here accidentally.
    Nice to find a good tech blog.


  2. Abhijeet from Jeet Blog said on :

    I didn’t know how to map a drive through the command prompt. Nice to know that.

    Aseem, btw I have sent you an email. please do check. Thanks.


  3. Bob Gutjahr said on :

    I have an external drive that is connected to my PC and my wife’s PC has a mapping to it through my PC. I would like to give my wife write access. How can I do that?


  4. Alages said on :

    hi guys,

    I tried these with reconnect at login option, but every time i restart the connection seems lost, i have to re-enter user name and password to access the folder. is there any i can map it permanent?

    Thansks


  5. Siva said on :

    I am trying to disconnect a mapped drive on Vitsa permanently but, every time I reboot the machine, the driver gets reconnected. How do I disconnect the mapped drive permanently?


  6. V said on :

    Can anyone tell me what the name of the file in WindowsNT that contains which drives you are mapped to?

    I am trying to find this file for someone but don’t know the name and can’t seem to find it

    thanks


  7. puru said on :

    Nice !
    I would like know
    ” how to share a folder through DOS. in XP


  8. Andy said on :

    Tried the above but the drive letter I want to share isn’t there!!

    I’m on a vista PC with an external HDD attached and I weant to make that HDD available to the other PC’s on our home network which both run XP. I’ve shared the HDD and both of the other PC’s can see the drive on the network but they get an error message about not having permission to access it. Both can see and access the internal HDD’s I’ve shared…anyone any idea?


  9. jolly said on :

    tnx 4 the info on how 2 map network drive using cmd…..


  10. Shane said on :

    Any idea how to disconnect a netowrk mapping permanently. i.e I can disconnect but after reboot the share re appears.
    Running XP Pro. Thanks


  11. firre said on :

    how do I connect my pc to my friends network? I don’t want to use FTP or filesharing.


  12. mike said on :

    You should also mention adding the /persistant to the command line for it to stay mapped even after reboot.

    Quick question though: I have had issues at a few clients offices that the computer will not automatically reconnect to the mapped network drive at boot time. Opening ‘My Computer’ and double clicking the drive (which has a red x) aparently restarts the connection and there are no issues until reboot again. I have scoured the ‘net for a resolution to this problem, and have found only other users that have the same problem. Just thought I’d ask if you guys had any clue as to a specific cause or solution for this issue… thanks in advance.


  13. glen said on :

    Cannot get authenticated to samba share via mapped network drive as keep getting the login prompt…though entering the correct credentials..


  14. Roberta said on :

    Hi I was wondering how can you delete a network password? I am trying to reconnect to our network but cannot seem to remember the user and password information.

    Thanks


  15. Aaron said on :

    Hi Im trying to map to another computer in our home network but every time it trys to connect using \\ipaddress\c$ at the run prompt, it accesses fine until I need to type in a user name and password….is this a user name and password of the computer or network? The computer does not require a password at start up. Need help on this thanks.


    Pingbacks
  1. Super Sunday Links Episode 10 : Madhur Kapoor’s Blog Says:

    [...] Online Tech Tips tells you How to map a file in Windows XP and Vista [...]

Please post your comments/suggestions!