Roomknob
Language: English

Add your music library to Sonos from a Windows PC

The Sonos music library lets every Sonos app browse the music on your PC. It needs a shared folder in Windows that the speakers can open over the network. Most problems come from sharing and permissions, so this guide spends most of its time there.

Before you start

  • Use a PC that stays on while you listen. The speakers read the files from it every time.
  • Put your music in one folder, for example D:\Music, with subfolders per artist or album.
  • Know which app your system uses. S2 (the current Sonos app) needs SMBv2 or SMBv3; the S1 Controller needs SMBv1, according to Sonos support.

1. Share the folder in Windows

  1. In File Explorer, right-click the music folder and choose Properties, then the Sharing tab.
  2. Click Advanced Sharing, tick Share this folder and keep the share name short, for example Music.
  3. Click Permissions and make sure the account the speakers will use has Read access.
  4. Note the computer name (Settings, System, About, Device name). The network path is \\COMPUTERNAME\Music.

Many people create a separate local Windows account just for Sonos, with a simple password and read access to the share, so they do not have to type their Microsoft account password into the Sonos app.

2. Add the share in the Sonos app

Open the music library settings in the Sonos app, choose to add a shared folder on a networked device, and enter the path from step 1 with the user name and password that can read it. Sonos then indexes the folder; with a large collection that takes a while.

3. Check the limits

  • Sonos says: "A Sonos music library has a 65,000 track limit." The limit can also be reached by memory use, which "can be reached prior to 65,000 tracks if there is a large amount of metadata" (source).
  • New files appear only after Sonos updates its index. Run an index update from the music library settings after adding albums.

Common errors

  • Access denied or wrong password. Check the share and folder permissions, and try the user name as COMPUTERNAME\username.
  • The path is not found. Use the computer name or the PC's IP address, for example \\192.168.1.20\Music, and make sure File and printer sharing is on for private networks (Settings, Network and internet, Advanced network settings, Advanced sharing settings).
  • S1 system cannot connect. SMBv1 is off on most current Windows installations. Sonos itself warns that "There are known security risks when using SMBv1 for file sharing." Think twice before turning it back on.
  • Some albums are missing. You may have reached the track or memory limit, or the files are in a format Sonos does not read.

The alternative without a share

If you only want to play your files from the PC itself, you can skip all of the above. Roomknob plays music folders straight from your PC: you choose the folder, it serves the files to the speakers over HTTP on your home network, and there is no share, no password and no SMB version to worry about. That also helps S1 systems that would otherwise need SMBv1. The catch: you browse and start that music in Roomknob, not in the Sonos phone app. Both ways compared.

Questions

Which SMB version does Sonos need?

SMBv2 or SMBv3 for systems on the current Sonos app; SMBv1 for systems on the S1 Controller, according to Sonos support.

How many songs can a Sonos music library hold?

Up to 65,000 tracks, and fewer if the files carry a lot of metadata, says Sonos.

Do I need to keep the PC on?

Yes. The library is only an index; the speakers read every song from the PC while it plays.

Last updated November 18, 2026. Still stuck? Write to support, a person reads every email.

Related help