Menu
Is free
check in
the main  /  Installation and Setup / Not displayed shared folders, network computers, flash drives, discs on the "Network" tab of the Windows Explorer. Access to MS Windows Computer Shared Resources (Samba Protocol) Windows 10 does not see SMB

Shared folders, network computers, flash drives, discs on the "Network" tab of Windows Explorer are not displayed. Access to MS Windows Computer Shared Resources (Samba Protocol) Windows 10 does not see SMB

This article describes how to set up sharing, files and folders, without a password on Windows 10.

In this manual, the simplest case case will be considered. general access Windows 10 folders. When you need to provide access to shared Windows 10 resources without a password. This is the most common situation in home networks and a small office network. This setting assumes that access over the network will be without a password, without restrictions.

Note. If you have Windows 10 2017 or 2018 and you encountered a problem " Windows 10 does not see other computers in local network ", then, read another article - it describes how to solve the problem with connecting Windows 10 to the old versions of Windows. This article may be relevant for windows connections 10 to the old versions of Linux.

But at the beginning of a silent theory.

Local and global networks

Global computer network, today, there is only one, it is the Internet. Local computer networks differ from the global investigators:

  • Quantities of computers united in this network.
  • The quantity and quality of shared (available) in this network of resources.

IN global Network The Internet combined hundreds of millions (possibly more than a billion) computers. These computers provide a large number of resources in different ways. The most common of which is text and graphic information. In addition to the Internet itself, this information is also possible - there are services to work with images and documents. Also on the Internet services are available not related to computer subjects, such as selling goods and services (for example, the sale of tickets for various transports).

On the local computer network most often combines from two to several computers. Much less often the number of computers in the local network can be several dozen or hundreds (in large commercial or state organizations). As a rule, only a few resources are distributed in local networks - files, printers, scanners and Internet access.

Physically computers are combined into a network or using a cable or through a radio signal (WiFi). But in any case, the local network configuration is performed equally.

So, what, and in what sequence, you need to do in order to configure the Windows 10 network?

Sharing Windows 10 without password

In this manual, it will be described how to configure the Windows 10 network so that the shared access to folders (files) and printers is provided without a password request. This is a version of the trusted network. This organization of the local computer network is most convenient to use (no need to memorize passwords for each computer). And besides, such a network is easier to create and maintain.

Start setting up the local network is best with the verification of the necessary conditions.

Verify connection on the local network

First you need to check the availability of connection on a local network. To do this, open the applet of available network adapters and network connections. The easiest way to open this applet through the dialog box " Perform Windows + R. nCPA.cpl and click " OK":

Note: There is a longer way - to open "" and shout there on the link " Change adapter settings".

This is how the network connections applet looks like:

This example shows that the physical network adapter on the computer has and the network connection to the local network is also there. This example uses a cable connection to the LAN (Ethernet). In case of connection through WiFi adapter will be called " Wireless connection 802-11".

Possible mistakesthat can be detected in the "Network Connections" apple:

  • In this applet, it may not be adapters at all - in this case, you need to check the list of equipment (Device Manager). It is possible a network adapter is disabled or drivers are not installed.
  • Adapter can be crossed out with a red cross. This means that there is no physical connection to the local network. You need to check the cables. In the case of WiFi, this means that the computer is not connected to the access point (router) WiFi.
  • The adapter may have an inscription " Unidentified Network". This means that there is a physical connection to the local network, but the computer could not get the settings of this network. Most often it happens if there is no router on the local network and manually specify the parameters of the local network.

By the default of Windows Customized by automatic receipt Network settings from network router. If there is a router on the local network, then it's enough for you network cable Or connect to WiFi access point. If there is no router on the local network, and this sometimes happens when using small cable networksthen you need to manually indicate network settings in properties network adapter. More details on manual setting of the parameters of the local network written in the article "Setting the network between Linux and Windows". There is a configuration for Windows XP, but for Windows 10 will be the same.

