How to share files with SMB on TrueNAS

These are the easy steps to create a shared folder on TrueNAS.

TrueNAS configure share with SMB

On TrueNAS, you can share a folder with network users regardless of the operating system, including Windows 11, 10, macOS, or Linux, and in this guide, you will learn the steps to complete this task. 

If you have a Network Attached Storage (NAS) with an installation of TrueNAS, you first have to create the user account that will be accessing the files, storage pool, and dataset with the necessary permissions before making the folder available to users using Samba (SMB) protocol.

This guide will teach you the steps to configure a folder share on TrueNAS with network users.

Share folder with network users from TrueNAS

To share a folder from TrueNAS, use these steps:

  1. Open TrueNAS (web).

  2. Click on Sharing from the left pane.

  3. Click on Windows Shares (SMB).

  4. Click the Add button in the top-right corner.

    TrueNAS Sharing SMB

  5. Under the “Basic” section, expand and select the dataset that users will access from the network.

  6. Under the “Name” field, confirm a name for the folder share.

    TrueNAS folder share configuration

  7. Click the Submit button.

  8. Click the Enable Service button (if applicable).

Once you complete the steps, the shared folder will be created, and it can be accessed by any Windows machine.  

Connect to TruNAS shared folder on Windows 11

To map a TrueNAS shared folder on Windows 11, use these steps:

  1. Open File Explorer on Windows 11.

  2. Click on This PC from the left pane.

  3. Click the main menu (three-dotted button) and select the Map network drive button.

    Map a network drive

  4. Choose one of the available drive letters in the “Drive” setting.

  5. Confirm the path of network share on TrueNAS (for example, \\\MyDataset) in the “Folder” setting.

  6. Check the “Reconnect at sign-in” option to permanently connect to the TrueNAS location.

    Windows 11 map TrueNAS folder

  7. Check the “Connect using different credentials” option.

  8. Click the Finish button.

  9. Confirm the TrueNAS share folder account credentials.

After you complete the steps, you can now access the shared folder and its contents from the “This PC” page in File Explorer or navigate to the “Network” page.