All I did was go to file explorer; map network drive; choose the drive letter you want; select reconnect at logon; drive path would be \\youripaddress\music; enter the username and password when prompted and select save credentials - you then have a permanent connection.
I used the IP address as sometimes the PC does not resolve the device name.
Hope that helps"
I don't have Sonos, but use NAS and Spike's method sorted it for me.