The next step is to check the computer name and working Group. To do this, you need to open the applet " Properties of the system". The easiest way to open this applet through the dialog box" Perform". It is available through the Start menu or when you press keys Windows + R. on keyboard. Write in this window sysdm.cpl and click " OK":

This is what the applet looks like " Properties of the system"(You need to open the tab" Computer name"):

Here you need to check:

  • Full name - It should not be written by Cyrillic and should not have gaps.
  • Working group - It should not be written by Cyrillic and should not have gaps. In addition, the name of the Working Group should coincide with the same name on other LAN computers. That is, the name of the working group should be equally on all computers of the local network.

If you need to change the computer name or working group, click the Edit button. After such a change, you will need to reboot Windows.

Now you can go to the setup windows networks 10.

Setting up Windows 10 network

Open "Windows Explorer" And find and open it in it. " Net". By default, Windows 10 is disabled on Windows 10 and when you open the" Network ", at the top there will be a warning inscription:

You need to click on this inscription and then choose the item " Enable network detection and sharing files":

Note: Another way to enable network detection and sharing files through " Network and Shared Access Control Center"And there shout on the link" Advanced shared access parameters"And then open the desired profile.

Thereafter "Windows Explorer" I will give a request to choose a network type, there you need to select the first option:

Note: If you later need to change the type of network - the instruction in the article "Change Windows 10 Type".

Thereafter "Windows Explorer."Shows a list of computers on the local network:

Now you can enter those folders on these computers for which you have a common access.

Login through the local network to a computer named "Home":

Next step - you need to configure sharing to Windows 10 folders.

How to configure sharing Windows 10 folder

IN "Windows Explorer."Find the folder for which you want to provide sharing. Click on this folder right mouse button and select the item menu. Properties"(In this illustration, the folder is called LAN):

Note: The name of the folder must be a latin and without spaces.

In the folder properties window, you need to open the tab " Access"And there click the button" General access":

In the next window, you need to open a list of local users (accounts on this computer) and select "All" in this list:

After that click the "Add" button:

After that, it is necessary for the "All" group, specify read and write access rights:

After that, click the "Done" button:

After that, the window will be open again. " Folder properties". In it you can check the tab" Safety", there should be full access For group " Everything"(Windows automatically changes the rights file System NTFS):

All, on this setting access to specific folder Finished. If you want to solve some other folder, these actions need to be repeated for each.

Note: Shake separate files not necessary. All files that are in a shared folder will be available over the network. Will also be available over the network and all nested Folders.

Last action remains ..

Need to open " Network and Shared Access Control Center"And on the left side to click on" Change Advanced Sharing Options":

In the next window you need to open profile " All networks":

And there turn off the parameter " common Access with Password Protection"And of course click the" Save Changes "button:

This is configured to access the network without a password for Windows 10 completed. Now you can go through the local network to this computer and Windows will not require the password input.

To check, go to the Windows 10 computer from the Windows XP computer:

The shared folder "LAN" opens and can be in it, via the local network, edit and create files.

But if, however, Windows requires a network password

Despite the fact that the settings that are described above are made when entering this computer, another computer can request network password. This is possible in two cases.

Local users with the same name (login)

Both computers have local users with the same name, but with different passwords.

Example. There are COMP1 and COMP2. Each of them has a user named User. But on COMP1 from the user Password 123, and on comp2 it has a password of 456. When attempting a network login, the system will request a password.

Decision. Or remove matching user logins. Or for users with the same login, specify the same password. An empty password is also considered the same.

On Windows 10 there is no local user

On Windows 10, you can log in and working with Microsoft account, if there is an Internet. This situation is possible when you install the local user at all when Windows 10 is installed (input was through account microsoft recording). In this case, Windows will also require a password when entering the local network.

Decision. Create a local user on Windows 10.

If your local network has old computers

If your local network has computers running old versions of Windows or Linux, then you may encounter a problem when Windows 10 does not see such computers.

