Hello.

Let me outline a typical situation: there are several computers connected to a local network. You need to share some folders so that all users from this folder can work with them. local network.

To do this, you need:

1. “share” (make public access) the desired folder on the desired computer;

2. on computers on the local network, it is advisable to connect this folder as network drive(so as not to look for it every time in the “network environment”).

Actually, how to do all this will be described in this article (the information is relevant for Windows 7, 8, 8.1, 10).

1) Opening public access to a folder on the local network (folder sharing)

Before you can share a folder, you must first configure Windows accordingly. To do this, go to the panel Windows management at the following address: " Control Panel\Network and Internet\Network and Sharing Center"(see Fig. 1).

Then open the " Change advanced sharing options«.

Rice. 1. Network and Sharing Center

  1. private (current profile);
  2. all networks;
  3. guest or public.

You need to open each tab in turn and set the parameters as in Fig.: 2, 3, 4 (see below, clickable pictures).

Rice. 2. Private (current profile).

Rice. 3. All networks

Rice. 4. Guest or public

Now all that's left is allow access to the required folders. This is done very simply:

  1. Find the desired folder on the disk, click right click mouse over it and go to its properties (see Fig. 5);
  2. Next, open the tab “ Access" and click the " Sharing" button (as in Fig. 5);
  3. Then add the user “guest” and give him rights: either read only, or read and write (see Fig. 6).

Rice. 5. Opening public access to a folder (many people simply call this procedure “sharing”)

Rice. 6. File Sharing

By the way, to find out which folders are already shared on the computer, just open Explorer, then in the “Network” tab click on the name of your computer: then you should see everything that is open to public access (see Fig. 7).

Rice. 7. Shared folders (Windows 8)

2. How to map a network drive in Windows

In order not to climb into the network environment every time, not to open tabs again, you can add any folder on the network as a disk in Windows. This will slightly increase the speed of work (especially if you often use a network folder), and will also make it easier for novice PC users to use such a folder.

And so, to connect a network drive, right-click on the “ My computer (or This computer)" and in the pop-up menu select the function " Connect a network drive"(see Fig. 8. In Windows 7 this is done in the same way, only the icon " My computer" will be on the desktop).

Rice. 9. Windows 8 - this computer

After this you need to select:

  1. drive letter (any free letter);
  2. specify the folder that should be made a network drive (click the “Browse” button, see Fig. 10).

Rice. 10. Connecting a network drive

In Fig. Figure 11 shows folder selection. By the way, after making your selection, you only have to click “OK” 2 times - and you can start working with the disk!

Rice. 11. Browse folders

If everything was done correctly, then in “ On my computer (on this computer)"A network drive with the name you selected will appear. You can use it almost the same way as if it were yours. HDD(see Fig. 12).

The only condition: The computer on whose disk the shared folder is located must be turned on. Well, of course, the local network must work...

Rice. 12. This computer (network drive connected).

Very often people ask what to do if they cannot share a folder - Windows writes that access is impossible, a password is required... In this case, most often, the network was simply not configured appropriately (the first part of this article). After disconnecting password protection- problems, as a rule, do not arise.

Good job 🙂

Click " Service"- "Connect a network drive"

ReviewOK".

You can change the drive letter if it is busy, to do this, click Disk and select a letter. When finished, click " Ready".

As a result, you will see the mapped network drive.

How to map a network drive in Windows 7.

Before connecting a network drive on Windows7, you need to check network settings, for this go to " Start" - "Control Panel" -" or click on the button Network connection on the taskbar and select "Network and Sharing Center".

In the window that opens Network and Sharing Center look at what network is being used (in in this example- Working) click on "".

In the profile you are using (home, work or general), check whether it is enabled Network discovery, if it's off, turn it on. Save your changes.

Now you can proceed directly to connecting a network drive; to do this, go to Computer, press " Connect a network drive".

The Network Drive Mappings window will open. Click " Review", select the computer on which the network folder is located, click on it and select required folder, press " OK". You can change the drive letter, to do this, click on the highlighted field yellow and select another letter. At the end press " Ready".

In addition to this method for connecting a network drive, you can

How to map a network drive in Windows 8.

Before connecting a network drive on Windows8, you need to check the network settings; to do this, go to "Control Panel" - "Network and Sharing Center""or click on the Network connection button on the Taskbar and select "Network and Sharing Center".

In the window that opens, look at what network is being used (in this example - Public) click on " Change advanced sharing options".

In the profile you are using (private, guest or public), make the necessary changes, namely:

Enable network discovery;

Save your changes.

Now you can connect a network drive, to do this, click on the shortcut Computer select tab "Computer"-"Connect a network drive".

The Network Drive Mappings window will open. Click " Review", select the computer on which the network folder is located, click on it and select the required folder, click " OK". You can change the drive letter, to do this, click on the field highlighted in yellow and select the letter. At the end, click " Ready".

As a result, a network drive will appear.

Mapping a network drive using a script in Windows XP, Windows 7, Windows 8.

To connect/disconnect a network drive and network printer the command is used net use, here is the syntax of this command:

NET USE
[devicename | *] [\\computer_name\resource_name[\volume] [password | *]]
Username]
Username]

[ | ]

NET USE (devicename | *) [password | *] /HOME

NET USE

The NET USE command connects a computer to a share or disconnects a computer from a share. When the command is used without parameters, a list of connections is displayed of this computer.

device_name Assigns a name to connect to a resource or specifies a device to disconnect from. There are two types of device names: disk devices (letters D: to Z:) and printers (LPT1: to LPT3:). If you enter an asterisk (*) instead of a device name, the next unused name is assigned.
\\computer_name Specifies the name of the computer that controls the share. If you use spaces in the computer name, you must enclose the entire parameter in quotation marks along with two backslashes (\\). The computer name can be from 1 to 15 characters long.
\resource_name Specifies the network name of the share.
\volume Specifies the NetWare volume on the server. To access NetWare servers, you must install and run the NetWare Client Services (Windows Workstations) or the NetWare Gateway Service (Windows Server).
password Specifies the password required to access the share.
* Prompts for a password. When entering in command line The password is not displayed.
/USER Specifies a different username with which to establish the connection.
domain name Indicates a different domain. If the domain is not specified, then the current domain used when logging into the network is assumed.
Username Specifies the username to log into the network.
/SMARTCARD Indicates that this connection uses smart card credentials.
/SAVECRED Specifies that the username and password should be saved. This parameter is skipped if the command does not prompt for a username and password.
/HOME Connects the user to the home directory.
/DELETE Cancels a network connection and removes it from the list of persistent connections.
/PERSISTENT Controls the use of persistent network connections. The default is the last used parameter.
YES Saves established connections and restores them the next time you log on to the network.
NO Does not save established connections or subsequent connections, as a result they will not be restored the next time you log in. To delete persistent connections, use the /DELETE parameter.

An example of using the net use command:

net use z: /delete
net use z:\\computer1\Shared Folder
net use /Persistent:Yes

net use z: /delete - command to unmount network drive Z.

computer1\Shared Folder - path to the shared folder (network folder)

net use /Persistent:Yes- when rebooting, restore mounted disks (if you specify NO - reset settings).

To create a script, create text file, write down the necessary commands and save. Change file extension from TXT to BAT. Now you can just launch with two clicks BAT file and all prescribed commands will be executed.

Windows 7 is a wise and practical decision on your part. Now I will explain why. Anyone who has organized a local network in his home constantly uses certain data that is located on other computers using this same local network.

To make your work more convenient, you can connect a network drive to your computer. What it is? This is just a network folder that is connected in such a way that your computer or laptop will see it the same way as its own hard drives. It is assigned a specific letter, after which you can simply forget that it is actually located on another device.

In order for you to be able to connect a Windows 7 network drive to your computer or laptop, open the standard Explorer, which is located in the “Standard” folder. To do this, click the “Start” button, select the “All Programs” section in the menu that appears, and then expand the “Accessories” tab. The “Explorer” we need will be there, so launch it. Once you've done this, look for a menu at the top called "Tools." Open it and select Drive. At this moment, a corresponding window should open in which we will set the necessary settings.

The first thing you need to do is select the desired letter in the expanded window. Once you do this, your network drive will assign it to itself. Note that you can only select a letter that is not already used by other devices (hard drives, CD drives, floppy drives, etc.). After this, you will be required to specify the exact location of the directory. You must enter the desired path to the folder that you want to use as a network drive. It can be done different ways. For example, you can enter an exact address using the keyboard, and you can also locate this resource by clicking on the "Browse" button. Last method it will be much more convenient and faster.

Important condition: during this procedure, the device on which this folder is physically located must be turned on. Otherwise, you won't succeed, because your computer or laptop simply won't be able to see the required directory.

