Mapping a network drive using NET Use. Ways to map a network drive How to map a network drive

Many users, when administering their home local network, are faced with the need to connect network drives. If you are also interested in this question, then this article should help you. Here we will talk about how to connect a network drive, as well as correctly open folder access for a network drive.

Step number 1. Open access to the folder (preparation of the first computer).

The first thing to do is share the folder that should be used as a network drive on another computer. This is not difficult to do, but there are a few details to be aware of.

First you need to properly configure the network. To do this, open the "Network and Sharing Center" and click on the link "Change Extra options public access" (screenshot below).

In the window that opens, you need to enable "Network discovery".

Also here you need to disable "Sharing with password protection" (if you do not need it).

The network drive is logical drive(folder) created to share files between PC users. The disk can be located on a PC, server or network storage device, used in one local network.

A network drive is often created in enterprises and educational institutions that store documents on servers, providing more storage space and Reserve copy files. However, with the growth of the amount of data, the disk becomes relevant in the home network.

To connect a network folder, you must transfer all PCs connected to it to a common workgroup.

Step 1. Press the key combination Win + R. Type in the menu sysdm.cpl and click OK.

Step 2 Click the Computer Name tab and click Change.

Step 3 Type name in "Member" working group» in English letters. "Computer name" can be chosen any or left the same. Press OK.

Step 4 Restart your PC for the changes to take effect.

Step 5 to do Steps 1-4 on all computers on a common network, specifying the same workgroup name for them.

Setting folder access

Before making a connection, you must create a folder on the selected device located on the public network, naming it in English letters.

Step 1. Click on the created network folder, selecting "Properties".

Step 2 Click the "Sharing" tab and click "Sharing".

Step 3 Select "All" from the drop-down list and click "Add".

Step 5 Press "Finish".

The folder will be shared.

Disable network credential entry

When connecting to a network, it is often necessary to disable the prompt for network credentials in Windows 7, 8, and 10 (on XP, this setting is not required). To disable the request, you need to change the settings for accessing the PC.

Step 1. Click on the network icon in notifications (bottom right of the screen) and select "Control Center ...".

Step 2 Click "Change Sharing...".

Step 3 Check in all profiles (opening the drop-down list) whether points are set for network discovery and sharing.

Step 4 Scroll the mouse wheel down the list of permissions, select "Disable password protection". Click Save Changes.

Reference! You may also need to disable and then re-enable Windows Firewall to connect to a network share.

Mapping a network drive

Step 1. Open the Computer folder by double-clicking.

Step 2 Click "Tools" - "Map network drive" ( in Windows XP).

Click the "Connect ..." button at the top of the window ( in Windows 7).

Click the "Connect ..." button on the disk image on the ribbon interface ( in Windows 8 and 10).

Step 3 Select the letter of the folder and type the path consisting of two slashes " \\ ”, PC name followed by a slash “ \ ” and the name of the folder itself (with an underscore instead of a space, as shown in the “Example” in the screenshot).

Note! To connect, instead of the PC name, you can type it in, for example: \192.168.1.100folder_name.

Step 4 If the path to the folder is unknown, you can click "Browse ...", expanding the network tree with the mouse, clicking on desired folder and clicking OK. If you need a permanent connection to the folder, check the box "Restore connection ...".

If the connection requires different credentials, check the "Use different credentials" checkbox. The password and login will be requested after clicking "Done".

Press "Finish". The disk will be connected.

In a domain environment, you probably won't need to connect with other credentials, as the current domain login most likely already has access to the server.

For example, if you have a NAS file server and you want to mount its folder as a network folder, you may need to enter the credentials set on the NAS because the credentials Windows data will not work.

Connecting a drive via the command line

Step 1. Press Win+R. Type cmd command and click OK.


Connecting Yandex.Disk as a network folder

When installed on a PC "", it organizes a folder on it for storing copies of files transferred to the server. This is rather inconvenient if the files being backed up are too large and take up a lot of space on the PC.