The reason may be that recent versions Windows 10 disconnected support for SMB version 1. How to enable support for SMB version 1, written in the Local Network Between Windows 10 and Windows XP.

Cancel Sharing Windows 10 folder

On Windows 10, the cancellation of the total access is made at all obvious (unlike Windows XP). On the tab " Access"(Folder Properties) No option, as it was in Windows XP. The" Sharing "button is useless, it is not possible to cancel sharing.

Now, to cancel a shared access, you need to tab Access"Press the button" Extended setting":

And there disable access (remove the bird on the "Open access to this folder" options):

As they say, "Guess three times."

Share access to the Windows 10 folder via the command line

Everything can be done much faster if you use the command line (console, cmd.exe). Total two teams:

nET Share Lan \u003d C: \\ LAN

nET SHARE LAN / DELETE

The first command opens sharing folder C: \\ LAN and asks for her network name LAN.

The second command deletes the network (public) folder LAN. Real folder c: \\ LAN Of course it remains in place.

Share Windows 10 files through the "Shared Folders" snap

Included tools windows management 10 is special program (Snap) to manage common resources on the computer. It is called "Shared Folders" and can be launched by a team fsmgmt.msc. (in the console or through Win + R):

On another, this snap can be opened through the Start menu: "Control Panel - Administration - Computer Management - Shared Folders."

Share access to Windows 10 printers

Sharing printers is configured in the same way as for the folder. You need to open the applet "Devices and Printers", find the desired printer there, open its properties and on the "Access" tab to determine network access settings.

Setting up a local network for other OS

If you live in Krasnodar and you need to configure the local network in Windows

Ivan Sukhov, 2017, 2019 .

If you were useful or just liked this article, then do not hesitate to support the author's material. It's easy to do throwing money on Yandex wallet number 410011416229354. Or on the phone +7 918-16-26-331 .

Even a small amount can help writing new articles :)


In the dialog boxNew properties registrysearch for:


  • Act:Create

  • Bush: Hkey_local_machine

  • The path to the section:SYSTEM \\ CURRENTCONTROLSET \\ SERVICES \\ LANMAN SERVER \\ PARAMETERS

  • Parameter name:SMB1

  • Type of value: REG_DWORD.

  • Value: 0

This will disable SMB Server Components 1. This group policy should be applied to all necessary workstations, servers and domain controllers in the domain.

Note. WMI filters Can also be configured to eliminate not supported operating systems or selected exceptions, such as Windows XP.

Attention!Be careful when making changes to controllers, where for outdated systems, such as Windows XP or Linux later, and third-party systems.(which do not support SMB protocols version 2 or SMB version 3) access to SYSVOL or other shared folders in which SMB version 1 has been disabled.


Disable SMB client version 1 with Group Policy

To disable the SMB client version 1, the registry key service key must be updated to disable the MRXSMB10 start, and then dependency in MRXSMB10 must be removed from the entry for LanManWorkStation so that it can be launched standard method Without requesting MRXSMB10 when you first start.

This update replaces default values \u200b\u200bin the following two registry elements.

HKEY_LOCAL_MACHINE \\ SYSTEM \\ CURRENTCONTROL SET \\ SERVICES \\ MRXSMB10

Parameter: Start REG_DWORD: 4 \u003d Disabled

HKEY_LOCAL_MACHINE \\ SYSTEM \\ CURRENTCONTROL SET \\ SERVICES \\ LANMANWORKSTATION

Parameter: DEPENDONSERVICE REG_MULTI_SZ: "Bowser", "MRXSMB20", "NSI"

Note. By default contains MRXSMB10, which is currently excluded as dependency

To configure using Group Policy:


  1. Open Console control group politicians . Right-click "Group Policy Object (GPO)", which must contain a new preferred item, then click Edit.

  2. In the console tree in the section Computer configurationexpand the settings folder, then expand the Windows Settings folder.

  3. Right-click the Registry Node, click New and select the registry element.

