Get all your news in one place.
100’s of premium titles.
One app.
Start reading
Windows Central
Windows Central
Technology
Mauro Huculak

How to convert a PC into a NAS on Windows 11

Windows 11 as a NAS.

On Windows 11, you can turn your (or any) computer into NAS (network-attached storage) to share files and folders in the network with other users.

A NAS is a dedicated device designed specifically to store and share data over the network. Usually, you will build a file server by repurposing an older computer or server using free NAS software, such as TrueNAS, or purchase a dedicated NAS, such as those available through Synology. However, you can always configure virtually any Windows computer to work as a network-attached storage using the file-sharing capabilities.

In this how-to guide, I will explain the steps to turn your Windows 11 computer into a NAS. (Although you can virtually use any computer, I don't recommend configuring a laptop for this type of project.)

How to turn your PC into NAS on Windows 11

If you want to turn your desktop computer into a network-attached storage device, first, you need to configure the storage, set a static network configuration for the device, set and configure a network share folder, and then connect the devices you want to access the contents of the server.

Connect a secondary drive

Although you can always share files from the main drive, I always recommend setting up secondary storage to store and share files.

If you plan to convert your device into a more NAS-like device, installing an internal drive is best.  

You can always connect external USB drives, but you must ensure they're always connected and online. Otherwise, users won't be able to access the data.

Windows 11 also includes the Storage Space feature, which allows you to combine a group of drives to create storage with redundancy. However, while it's possible to use it for a file server, I recommend not using it for production data since you "may" encounter performance issues. Typically, you would use Storage Spaces for other tasks like archival purposes, such as to store a file backup.

Configure a static IP address

If you plan to set up your computer as a NAS, consider configuring a static IP address on the device. The reason is that computers usually receive a dynamic network configuration through the Dynamic Host Configuration Protocol (DHCP) server (usually the router), which can change anytime. If this happens, other computers in the network may not be able to access the resources in the Windows 11 devices acting as a file server.

It's not a requirement, but for the most optimal experience, it's best to have an Ethernet connection rather than a Wi-Fi connection since a wired connection is usually faster and more reliable.

To configure a static IP address on Windows 11, use these steps:

  1. Open Settings.
  2. Click on Network & internet.
  3. Click the Ethernet page on the right side.
(Image credit: Mauro Huculak)
  1. Choose the Private network option to make the NAS discoverable in the network.
  2. Click the Edit button in the "IP assignment" setting.
(Image credit: Mauro Huculak)
  1. Choose the Manually option.
  2. Click the OK button.
  3. Turn on the IPv4 toggle switch.
  4. Confirm the new static IP address for the device. For example, 10.1.4.200.
  • Quick note: You have to choose an address that is outside of the DHCP scope. Otherwise, the DHCP may assign the address to another device, causing networking conflicts. You can confirm or change the address assignment range on your router or the device acting as the DHCP server.
  1. Confirm the Subnet mask for the network. For example, 255.255.255.0.
  2. Confirm the Gateway address, which is typically the address of the router. For example, 10.1.4.1.
  3. Confirm the Preferred DNS address, which is also usually the address of the router. For example, 10.1.4.1.
(Image credit: Mauro Huculak)
  • Quick note: If you set the router's address, you don't have to worry about adding an alternate DNS address.
  1. Click the Save button.
  2. Click the back button to open the "Network & internet" page again.
  3. Click on Advanced network settings.
(Image credit: Mauro Huculak)
  1. Click "Advanced sharing settings" under the "More Settings" section.
(Image credit: Mauro Huculak)
  1. Turn on the Network discovery toggle switch (if applicable).
  2. Check the set up connected devices automatically option (if applicable).
  3. Turn on the "File and printer sharing" toggle switch (if applicable).
(Image credit: Mauro Huculak)

Once you complete the steps, the computer will always be accessible from the static IP address configuration. 

Configure power settings

If you want a shared folder always available, you have to ensure the computer doesn't turn off automatically after some time of inactivity. You can do this by changing the power settings.

To change the power settings to prevent the computer from going to sleep mode, use these steps:

  1. Open Settings.
  2. Click on System.
  3. Click the Power (or Power & battery) page on the right.
  4. Click the "Screen and sleep" setting.
  5. Select the Never option for the "When plugged in, put my device to sleep after" setting (if applicable).
(Image credit: Mauro Huculak)

After you complete the steps, the computer will always stay awake, ensuring users have uninterrupted access to the files.

Set up a shared folder

If you want to share files with other users in the network, you first want to create a local account for each user you wish to access to access the shared folder, or you can create a master account that you can configure on every computer.

Create a user account to access the NAS

To create a network user account on Windows 11, use these steps:

  1. Open Settings.
  2. Click on Accounts.
  3. Click the Other Users setting.
(Image credit: Mauro Huculak)
  1. Click the Add account button.
(Image credit: Mauro Huculak)
  1. Click the "I don't have this person's sign-in information" option.
  2. Click the "Add a user without a Microsoft account" option.
  3. Confirm the name of the account to access the shared folder. For example, NASuser.
(Image credit: Mauro Huculak)
  1. Confirm a password for the account.
  2. Complete the security questions for the account recovery.
  3. Click the Next button.

Once you complete the steps, you can proceed to create and configure a folder that network users can access in the NAS.

In this guide, I'm creating a master account, but you can repeat the steps to create additional accounts. 

Create a shared folder for the NAS

To create and configure a folder with network access, use these steps:

  1. Open File Explorer.
  2. Click on This PC from the left navigation pane.
  3. Open the "C" drive or the drive you want to create the shared folder.
  • Quick note: I recommend creating the shared folder in the root of the "C" or another drive's root for the experience and security. You don't want to share folders from within your profile folders (Desktop, Documents, etc.).
  1. Use the "Ctrl + Shift + N" keyboard shortcut to create a new folder.
  • Quick tip: You can also create new folder from the "New" menu and choose the "Folder" option.
  1. Confirm a descriptive name for the folder, for example, "NAS," and press Enter.
  2. Right-click the newly created folder and select the Properties option.
(Image credit: Mauro Huculak)
  1. Click the Sharing tab.
  2. Click the Share button.
(Image credit: Mauro Huculak)
  1. Select the NASuser account from the drop-down menu.
  2. Click the Add button.
  3. Open the permission level menu and choose the "Read/Write" option.
(Image credit: Mauro Huculak)
  1. Click the Share button.
  2. Click the No option (if applicable).
  3. Click the Done button.
  4. Click the Close button.

Once you complete the steps, the folder will be accessible to anyone with the account and password you created.

It's important that you create a structure for the folders you plan to share. For example, for the name home folder, you can use the "NAS" name, and inside the folder, you can create subfolders for "Media," "Documents," "Downloads," and "Backups."

Connect PCs to the NAS

To connect a Windows 10 or 11 computer to the shared folder in the NAS, use these steps:

  1. Open Start.
  2. Search for Control Panel and click the top result to open the app.
  3. Click on User Accounts.
(Image credit: Mauro Huculak)
  1. Click on Credential Manager.
(Image credit: Mauro Huculak)
  1. Click on Windows Credentials.
  2. Click the "Add a Windows credential" option.
(Image credit: Mauro Huculak)
  1. Confirm the IP address of the NAS running Windows 11.
  2. Confirm the name of the account with access to a shared folder.
  3. Confirm the password for the account.
(Image credit: Mauro Huculak)
  1. Click the OK button.
  2. (Optional) Click the "Add a Windows credential" option.
  3. Confirm the name of the computer running the Windows 11 NAS.
  4. Confirm the name of the account with access to a shared folder.
  5. Confirm the password for the account.
  6. Click the OK button.
  7. Open File Explorer.
  8. Click on Network from the left pane.
  9. Right-click the NAS device and select the Open option.
  10. Right-click the NAS shared folder and choose the Open option.
(Image credit: Mauro Huculak)
  • Quick tip: You can always choose the "Pin to Quick access" option for faster access to files from the left navigation pane.

After you complete the steps, the user can access, create, and delete files and folders from the Windows 11 device acting as NAS.

It's important to note that in this guide, I added the credentials twice, so you can have access to the files using an IP address or the computer name. If you're comfortable using the IP address, you can skip adding the account a second time with the computer name.

Although you would typically set up a NAS as a dedicated server, if you don't have additional hardware, you can set up the file-sharing capabilities and continue to use the computer as you would normally. Of course, this is as long as you're setting this up for a few users on your home network.

More resources

For more helpful articles, coverage, and answers to common questions about Windows 10 and Windows 11, visit the following resources: 

Sign up to read this article
Read news from 100’s of titles, curated specifically for you.
Already a member? Sign in here
Related Stories
Top stories on inkl right now
Our Picks
Fourteen days free
Download the app
One app. One membership.
100+ trusted global sources.