At the same time, Yandex.Disk supports WebDAV, allowing you to connect the service as a regular network folder without saving files to your PC.

Step 1. Select network drive mapping ( see above) and click on the link "Connecting to the site ...".

Step 3 Enter address: https://webdav.yandex.ru and click "Next".

Step 4 Select a name for the connection and click Next.

Step 5 Enter a username and password to connect to the service.

Important! The point indicated by the arrow in the photo must be marked only if one account is used for the service!

Step 6 Check the box "Open ...", click "Finish".

The Yandex.Disk folder will open.

A location will appear in the Computer folder that you can already use.

Yandex.Disk will be connected as a network folder.

How to connect a computer to Wi-Fi

To connect a computer to a hotspot WiFi access need to purchase wifi adapter, or connect an existing adapter to the network.

Step 1. To turn on Wi-Fi on your PC, click on the network in the notifications (bottom right) and select "Network and Sharing Center ...".

Select "Network Control Center..."


Step 2 After turning on the adapter, click on the network and select "Connect" to the desired Wi-Fi network.

Step 3 Enter the access point password and click OK.

A wireless Wi-Fi connection will be established.

If the drive is 100% loaded in Windows 10

Windows 10 sometimes encounters a bug that leads to load hard drive by 100%. At the same time, the performance of the PC is reduced up to its complete “hanging”. If the computer is under Windows control 10 became strong " ", you need to see what is the cause of this situation.

Step 1. Press Ctrl+Shift+Esc. The Task Manager will launch. Click on the "Processes" tab and see the status of the CPU, memory, disk and network.

If the drive is 90-100% loaded, you need to take action to reduce the load on it. Most often, high HDD load is associated with the system “looping” on file indexing, which is carried out to speed up access to them.

Step 2 Click on the magnifying glass icon next to the "Start" button and type in cmd line. Click on the "Command Prompt" utility found and select "Run as Administrator".

Step 3 Type the command in the window that appears: NET STOP "Windows Search" by pressing Enter.

Step 4 Run Step 1 this section and see if the load on the HDD has decreased. If the load has not decreased, disable the indexing service completely.

Step 5 Press Win + R, in the window that opens, type services.msc and press Enter.

Step 6 Click on Windows Service Search by selecting "Properties".

Step 7 Click Stop, then select Disabled. Click "Apply" and "OK".

Step 8 Run Step 2 this sub-item and in the window that opens, type the following commands to disable the service Windows Diagnostics by pressing Enter after each command.


Step 9 Without closing the previous window, type the following command, which disables the SuperFetch service, which improves the launch of frequently used applications, by pressing Enter. In practice, the SuperFetch service is often the cause of high HDD load: net.exe stop superfetch

Step 10 Without closing the previous window, type the following command to disable the service automatic update Windows by pressing Enter: net stop wuauserv.

Also enter the following command by pressing Enter: sc config wuauserv start= disabled.

Step 11 Without closing the previous window, type a command that disables the paging file if the main disk in the system is solid state drive SSD by pressing Enter. The swap file on the SSD disk sometimes loads the HDD at 100%: wmic pagefileset where name="C:\pagefile.sys" delete(where: name="C:\pagefile.sys"- file location)

Step 12 Without closing the previous window, type the following command to check and fix errors on the HDD by pressing Enter. To complete HDD check, the computer will need to restart: chkdsk /F /R

Step 13 After restarting Windows, run Step 1 this section and see if the load on the hard disk has decreased.

Disabling these services in most cases allows you to get rid of the high HDD load.

Video - How to add a network drive in Windows 7,8,10

Net use is a command to connect to network shares or display information about computer connections. The team also manages permanent network connections.

If you have a local network configured at your home or office, and network folders are also used, then for the most convenient use of them, it is recommended to configure network drives. Such a network drive will not differ in any way from other drives (for example, C or D) that are used on your computer. The only difference among these disks is low speed writing or reading data.