In the dialog box New properties registry Search for:


  • Action: Update

  • Bush: HKEY_LOCAL_MACHINE

  • Path to the section: System \\ CurrentControlSet \\ Services \\ MRXSMB 10

  • Parameter name: start

  • Type of value: REG_DWORD.

  • Data value: 4

Then remove the dependency in MRXSMB10, which has been disabled

In the dialog box New properties registry Search for:


  • Action: Replace

  • Bush: HKEY_LOCAL_MACHINE

  • Path to the section: System \\ CurrentControlSet \\ Services \\ Lanman Workstation

  • Parameter name: DependonService

  • Parameter type REG_MULTI_SZ.

  • Data value:

    • Bowser.

    • MRXSMB20.



Note. These three lines, there will be no markers (see below)

Default values \u200b\u200bcontain MRXSMB10 in large quantities versions of WindowsTherefore, the replacement of their multi-valued string will delete MRXSMB10 as dependencies for the LanmanServer and the transition from four default values \u200b\u200bto only three values \u200b\u200bdescribed above.

Note. When using the Group Policy Management Console, you do not need to use quotes or commas. Just enter each entry on a separate line, as stated above

Restart required:

After applying the policy and input of the SMB registry parameters, version 1 will be disabled after the system is rebooted.

annotation

If all parameters are in one group policy object (GPO), the group policy management will display the parameters below.

Testing and checking

After setting, give permission to execute replication and update. Since this is necessary for testing, run GPUPDATE / FORCE from the cmd.exe string and then view the target machines so that the registry parameters are applied correctly. Make sure the SMB version 2 and SMB version 3 work for all systems in the environment.

Attention! Do not forget to reboot the target systems.

This fall Microsoft plans to completely disable the SMBV1 protocol in Windows 10.

Network Protocol The SMB of the first version was designed by Microsoft for a couple of dozen years ago. The company clearly realizes that the days of this technology have long been discussed.

However, this change will only affect new windows installations 10. If you simply update to Windows 10 Fall Creators Update, the protocol will still remain in the system.

In the Windows 10 test assembly, the Insider Preview Build 16226 SMBV1 is already completely disconnected. In versions of home and Pro, the server component is deleted by default, but the SMB1 client is still in the system. This means that you can connect to devices via SMB1, but no one can connect to your machine on it. In the versions of Enterprise and Education SMB1 completely disabled.

Ned Pyle from Microsoft explained that the main reason for this decision was to increase the level of safety:

"This is the main, but not the only reason. The old protocol was replaced by a more functional SMB2, which provides more opportunities. Version 2.02 comes with Windows Server 2008 and is the minimum recommended version of SMB. To get maximum security and functionality, it is worth using the SMB version 3.1.1. SMB 1 has long been morally outdated. "

Although SMBV1 still stays on devices updated to Windows 10 Fall Creators Update.You can turn it off manually.

How to disable SMB1 in Windows 10

  1. Type in search Many Start Control Panel And go to "Programs and Components".
  2. In the left menu, select the "Enable and Disable Windows Components" option.
  3. Remove the checkbox near the object " Sharing SMB 1.0 / CIFS File Support”.

or using PowerShell:

  1. Right-click on the Start menu, select the option. Windows PowerShell (Administrator)
  2. Run the DISABLE-WindowsOptionalFeature -Online -FeatureName SMB1PROTOCOL command

annotation

This article describes how to enable and disconnect the Server Message Block (SMB) protocol version 1, SMB version 2 (SMBV2) and SMB version 3 (SMBV3) in the SMB client and server components.

A warning. It is not recommended to disable the SMB version 2 puncture or 3. Disable the SMB version 2 or 3 follows only as a temporary troubleshooting measure. Do not leave the SMB version 2 or 3 protocol in the disconnected state.

