How Do I Configure File Sharing and Network Disk Mapping for a Windows ECS?
Scenarios
This section describes how to share a folder between Windows ECSs over an intranet.
Constraints
Some carriers may block ports 139 and 445. As a result, you cannot access the shared folders over the Internet. Therefore, you are advised to share a folder between Windows ECSs only over an intranet.
Procedure
- Check whether the two Windows ECSs that are to share a folder are correctly configured.
- Ensure that TCP/IP NetBIOS Helper is started.
Open the CLI, run the services.msc command, and locate TCP/IP NetBIOS Helper to check its status.Figure 1 Tcp/IP NetBIOS Helper
- Ensure that Enable NetBIOS over TCP/IP is selected on the NIC.
Right-click the Network icon in the lower right corner and choose Open Network and Sharing Center from the shortcut menu. Click Change adapter settings. Right-click Ethernet and choose Properties from the shortcut menu. Double-click Internet Protocol Version 4 (TCP/IPv4). Choose Advanced > WINS and select Enable NetBIOS over TCP/IP.Figure 2 Enabling NetBIOS over TCP/IP
- Ensure that the inbound rules are added for ports 139 and 445 on the Windows ECS firewall.
- Ensure that TCP/IP NetBIOS Helper is started.
- Configure Network and Sharing Center
- Click Open Network and Sharing Center.
- Click Change advanced sharing settings.
Figure 3 Change advanced sharing settings
- Ensure the network types of the two Windows ECSs are same. For example, both are public or private. Select Turn on network discovery and Turn on sharing so anyone with network access can read and write files in the Public folder.
Figure 4 Enabling network discovery
Figure 5 Enabling public folder sharing
If the network discovery function cannot be enabled, you can run the services.msc command to start the Services manager. Check whether the following services on which the network discovery function depends are enabled:
- Function Discovery Resource Publication
- SSDP Discovery
- UPnP Device Host
- In the Services manager, start the Workstation service.
This service depends on the Computer Browser and Remote Desktop Configuration components. Before starting the Workstation service, start the two components.
Figure 6 Enabling the Workstation service
- Configure disk sharing on the ECS that needs to access the shared disk.
- Right-click the disk to be shared and select Properties.
- Click the Sharing tab and then click Advanced Sharing.
Figure 7 Configuring disk sharing
- Set Share name and click OK.
Customize a name for the folder to be shared.
Figure 8 Entering a name for the folder to be shared
- Start another ECS in the same region and access the shared folder over the intranet.
- Start the Run dialog box.
- Enter \\Intranet IP address\123 and click OK to open the shared folder.
Figure 9 Assessing the shared folder
- (Optional) Create a network drive mapping for the shared path. Perform this operation to access the shared folder more conveniently.
- Right-click the shared folder and choose Map network drive from the shortcut menu.
Figure 10 Creating a mapping
- Map the network drive.
Figure 11 Mapping the network drive
- Click the name of the mapped network drive, choose Create Shortcut, and send the shortcut to the desktop.
Double-click the shortcut to quickly access the shared folder.Figure 12 Creating a shortcut
- Right-click the shared folder and choose Map network drive from the shortcut menu.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot