How To - Share a Folder or Drive in Windows 11

Last Update: June 4th, 2024
Article ID: 2596380

Often it can be helpful to have access to a folder or external hard drive from two computers.  Instead of unplugging an external hard drive and physically moving it to the second computer it may be more efficient to share the driver over the network.

Windows file sharing includes password based authentication and can be easily configured to share specific folders or entire drives over the network, providing access to the same data from multiple computers, while slower than a directly connected USB 3 hard drive it can be more convenient.

This article will demonstrate how to share the file system from an externally connected SATA SSD over the network for access from other Windows workstations.  We will use the computer's local user account and password for authentication.

Definitions:

  • Server - The server will be the computer with the USB attached SSD, this can have Windows 10 or 11 with an administratively privileged user account
  • Client - The computer connecting to the shared driver over the network, this can have Windows 10 or 11

Hardware to replicate this setup:

  • 2x Windows computers, the process is very similar for Windows 10 and Windows 11 to act as Server and Client
  • 1x SATA Vertical Hard Drive Dock with USB-C connection USBC-SATA-V ( https://plugable.com/products/usbc-sata-v )
  • 1x SATA SSD or Hard Drive
  • Network with both Server and Client - recommended a wired network for best performance, however wireless also works

Setting up the file server

1 - Connect the hard drive to the Server, if not already formatted the partition and format the drive with an NTFS file system, ensure the file system is detected and accessible under your user account.

2 - Open Windows File Explorer, holding down the Shift key, right-click on the drive or folder to be shared, hover over “Give access to” and select “Advanced sharing…” to open the “Advanced Sharing” window

 

windows file sharing - right-click menu

 

3 - Under the “Advanced Sharing” subsection, select the “Advanced Sharing” button, this requires local administrative permissions

windows file sharing - drive properties

4 - Under the “Settings” subsection, select the “Share this folder” checkbox", then select the “Permissions” button to open the “Permissions for <sharename>” window.

windows file sharing - advanced sharing dialog

5 - Under “Group or user names:” subsection, select the “Add…” button to open the “Select Users or Groups” window

windows file sharing - permissions add user

6 - In the text box in the “Enter the object names to select (examples):” heading, type in your user account name, in this example “plugable”, then click the “Check Names” button to automatically complete the field, the first part of this name is the computer's host name ending before the back slash “\”, noted this down for connecting to this computer, when done select “OK” button

windows file sharing - select users or groups

7 - On the “Permissions for <sharename>” window, under the “Group or user names:” subsection, select your username, then under the “Permissions for <username>” subsection, check the “Allow” boxes to provide both read and write permissions to the shared drive, click on “OK” when complete

windows file sharing - assign permissions for share

8 - The drive or folder should now be shared and available for any Windows host connected to the same network - one note, this does require the computers to be on the same subnet ( for example connected to the same WiFi or same Ethernet switch/router ) and for the Windows Firewall to be set to a Private network - additional details here ( https://kb.plugable.com/2600495 )

Connecting to the share for quick access

1 - Connect the Client to the same network as the server if not already connected

2 - Use the keyboard shortcut Windows + r to open the Windows Run dialog ( Press and hold the Windows Flag key, then tap the ‘r’ key, and release the Windows Flag key )

3 - In the Run dialog, type in two back slash characters “\\” then type in the name of the Server, in this example “HP-22-ELITEG9” ( from Step #6 in the file server setup above )

windows file sharing - connect to network share

4 - Enter your user account credentials when prompted, these are the credentials for the Server not the Client computer

windows file sharing - enter network credentials

5 - Windows File Explorer should be open with the shared folder or shared drive accessible now.  You can drag and drop items into and out of this folder, however if you would like to save files to this folder from within applications you will need to mount the share as a drive letter

windows file sharing - windows file explorer

Assigning a drive letter to a network share

1 - Complete the “Connecting to the share for quick access” section above, then right-click on the share name in Windows File Explorer and select “Map Network Drive”

2 - Make any changes you see fit and Select the “Finish” button to use the default settings, by default network drive assignment starts with “Z:” and works backwards through the alphabet.

From here you can save files directly to the “Z:” drive and they will be saved onto the shared folder or drive for access from either the Client or Server computers.

Additional notes

This method of network file sharing requires the Server to be active and on the network for the Client to access the shared files.  If the Server is set to enter sleep mode or hibernation when idle the network share may become inaccessible.

Network file systems also have reduced performance compared to a directly connected USB external hard drive, depending on the network, drive type, and connection to the Server this can be anywhere from 1/10th the speed to nearly the same speed.