In Windows 7 and Windows Server 2008 R2, shutdown the SMB version 2 protocol will turn to the following functionality.


  • Combining requests to send multiple SMB 2 requests as a single network query.

  • Large volumes of read and write operations that allow optimal to use quick networks.

  • Caching the properties of files and folders in which customers save local copies of files and folders.

  • Long-term descriptors that allow transparent to restore connection to the server in case of temporary disconnection.

  • Improved message signatures where HMAC SHA-256 hashing algorithm replaces MD5.

  • Improved scaling for file sharing (the number of users, shared resources and open files to the server).

  • Support symbolic links.

  • The lease model of non-rigid client locks, which limits the amount of data transmitted between the client and the server, which allows you to imagine the performance of networks with a large delay and increase the scalability of the SMB server.

  • Large MTU support for full use of 10 gigabit Ethernet.

  • Reducing power consumption - customers who have open files open to the server can be in sleep mode.

In Windows 8, Windows 8.1, Windows 10, Windows Server 2012 And Windows Server 2016 Disabling the SMB version 3 will deleate the following functionality (as well as the SMB version 2 protocol functionality described in the previous list).

  • Transparent failover, in which clients switch to cluster nodes during maintenance or failure without disruption.

  • Scaling - with the provision of parallel access to the general data on all cluster nodes.

  • Multichannel provides bandwidth aggregation network Canal and the fault tolerance of the network in various channels available between the client and the server.

  • SMB Direct - provides support for RDMA networks to provide very high performance, a small delay and low CPU utilization factor.

  • Encryption - provides end-to-end data encryption and protects them from interception in unreliable networks.

  • Rental catalogs reduces the response time of applications in branches due to caching.

  • Optimization of productivity of random reading and writing small amounts of data.


Additional Information

How to enable and disable SMB protocols on the SMB server

Windows 8 and Windows Server 2012

Windows 8 and Windows Server 2012 presents a new Windows PowerShell Set-SMBServerConfiguration cmdlet. It allows you to enable or disable the SMB version 1, 2 and 3 protocols on the server.
Notes. When you enable or disconnect the SMB version 2 protocol, Windows 8 or Windows Server 2012 also turns on or disabling the SMB version 3. This is connected with the use of a common stack for these protocols.
After completing the cmdlet

  • To obtain current state SMB Server Protocol Configurations, follow the following cmdlet:

    Get-SMBServerConfiguration | SELECT ENABLESMB1PROTOCOL, ENABLESMB2PROTOCOL



  • Set-SMBServerConfiguration -Enablesmb1Protocol $ False



  • SET-SMBServerConfiguration -Enablesmb2Protocol $ False



  • SET-SMBServerConfiguration -EnableSmb1Protocol $ True



  • SET-SMBServerConfiguration -Enablesmb2Protocol $ True


Windows 7, Windows Server 2008 R2, Windows Vista and Windows Server 2008

To enable or disable the SMB protocols on the SMB server with Windows 7, Windows Server 2008 R2, Windows Vista. Or Windows Server 2008, use Windows PowerShell or registry editor.

Windows PowerShell 2.0 or later PowerShell


  • To disable the SMB version 1 protocol on the SMB server, follow the following cmdlet:

    Set-ItemProperty -Path "HKLM: \\ System \\ CurrentControlset \\ Serv Ices \\ LanmanServer \\ Parameters" SMB1 -Type DWORD -Value 0 -Force



  • To disable the SMB version 2 and 3 protocols on the SMB server, follow the following cmdlet:

    Set-ItemProperty -path "HKLM: \\ System \\ CurrentControlSet \\ SERV ICES \\ Lanmanserver \\ Parameters" SMB2 -Type DWORD -Value 0 -Force



  • To enable the SMB version 1 protocol on the SMB server, follow the following cmdlet:

    Set-ItemProperty -Path "HKLM: \\ System \\ CurrentControlSet \\ SERV ICES \\ Lanmanserver \\ Parameters" SMB1 -Type DWORD -Value 1 -Force



  • To enable SMB version 2 and 3 protocols on the SMB server, follow the following cmdlet:

    Set-ItemProperty -Path "HKLM: \\ System \\ CurrentControlSet \\ SERV ICES \\ Lanmanserver \\ Parameters" SMB2 -Type DWORD -Value 1 -Force