Command Options

Net use is a command that is designed to make connections to a network share or to display information regarding computer connections. Net use also manages persistent network connections. A command called with no parameters retrieves a list of network connections.

The Net use command is used in batch files and scripts. Let's take a look at the main Net use command line options:

  1. Device name. To use the name of the device to which you want to map a network drive, use the "*" character;
  2. Computer name. The name to which it belongs this moment resource;
  3. Resource name. The name of the shared resource;
  4. volume. Is the name of the volume if the share is a Net Ware server;
  5. password. Password for making connections to the resource;
  6. "*". This character is a password prompt;
  7. /user:<домен>\<пользователь>. A string for specifying the username under whose rights it is necessary to connect;
  8. /home. The function is designed to connect the user's home directory;
  9. /delete. Connection cancellation;
  10. /persistent: . Designation of the need to restore connections during subsequent user registrations in the system.

In order to connect a network drive, you must:

  1. Press the "Start" button, then select the "Run" command;
  2. Enter the command "cmd" in the "Open" field;
  3. Enter - net use x: your computer name (or IP address), resource name.

The use of the command and its nuances

The net use command, when creating a network drive, returns the current status of each connection, along with the name of the drive, the UNC name of the share, and the type of network. The most common type of network is Microsoft Windows Network, but, if the computer uses a different operating system, then it will be reflected in the column labeled Network. For example, if the user will work with the client software, NovellNetWare and will connect the drive to a server called NetWare, in the Network column it will say Net Ware. Thanks to the Net Use command, it is possible to use batch files to create shared resources. With the Net Use command to assign resources to users, you can use command files in the process of registering a network drive.

Differences

The difference between the Net Use command and the graphic Windows interface is an unlimited connection to shared folders. To connect to a subdirectory that is not shared, you can type the following command on a shared drive: "netuse f:\". This feature can be quite useful in most situations where the operation of a network drive and its connection is important. For example, you can share an entire drive, and set up connections for users to individual directories using netuse. From a security point of view, this approach is questionable, so if you need to use this feature, you should make sure that the permissions for a specific folder that has not been shared are correct. Assigning resources will make it easier for you to access the appropriate program folders and disk data. If you are a user working in a corporate database, you can create a login script. If you learn how to use the command line, as well as create batch files, then you can distribute them to other users. This will make the job much easier. Batch files can also come in handy in a peer-to-peer network in order to connect to resources or when performing maintenance tasks on other computers.

If you need to connect a network drive, you can easily do it using this article.

IN command line NET USE is used to connect and disconnect from network shares (drives) and to display information about current connections. When the command is used without parameters, a list of all connections is displayed this computer. On my own behalf, I want to note that the Net use command can also be used when working with Windows 10.

NET USE Command Syntax

