Microsoft KB Archive/308582

= How to connect and disconnect a network drive in Windows XP =

Article ID: 308582

Article Last Modified on 6/7/2004

-

APPLIES TO


 * Microsoft Windows XP Professional Edition
 * Microsoft Windows XP Home Edition

-



This article was previously published under Q308582



IN THIS TASK

 * INTRODUCTION
 * Connect a drive from My Network Places
 * Connect a drive from My Computer or Windows Explorer
 * Use the Net Use command to connect a drive
 * Disconnect from a mapped network drive



INTRODUCTION
To connect and disconnect a network drive in Microsoft Windows XP, you can use one of the four methods that are described in this article. You can map a drive letter to any shared resource on a network. When you do so, you can quickly and easily access the resource by using either the Windows XP user interface or a command prompt. For each mapped drive, an icon appears in My Computer and a listing appears in the left pane of Windows Explorer.

back to the top

Connect a drive from My Network Places

 * 1) Click Start, click My Network Places, click Entire Network, and then double-click Microsoft Windows Network.
 * 2) Double-click the domain that you want to open.
 * 3) Double-click the computer that has the shared resource you want to map. All the shared resources for that computer automatically appear in the window.
 * 4) Right-click the shared drive or folder that you want to map, and then click Map Network Drive.
 * 5) Click the drive letter that you want to use, and then specify whether you want to reconnect every time that you log on to your computer.

Note Network drives are mapped by using letters starting from the letter Z. This is the default drive letter for the first mapped drive you create. However, you can select another letter if you want to use a letter other than Z.
 * 1) Click Finish.

A windows opens that displays the contents of the resource you mapped.

back to the top

Connect a drive from My Computer or Windows Explorer

 * 1) To connect a drive from My Computer, click Start, right-click My Computer, and then click Explore.

To connect a drive from Windows Explorer, right-click Start, and then click Explore.
 * 1) On the Tools menu, click Map Network Drive.
 * 2) In the Drive box, click a drive letter.
 * 3) In the Folder box, type the UNC path for the server and shared resource in the following format: \\server name\share name . You can also click Browse to find the computer and shared resource.

You can map shared drives and shared folders. When you access a shared drive or folder you can also access subfolders if you have the appropriate permissions. However, you cannot map a drive for a subfolder that is not explicitly configured as a shared resource.

back to the top

Use the Net Use command to map or disconnect a drive
You can use the net use command for batch files and scripts. To use the net use command to map or disconnect a drive:
 * To map a network drive:
 * Click Start, and then click Run.
 * In the Open box, type cmd.
 * Type net use x: \\computer name\share name, where x: is the drive letter you want to assign to the shared resource.
 * To disconnect a mapped drive:
 * Click Start, and then click Run.
 * In the Open box, type cmd.
 * Type net use x: /delete, where x: is the drive letter of the shared resource.

back to the top

Disconnect from a mapped network drive

 * 1) Click Start, and then click My Computer.
 * 2) Right-click the icon for the mapped drive.
 * 3) Click Disconnect.

Note When you disconnect from a mapped drive, you remove the mapped drive letter that you assigned to the shared resource. You can still access the resource from My Network Places.

back to the top

Keywords: kbhowtomaster kbenv kbnetwork KB308582

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.