A shared server overview

Provides file sharing services over the network and provides file download and upload services (similar to FTP server)

2. Create a share

Method: Right-click folder properties – Share – Enable Share – Set share name – Set share permission

Note:1) When logging in locally, only NTFS permissions are affected2) in remote login, will be affected by both share and NTFS permissions, and take the intersection!3Therefore, it is recommended to set the share permission to everyone full control, and then set specific permission requirements in NTFS permission.Copy the code

3. Access sharing

In the address bar of the computer that started running/or my, type the UNC address: \\ file sharing server IP\ \ File sharing server IP\ share nameCopy the code

Create a hidden share

Method: Share name $

Methods to access hidden shares

\ server IP\ share name $

Share related commands

net share                         # list the sharesNet share Share name /del            # delete share
Copy the code

Seven, shielding system hidden share automatically generated

6.1 Opening the Registry Open the registry editor: regedit

HKEY_Local_MACHINE\System\CurrentControlSet\Services\LanmanServer\Parameters Right-click to create an AutoShareServer key of type REG_DWORD with a value of 0

Check the local network connection status

netstat -an

Close the 445 service

You can block incoming viruses (ransomware, etc.) by turning off port 445

Method 1: Open services. MSC, and stop or disable the server service

Method 2: Disable access to 445, configure advanced security firewall – inbound rule (on Windows 7 or later, Windows 2008 or later)