映射驱动器是不同设备上特定驱动器的快捷方式,使您能够访问本地网络上共享的资源或FTP 服务器或网站(FTP server or website)上的文件。
它看起来就像本地硬盘驱动器上带有自己的字母(drive with its own letter)的快捷方式,即使打开就好像它在驱动器上一样,但文件物理上完全存储在不同的计算机或设备(computer or device)上。
映射与安装驱动器不同,因为它允许您打开远程文件,就像它们存储在您自己的计算机上一样,而安装允许您打开文件,就像它是一个文件夹一样。
使用映射网络驱动器(network drive)的主要限制是它依赖于工作网络(working network),因此如果它关闭或连接不正常(connection isn’t working properly),您将无法访问映射驱动器中的文件。
如何在 Windows 10 上映射网络驱动器(How To Map a Network Drive On Windows 10)
我们将向您展示在Windows 10中映射(Windows 10)网络驱动器(network drive)的两种方法:使用文件资源管理器(File Explorer)和使用命令提示符(Command Prompt)。
使用文件资源管理器(File Explorer)映射网络驱动器(Map Network Drive)Windows 10
- 将网络驱动器(network drive)连接到路由器。
- 单击任务栏上的开始(Start),然后选择设置(Settings)>网络和 Internet(Network & Internet)。
- 转到更改高级(Change Advanced) 共享选项(Sharing options)。
- 单击打开网络发现(Turn on network discovery)。
- 单击保存更改(Save changes)。如果Save Changes 按钮显示(Save Changes button)为灰色,则表示 Network Discovery已启用,因此您可以忽略此步骤。
- 接下来,按Windows logo key+E文件资源管理器(File Explorer)。
- 单击此 PC(This PC)并转到计算机(Computer)选项卡。或者,使用 Cortana搜索此 PC 。(This PC)
- 在主窗口中,检查您看到的每个驱动器的字母并记下它们,以免创建重复(t create duplicate)的驱动器。避免(Avoid)使用字母 C、D 和 F(D and F),因为它们通常分配给本地存储和可移动媒体,如USB驱动器和光盘。这也可以确保您不会遇到(t encounter)麻烦。
- 单击映射网络驱动器(Map Network Drive)按钮(帮助您连接到网络上的新远程资源)。
- 在驱动器(drive)列表中选择一个驱动器号,然后搜索网络驱动器(network drive)。要导航到驱动器本身,请单击弹出菜单中的浏览(Browse )。
注意(Note):如果这是您的第一个网络驱动器(network drive),您会在驱动器列表中看到一个。如果您有多个网络驱动器(network drive),当您单击“浏览”按钮(Browse button)时,您会看到其中的几个。
- 在“文件夹(Folder)”框中,键入文件夹或计算机路径(folder or computer path),或单击“浏览(Browse)”进行查找。
- 每次登录计算机时选择登录时重新连接以进行连接。(Reconnect at sign-in)它确保您每次都可以使用映射的驱动器,但如果您不想要这个,请取消选中该框。
- 在驱动器中找到共享文件夹或创建一个新文件夹,您可以将文件放入其中以便从任何位置访问。要创建文件夹,请右键单击新建文件夹(New Folder),并为其命名,以便在需要在其他设备上找到它时记住。
- 如果您需要使用不同帐户的凭据访问共享网络文件夹(network folder),请勾选使用不同凭据连接(Connect using different credentials)。
- 您将收到输入共享网络登录信息的提示,即(network login information i.e). 您要连接的计算机的用户名和密码。(username and password)使用您能记住的密码,以防其他同事或家庭成员需要使用它。
注意(Note):如果您的 NAS 设备有用户名和密码(username and password),您可能需要输入它才能访问驱动器。
- 单击完成(Finish)。您将看到一个由您之前分配(drive letter you assigned)的驱动器号表示的驱动器的新窗口。它还将显示共享文件夹,您可以从中查看和打开网络驱动器(network drive)上的文件。
注意(Note):如果您无法映射网络文件夹或驱动器(network folder or drive),请检查您尝试连接的计算机是否已关闭,或检查您是否拥有正确的权限。您也可以咨询您的网络管理员(network administrator)。
您将在“这台电脑(This PC)”下的“文件资源管理器(File Explorer)”的侧栏中看到列出的网络驱动(network drive)器。从这里,您可以打开它并将文档、媒体或其他文件等文件拖到其中。您也可以像处理其他文件和文件夹一样复制/剪切和粘贴。
当您完成映射驱动器并且不再需要它时,只需右键单击它并选择Disconnect。
使用命令提示符(Command Prompt)映射网络驱动器(Network Drive)Windows 10
在Windows(Windows)中使用映射驱动器的一种高级方法是在Windows中(Windows)使用 net use 命令(use command),如果您愿意,也可以在PowerShell中使用。(PowerShell)
- 单击开始(Click Start)并在搜索栏中(search bar)键入CMD。
- 单击命令提示符(Command Prompt)下的打开(Open)。
- 在命令提示符窗口中,键入net use DRIVE: PATH并按Enter。(DRIVE代表您将使用的驱动器号(drive letter),PATH(use and PATH)代表用于共享的UNC 路径(UNC path)。所以它看起来像:net use g: \\tower\entertainment
- 如果您要连接的共享受密码或其他身份验证保护,并且您不想在每次打开网络驱动器(network drive)时继续输入凭据,您可以将您的用户名和密码添加到命令中。
例如,如果我们的用户名是OTT,密码是Bringthatbeatback,那么命令将类似于:net use g: \\tower\entertainment /user:OTT bringthatbeatback
- 当您重新启动计算机时,映射的驱动器可能会消失,因为默认情况下它们不是持久的。在这种情况下,您可以添加/persistent开关以确保它们保持不变。
要创建持久连接,请键入/persistent:Yes,以便将来使用此命令建立的连接将保持不变,直到您使用/persistent:No切换将其关闭。
- 它看起来像这样:net use g:\\tower\entertainment /user:OTT bringthatbeatback /persistent:Yes
- 要在命令提示符下(command prompt)删除映射的网络驱动器(network drive),请指定驱动器(drive letter)号和添加/删除开关,如下所示:net use DRIVE: /delete. 例如,我们使用驱动器号g(letter g),因此您将键入命令net use g: /delete
如何在Windows 7、8(Windows 7)和 XP上映射网络驱动器(Network Drive)
Microsoft自 2020 年 1 月(January 2020)起停止支持Windows 7,但您可以升级到Windows 10,以便获得定期安全更新和技术支持。
- 在这些较旧的 Windows 版本中映射网络驱动器更简单。(network drive)在开始菜单或桌面上(Start menu or desktop),单击计算机(Computer ),然后选择映射网络驱动器(Map network drive)。
- 选择要映射的网络驱动器的(network drive)驱动器号。(drive letter)在文件夹字段中(Folder field),输入UNC 路径(UNC path),然后单击完成(Finish)。 Windows XP有几种不同的方法来映射网络驱动器(network drive),但以上步骤使用 Windows资源管理器(Explorer)来映射驱动器。
您(Were)是否能够使用我们在本指南中介绍的步骤映射您的网络驱动器?(network drive)在下面的评论中告诉(Tell)我们。
How to Map a Network Drive in Windows
A mapped drive is a shоrtcυt to the specific driνе on a different device that enables you tо access rеsources shаred on a local network, or files on a FTP server or website.
It looks just like the shortcut on your local hard drive with its own letter, even opening as though it were on the drive, but the files are physically stored on a different computer or device altogether.
Mapping is different from mounting a drive as it allows you to open remote files as though they were stored on your own computer, while mounting allows you to open a file as if it were a folder.
The main limitation with using a mapped network drive is that it depends on a working network, so if it’s down, or the connection isn’t working properly, you can’t access the files in the mapped drive.
How To Map a Network Drive On Windows 10
We’ll show you two ways of mapping a network drive in Windows 10: Using File Explorer and using Command Prompt.
Using File Explorer to Map Network Drive Windows 10
- Connect your network drive to your router.
- Click Start on the taskbar and select Settings>Network & Internet.
- Go to Change Advanced Sharing options.
- Click Turn on network discovery.
- Click Save changes. If the Save Changes button is grayed out, it means Network Discovery is already enabled, so you can ignore this step.
- Next, open File Explorer by pressing the Windows logo key+E.
- Click This PC and go to the Computer tab. Alternatively, search for This PC with Cortana.
- In the main window, check the letters for each drive you see and note them down so that you don’t create duplicate ones. Avoid using letters C, D and F as these are usually assigned to the local storage and removable media like USB drives and discs. This also ensures you don’t encounter complications down the line.
- Click the Map Network Drive button (helps you connect to a new remote resource on the network).
- Select a Drive letter in the drive list, and search for the network drive. To navigate to the drive itself, click Browse in the popup menu.
Note: If this is your first network drive, you’ll see one on the drive list. If you have several network drives, you’ll see several of them when you click the Browse button.
- In the Folder box, type the folder or computer path, or click Browse to find it.
- Select Reconnect at sign-in to connect each time you log into your computer. It ensures the mapped drive is available to you every time, but if you don’t want this, uncheck the box.
- Find the shared folder in the drive or create a new one, where you can drop files into for access from any location. To create a folder, right-click New Folder, and give it a name you can remember when you need to find it on a different device.
- If you need to access the shared network folder using credentials for a different account, tick Connect using different credentials.
- You’ll get a prompt to enter the shared network login information i.e. username and password of the computer you want to connect to. Use a password you can remember in case other colleagues or family members need to use it.
Note: If your NAS device has a username and password, you may need to enter it to access the drive.
- Click Finish. You’ll see a new window for the drive denoted by the drive letter you assigned earlier. It’ll also display the shared folders, from which you can view and open files on the network drive.
Note: If you’re unable to map a network folder or drive, check whether the computer you’re trying to connect to is turned off, or check whether you have the correct permissions. You can also check with your network administrator.
You’ll see the network drive listed on the sidebar in File Explorer under This PC. From here, you can open it and drag files such as documents, media or others to it. You can also copy/cut and paste as you would with other files and folders.
When you’re done with the mapped drive and don’t need it anymore, just right-click on it and select Disconnect.
Using Command Prompt to Map a Network Drive Windows 10
An advanced way of working with a mapped drive in Windows is by using the net use command in Windows, or in PowerShell if you prefer.
- Click Start and type CMD in the search bar.
- Click Open under Command Prompt.
- In the Command Prompt window, type net use DRIVE: PATH and press Enter. (DRIVE represents the drive letter you’ll use and PATH represents the UNC path for sharing. So it would look something like: net use g: \\tower\entertainment
- You can add your username and password to the command if the share you’re connecting to is protected with a password or other authentication and you don’t want to keep typing the credentials each time you open the network drive.
For example, if our username is OTT and password is bringthatbeatback, the command will look something like: net use g: \\tower\entertainment /user:OTT bringthatbeatback
- When you restart your computer, the mapped drive may disappear, as they’re not persistent by default. In this case, you can add the /persistent switch to make sure they stick around.
To create a persistent connection, type /persistent:Yes so future connections made using this command will be persistent until you turn it off using the /persistent:No toggle.
- It will look something like this: net use g:\\tower\entertainment /user:OTT bringthatbeatback /persistent:Yes
- To delete the mapped network drive in command prompt, specify the drive letter and add/delete switch as follows: net use DRIVE: /delete. For example, we used drive letter g, so you’ll type the command net use g: /delete
How To Map a Network Drive On Windows 7, 8 & XP
Microsoft stopped supporting Windows 7 as of January 2020, but you can upgrade to Windows 10 so you can get regular security updates and tech support.
- Mapping a network drive in these older Windows versions is simpler. On the Start menu or desktop, click Computer and then select Map network drive.
- Select the drive letter for the network drive you want to map. In the Folder field, enter the UNC path and then click Finish. Windows XP has several different methods to map a network drive, but the above steps use Windows Explorer to map the drive.
Were you able to map your network drive using the steps we’ve covered in this guide? Tell us in a comment below.