Skip to main content

I have ITunes on a Windows PC. The iTunes Music folder has been happily linked to Sonos for years without a problem. I then decided I wanted to use OneDrive to back up my documents and music. Got that working but then I found that my Music Library content had disappeared from Sonos. On checking, I saw that Windows had changed the directory path on the PC from \User\music to \user\onedrive\music. I changed the share permissions on the \user\onedrive folder so that is shared with ‘Sonos Music WiFi System’ and was able to add the ‘new’ music library settings back into Sonos. However when I ‘Update Music Library’ it shows ‘indexing’ for just a few seconds but does not update any content. Any ideas?

I am very sorry that I installed OneDrive on my new laptop. I had migrated everything from the old laptop. Then I found that many of my datafiles had migrated to OneDrive. This caused all sorts of issues with my applications installed here and on other computers that use these files.

I quickly uninstalled OneDrive, but the uninstall did not move the files back to their original location. And, OneDrive is sending marketing messages.


Thanks buzz. My problem is not quite the same. I configured OneDrive to backup only and leave original files on the local PC. Only change for me is that Windows automatically added ‘OneDrive’ to the local directory structure. All of my music is still on the local PC. 


Maybe make a new directory on your C drive, call it music or something short. Move your music there. Tell Windows to share it. Hook your Music Library to it. Hopefully avoiding any One Drive “help.”

I find long computer names and long directory names aggravating when they don’t fully display and sometimes cause errors.


I unlinked my desktop PC from OneDrive and was able to get Music Library working again. Then set up OneDrive again and once again it all fell apart. Going to ditch OneDrive completely and backup manually to external drive. 


I have the same problem, which I think is due to:

  1. W11 changing the location of the ‘My Music’ alias from “C:\Music” to “C:\users\username\OneDrive\Music”
  2. Sonos not recognising this new location

I do not want to stop using OneDrive to store music, as I have configured with the green tick to ensure the music files are ‘aways kept on this device’ (i.e. stored locally on my C: drive)  AND that they are conveniently backed up automatically to my OneDrive cloud. 

As the MyMusic alias no longer works I tried linking Sonos to my music library MANUALLY using \\COMPUTERNAME\Music  and \\COMPUTERNAME\users\username\OneDrive\Music with no success

What DOES work is a duplicate copy of your music in a location that does not use OneDrive on your desktop* (e.g C:\Music1) or on an external drive or NAS.

*Configured (in prpoerties) to share read/write access with the user “Sonos-Wireless HiFi system”

A bity of a faff but at least you have another music copy if Onedrive fails...  


Make sure you mark your OneDrive music files as “Always keep on this device”, else they can be removed from the local drive and replaced with tombstone markers. Sonos cannot handle those, only real files.


Per my post above my OneDrive music files ARE all marked 'keep on this device'. Unfortunately, for some reason Sonos does not recognise these files when they are located in C:\users\username\onedrive\music.

Any other directory on my C: drive, or my external H: drive works fine provided you apply the correct share permissions (in prpoerties  share read/write access with the user “Sonos-Wireless HiFi system”)

This means if I wish to continue using my music library with sonos, and continue to use my onedrive i need 2 copies of my music files: one for sonos ( not located on onedrive) and one on onedrive which are stored locally and back up to the cloud.