To display help for the specified net command, enter the command net help use.

  1. net use [(devicename|*)] [\\computername\share[\volume]] [(password|*)]] ] username] [(/delete | /persistent:(yes|no))]
  2. net use [devicename]
  3. net use , where
  • Device_name - sets the name of the resource when connected or the name of the device when disconnected. There are two kinds of device names: names for disk devices (that is, drives with letter designations from D: to Z:) and for printers (respectively, from LPT1: to LPT3:). Entering an asterisk (*) instead of a specific device name will ensure that the device is given the closest available name.
  • \\computername\sharename - Specifies the name of the server and share. If the computername parameter contains spaces, the entire computer name from the double backslash (\\) to the end (for example, "\\Computer Name\Share Name") must be enclosed in straight quotation marks ("). The computer name can be as long as 1 to 15 characters.
  • \volume - Specifies the NetWare system volume name. To connect to NetWare servers, you must install and run Client for NetWare Networks.
  • Password - sets the password required to connect to the share. Type an asterisk (*) to display a password prompt. When entering from the keyboard, the characters of the password are not displayed on the screen.
  • /user - Specifies a different username to connect to the share.
  • domain name - specifies the name of another domain. Omitting the "domainname" parameter causes the net use command to use the domain name specified at logon.
  • Username - Specifies the username to connect to.
  • domain_name _with_dot - indicates the full name of the domain in which it exists Account user.
  • /savecred - saves the entered credentials for future use.
  • /smartcard - Specifies whether to read credentials from the smart card for a network connection. If you have more than one smart card, you will be prompted to specify one of them.
  • /delete - cancels the specified network connection. If a connection is specified with an asterisk (*), all network connections will be dropped.
  • /persistent:(yes|no) - Manages persistent network connections. By default, the last used value is taken. Connections without a device are not permanent. Selecting Yes causes all existing connections to be saved and restored the next time you connect. If you select No, ongoing and subsequent connections are not saved. Existing connections are restored the next time you log on. For removing permanent connections the /delete key is used.
  • /home - connects the user to his home directory.

As you can see, the syntax of the command is quite long, but it should be noted that not all of its parameters are used in practice.

Thus, the NET USE command connects or disconnects a computer from a share. Although the NET USE command has a fairly extensive syntax in real life not all parameters are used. Let's try to understand the work of this popular team and bring real examples that will be useful at work.

  • To display information about current connections, enter the command net use.
  • To connect a network drive with the net use command with the drive name Z: from the Public2$ shared directory of the \\Nuclear computer, enter the command - net use z: \\Nuclear\Public2$
  • net use delete example. To disconnect from the \\Nuclear\Public2$ directory connected by a network drive with the drive name Z:, use the command - net use z: /delete
  • To connect shared folder Backup$ from the Nuclear computer under the administrator user, as if he was connecting from the Podryad.local domain, you should enter - net use d: \\Nuclear\Backup$ /user:Podryad.local\administrator
  • In the event that the computer name consists of several words and there are spaces between them, then the entire computer name from the double backslash to the end must be enclosed in straight quotes. For example, to connect to share Share1 on Server 1, the command would be - net use k:\\"Server 1"\Share1
  • To restore current connections at the next network logons, regardless of future changes, use the command net use /persistent:yes.

Video - Working with NET USE examples of connecting / disconnecting network drives

Shared folder to network drive Windows 10

So, how to map a network drive on Windows 10? We already know how to create, but it's not very convenient - to search the network environment for the desired shared folder, especially if there are a lot of computers. It's much easier to have it appear as a separate drive that appears alongside your "C" drive when the system boots.

To connect a network hard drive on Windows 10, the first step is to allow file and folder sharing on the computer. To do this, right-click on the Start menu and go to " Network connections»


Here in the left column click on "Change sharing settings"

  • Enable network discovery
  • Turn on file and printer sharing
  • Let Windows manage the homegroup connection

Mapping a network drive Windows 10

This was the preparatory stage - now let's move on to the main question, how to map a Windows 10 network drive?
To do this, you need to open Explorer and in the left column, where the tree of drives and folders, find the link "My Computer" - right-click on it and select the item "Connect a network drive ...".

In the window that pops up after this, select the letter for our future network Windows disk, for example "X".


After selecting the folder, leave the "Restore at logon" checkbox so that after turning off the computer, you do not have to create it again every time. And click "OK".

Now, when you enter the explorer in the "Computer", among other system hard drives we will be able to see the "Z" drive in the "Network Location" section. you can get to it, provided that the computer on which this network drive-folder is located is turned on.

Mapping a network drive on Windows XP

The technique for connecting a network drive on Windows XP is similar to that already described above. Therefore, we will describe here the connection method directly from the "Network Neighborhood" section.

We go to "Start\u003e Network Places" and find the shared folder we need on one of the computers on the local network. Right-click on it and select the "Map network drive" menu item. You can also simply select the “Service” item in the top menu and select the same section.



Now if you go to "My Computer", you will see hard drives, as well as network folders connected as network drives, indicated by separate icons.


That's all. For those who still do not understand how, here is a video:

Thanks! Did not help