Windows Server

How to create and configure a Shared Folder on Windows Server

Having talked about  how to configure NFS Server on Windows Server in my previous post, this post will focus on how to Create and Configure the Shared Folder on Windows. Also, we’re going to create a folder(s) to store data created by multiple application instances in your organization and use NFS to share the folder between them.

Shared Folder

Create folders for both Manager and Sessions and complete the steps below for each applications storage folder. Moreover, to see other related guides on how to upgrade Windows 10 with an unsupported CPU and TPM 1.0 to Windows 11​, Azure virtual networks: how to prepare Azure and on-premises virtual networks using Azure CLI commands, and how to back up an Azure VM from the VM settings

Let’s get started by doing the following:

  1. Open Fire Explorer and create a Shared Folder in C:\ drive. Examples: “temp-storage” and “shared-storage”
  2. Right-click on the new folder and select Properties.
  3. On the ‘Properties’ window, select the ‘NFS Sharing‘ tab.
  4. When done, select the ‘Manage NFS Sharing…‘ button.

5. In the NFS Advanced Sharing widget, check the ‘Share this folder‘ checkbox, then select Permissions.

Shared Permission Screen

6. From the NFS Share Permissions screen, do the following:

  • Select ‘Read-Write‘ option in the ‘Type of access:’ field
  • Select the checkbox ‘Allow root access.’
NFS Shared Permission Screen

7. Select OK, then Close, to complete sharing the newly created Shared Folder.

Configure Shared Server’s Firewall

Let’s assume we are running MySQL database application as our internal application. To configure the Firewall on the Shared Server to enable the MySQL database application nodes to access the components installed.

Open the ports of the following components:

  • MySQL is running on port 3306 while NFS is running on port  2049.

To do so, we will do the following:

  1. From the Control Panel, open Windows Defender Firewall.
  2. Then Select Advanced settings.
Windows Defender Firewall

3. On the Windows Defender Firewall with Advanced Security window, select Inbound Rules from the left panel.
4. When done, Select New Rule. In the Inbound Rules from the right panel.

Inbound Rule

5. On the New Inbound Rule Wizard screen, select the option 'Port' and click Next. focus on how to Create and Configure the Shared Folder on Windows Server.

Select Port

6. On the Protocol and Ports screen, do the following:

  • Select TCP option
  • Then Select Specific local ports option, and enter the port values of MySQL and NFS, separate each value by a comma. For example we have: 3306 , 2049.
  • Click Next when you are done.
Defining Port Numbers

7. On the Action screen, make sure the option Allow the connection is selected, then click Next.

Allow Connection

8. On the Profile screen, make sure all the options for Domain, Private and Public are checked, then click Next.

Check Domain, Private and Public Profile

9. On the Name screen, enter a name for your new rule, e.g. ‘Shared Ports (Shared Folder) for MySQL database application', then click Finish.

Enter a Name

Finally, you’re done to create, configure and set up the shared server on Windows . Please note that you must restart the server for the changes and configurations to take effect!

In summary, I hope you found this blog post “How to Create and Configure the Shared Folder on Windows Server” helpful. Also, If you have any questions, please let me know in the comment session.

Notify of

Inline Feedbacks
View all comments
Would love your thoughts, please comment.x