In the event that you want to connect on behalf of some other user, you will need to check the box next to the use other credentials field. After this, you will have to fill in all the necessary data for a specific user in the window that will appear in front of you immediately after you confirm your choice using the “Done” button.

Upon completion of all the above steps, a group called “Network Locations” should appear in your window called “Computer”. Your new network folder will be reflected there.

Disabling a network drive is done using a similar method. Call up the Explorer window, and through the “Tools” menu, select the function of disabling a network drive. In the window that appears, select the disk that you no longer need and confirm by clicking “Ok”.

On the command line, NET USE is used to connect and disconnect from shared network resources(disks) and to display information about current connections. When the command is used without parameters, a list of all connections on this computer is displayed. On a personal note, I would like 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\resource[\volume]] [(password|*)]] ] username] [(/delete | /persistent:(yes|no))]
  2. net use [devicename]
  3. net use where
  • DeviceName - specifies the resource name when connecting or the device name when disconnecting. There are two kinds of device names: names for disk devices (that is, disks with letter designations from D: to Z:) and for printers (respectively from LPT1: to LPT3:). Entering an asterisk (*) in place of a specific device name will assign that device the closest available name.
  • \\computer_name\resource_name - 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 anywhere from 1 to 15 characters.
  • \volume - sets the volume name NetWare systems. To connect to NetWare servers, you must install and run the Client for NetWare Networks.
  • Password - specifies the password required to connect to the shared resource. Enter an asterisk (*) to display a password prompt. When entering from the keyboard, the password characters are not displayed on the screen.
  • /user - specifies a different username to connect to the shared resource.
  • domain name - specifies the name of another domain. Omitting the “domain_name” parameter results in net command use uses the domain name specified at login.
  • Username - specifies the username for connection.
  • domain_name _with_dot - indicates the full name of the domain in which it is present Account user.
  • /savecred - saves the entered credentials for future use.
  • /smartcard - indicates the need to read credentials from the smart card for a network connection. If you have multiple smart cards, you will be asked to specify one of them.
  • /delete - cancels the specified network connection. If a connection is specified with an asterisk (*) symbol, all network connections will be canceled.
  • /persistent:(yes|no) - manages persistent network connections. The default is the last used value. 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, connections made and subsequent connections are not saved. Existing connections are restored the next time you log in. To delete persistent connections, use the /delete key.
  • /home - connects the user to his home directory.

As you can see, the command syntax 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 to a share. Although the NET USE command has a fairly extensive syntax, not all of its parameters are used in real life. Let's try to understand the work of this popular team and give real examples that will be useful in work.

  • To display information about current connections, enter the command net use.
  • To connect a network drive using the net use command with the drive name Z: from the public directory Public2$ of the computer \\Nuclear, enter the command - net use z: \\Nuclear\Public2$
  • Example net use delete. To disconnect from the \\Nuclear\Public2$ directory connected by a network drive with the name drive Z: use the command - net use z: /delete
  • To connect shared folder Backup$ from the Nuclear computer under the administrator user as if he were connecting from the Podryad.local domain, you should enter - net use d: \\Nuclear\Backup$ /user:Podryad.local\administrator
  • If 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 Share1 on Server 1, the command would be - net use k:\\"Server 1"\Share1
  • To restore current connections the next time you log into the network, regardless of future changes, use the command net use /persistent:yes.

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

Shared folder on a network drive Windows 10

So, how to map a network drive on Windows 10? We already know how to create it, but it’s not very convenient to search for the required shared folder in the network environment, especially if there are a lot of computers. It is much easier to have it appear as a separate drive that appears along with your “C” drive when the system boots.

To connect the network hard drive On Windows 10, the first step is to allow sharing of files and folders on your 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
  • Enable file and printer sharing
  • Let Windows manage your homegroup connection

Mapping a network drive Windows 10

This was the preparatory stage - now let's move on to the main question, how to connect a network drive in Windows 10?
To do this, you need to open Explorer and in the left column, where the tree of drives and folders is, find the “My Computer” link - right-click on it and select “Map 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 you don’t have to create it again every time you turn off the computer. And click “OK”.

Now, when you go to “Computer” in Explorer, 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.

Go to “Start > 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 top menu select “Service” and select the same section.



Now if you go to “My Computer”, you will see hard disks, and network folders, connected as network drives, indicated by separate icons.


That's all. For those who have not yet understood what it’s like, here’s a video:

Thank you! Did not help