Note. After making these changes, the computer must be reloaded.

Registry editor

Attention ! The article contains information about changing the registry. Before making changes, it is recommended to create backup Registry. and explore the procedure for its recovery in case of problems. For more information about creating a backup, restore and change registry, see the Microsoft Knowledge Base below.To enable or disable the SMB version 1 protocol on the SMB server, configure the following registry key:

Registry subsection: Registry entry: SMB1
REG_DWORD: 0 \u003d Disabled
REG_DWORD: 1 \u003d Included
Default: 1 \u003d Included

To enable or disable the SMB version 2 protocol on the SMB server, configure the following registry key:

Registry subsection: HKEY_LOCAL_MACHINE \\ SYSTEM \\ CURRENTCONTROL SET \\ SERVICES \\ LANMANSERVER \\ PARAMETERSRegistry entry: SMB2
REG_DWORD: 0 \u003d Disabled
REG_DWORD: 1 \u003d Included
Default: 1 \u003d Included


sC.exe Config LanmanworkStation Depend \u003d BowSer / MRXSMB20 / NSI


sC.exe Config MrxSMB10 Start \u003d Disabled

  • To enable SMB version 1 protocol on the SMB client, perform the following commands:


    sC.exe Config MRXSMB10 Start \u003d Auto



  • To disable the SMB version 2 and 3 protocols on the SMB client, perform the following commands:

    sC.exe Config LanmanworkStation Depend \u003d BowSer / MRXSMB10 / NSI
    sC.exe Config MRXSMB20 Start \u003d Disabled



  • To enable SMB version 2 and 3 protocols on the SMB client, perform the following commands:

    sC.exe Config LanmanworkStation Depend \u003d BowSer / MRXSMB10 / MRXSMB20 / NSI
    sC.exe Config MRXSMB20 START \u003d AUTO


Notes.

  • These commands should be entered in command line With elevated privileges.

  • After making these changes, the computer must be reloaded.

Last large-scale viral attacks applied using holes and disadvantages of the old SMB1 protocol. According to one of the insignificant reasons, the Windows operating system still allows its default work. This old version The protocol serves to share files on the local network. Its newer versions 2 and 3 have become more secure and should be left included. So how you use a new operating system at number 10 or the previous one - 8 or even outdated - 7, you must disable this protocol on your PC.

It is enabled only because even some users use old applications that were not updated on time to work with SMB2 or SMB3. Microsoft compiled their list. It, if necessary, find and browse on the Internet.

If you support all your programs installed on the computer, in proper condition (update it in time), you most likely need to disable this protocol. By this step, increase the security of your operating system and confidential data. By the way, even the specialists of the corporation itself recommended to disable it, if necessary.

Are you ready to make changes? Then let's continue.

SMB1

Open the Control Panel where you go to the "Programs" section and select "Enable / Disable Windows Components" subsection.

In the list, find the "Support for Sharing SMB 1.0 / CIFS files" option, remove the mark from it and click OK.

Restart the operating system before saving all your files editable before this, such as documents, etc.

For Windows 7.

Here you will help edit system registry. It is a powerful system tool and in case of incorrect data in it, can lead to unstable OS operation. Use it with caution, before that, be sure to retrieve a backup to roll back.

Open the editor for which you press the Win + R keyboard combination on the keyboard and typing "regedit" in the input box. Next, go on the next way:

HKEY_LOCAL_MACHINE \\ SYSTEM \\ CURRENTCONTROLSET \\ SERVICES \\ LANMANSERVER \\ PARAMETERS

create a new 32-bit DWORD parameter and assign it the name "SMB1" with the value "0". Restart the system.

Attention! These methods act to disable the protocol only on one PC, but not throughout the network. Contact your Microsoft official documentation for information you are interested in.