Apple Music on Windows is only syncing my purchased songs, not my entire library

I just started using Apple Music on Windows 11, transferring over from iTunes. When attempting to sync my music library for the first time using Apple Devices, only songs which I've purchases through the iTunes Store seem to be transferring over to my iPhone (exactly 138 out of 6341 songs). I have made sure all checkbox's and sync settings are correctly selected, and ensured there is adequate SSD space on my phone device, however this changes nothing and the problem persists.


Interestingly I notice that certain settings, [manually manage music, movies and TV shows] and [sync music onto (device)], become unchecked after I select to apply settings and re-sync the device. I can go back and re-check these settings, either individually or simultaneously, and every time without fail, these are automatically unselected again following a device sync and my music is not correctly mirrored.


Is there a phone settings conflict which is causing this, or security permissions? How can I get my music to sync properly?



[Re-Titled by Moderator]



iPhone 14 Pro, iOS 18

Posted on Mar 14, 2025 3:17 PM

Reply
Question marked as Top-ranking reply

Posted on Apr 8, 2025 1:06 PM

I'm assuming the songs that don't sync still play in the library? Did you try anything similar to Repair security permissions for iTunes for Windows - Apple Community, i.e. explicitly reapply the default security permissions for all files within the media folder?


I haven't had a chance to test it, but at least one person has suggested that the latest Microsoft Store version of iTunes for Windows may not revert properly when the other apps are removed. Removing that and reinstalling iTunes from this link might help there: https://www.apple.com/itunes/download/win64.


The extra Music folder inside the media folder is standard. If you copy something into the media folder, or it starts off inside it but the Keep organized option is on, then iTunes/Music will use their layout rules. iTunes 9 introduced iTunes Media Organization which added a subfolder for Music in the media folder into which artist folders would be put, to match the existing high level folders for other media types. Now that Apple Music is focused only on Music this extra layer is unnecessary, but Apple didn't think to change the default library layout to exclude it, or provide a way to remove it. (You can still add it though if it is missing, at least in the Mac version.)


If you were running iTunes I could offer a script that could potentially fix any broken links, but Apple Music is lacking support for such niceties.


Is there any redirection going on with your Music folder? Not buried in OneDrive or something? The right hand screenshot above doesn't show the full path, but what is shown appears to agree in all the visible components. In principle iTunes/Apple Music won't reimport a track when there is already one in the library with the same absolute file path.


tt2

Similar questions

36 replies
Question marked as Top-ranking reply

Apr 8, 2025 1:06 PM in response to Stratiegery01

I'm assuming the songs that don't sync still play in the library? Did you try anything similar to Repair security permissions for iTunes for Windows - Apple Community, i.e. explicitly reapply the default security permissions for all files within the media folder?


I haven't had a chance to test it, but at least one person has suggested that the latest Microsoft Store version of iTunes for Windows may not revert properly when the other apps are removed. Removing that and reinstalling iTunes from this link might help there: https://www.apple.com/itunes/download/win64.


The extra Music folder inside the media folder is standard. If you copy something into the media folder, or it starts off inside it but the Keep organized option is on, then iTunes/Music will use their layout rules. iTunes 9 introduced iTunes Media Organization which added a subfolder for Music in the media folder into which artist folders would be put, to match the existing high level folders for other media types. Now that Apple Music is focused only on Music this extra layer is unnecessary, but Apple didn't think to change the default library layout to exclude it, or provide a way to remove it. (You can still add it though if it is missing, at least in the Mac version.)


If you were running iTunes I could offer a script that could potentially fix any broken links, but Apple Music is lacking support for such niceties.


Is there any redirection going on with your Music folder? Not buried in OneDrive or something? The right hand screenshot above doesn't show the full path, but what is shown appears to agree in all the visible components. In principle iTunes/Apple Music won't reimport a track when there is already one in the library with the same absolute file path.


tt2

Apr 8, 2025 10:00 AM in response to Stratiegery01

Update: I have created a ticket with Apple Support, Case ID: 102564756894. So far I've spoken to 6 different tech rep's (so far), 3 of them senior, none of whom have been able to diagnose the problem. We can only confirm that the problem with syncing music to my device happens with iTunes and with Apple Music/Devices, and that both applications are referencing the correct library file locations for each song.


By chance I noticed that the songs which are not syncing are mostly MP3's, downloaded from many other sources such at 7-Digital, SoundCloud, Bandcamp, or directly from an artist's website. These songs were all organized correctly in iTunes before, complete with album artwork and details. The music library continues to organize these songs into their respective playlist correctly, but the songs themselves do not play from within the Apple software. There is no problem with song playback if I open the file directly from Windows Explorer/Finder, and play using VLC player or Windows Media Player; so we can confirm that the song file is not corrupt in any way. Here's one example:

The bottom song is the original MP3 as the library playlist has saved it, located in the correct file folder. The top song I simply drag-dropped the same exact MP3 into the playlist window again, and now it shows all the album artwork/details again. It also moved the file location from 'C:\Users\_\Music\Apple Music\Media' to 'C:\Users\_\Music\Apple Music\Media\Music' automatically, despite me not having that setting selected.


So new problem hypothesis: the songs which are not syncing to iPhone are all similar to the above example; they cannot be played in any Apple software until the exact file is re-imported into the library.


Obviously I do not want to go song by song through +6000 files to re-import into a library, which already appears to be organized just fine. Because these songs had no playback or syncing problem in previous software versions, this seems like an obvious bug Apple needs to address. Barring that long process of software development, what can I do now to make these songs read correctly (en masse)?

May 24, 2025 6:06 AM in response to Stratiegery01

Hi,


That is disappointing. I'd hoped to be making progress. Another approach that would potentially work would be to reimport the media folder, which should add in any tracks at paths not already present in the library, then dedupe to remove dead links while preserving good ones. I have another script called DeDuper that I would normally suggest for this, which can resolve duplicates while merging ratings, play counts, playlists membership and sometimes the earliest data added value. This script however would need rewriting a little to take account of your peculiar library which returns folders but not full paths in the case of your broken tracks.


The other thought I had since my script is failing to reconnect things is to make another script that could itemize every file path in your media folder along with the file's size creating a .csv file that I could examine here along with an up to date copy of your .itl file with a view to working out where the FindTracks script is falling down.


While considering options when did this issue first arise? Perhaps there is a not too ancient copy of your library in the Previous iTunes Libraries folder that if accessed by shift-starting-iTunes would hold the correct paths to these tracks. If so it may be possible to use ExportImport (edited so that it only exports the location property) to export the details from the old library, then reconnect to the current one, and import the data to fix the library. Or if that Previous Library is really recent you could just use that instead.


tt2

Jun 2, 2025 10:33 AM in response to Stratiegery01

The system32 folder is an odd place to send you. I wonder if it is worth following the steps in this tip: Repair security permissions for iTunes for Windows - Apple Community. I'll have to put my thinking cap on again to see if I can think of anything else to help FindTracks work as it should. I suppose it is possible a permissions issue might affect that too, but it isn't a scenario I've explored.


I'll check some of your compilation/various artist albums and see if I can create analogues to test at my end.


tt2

Apr 24, 2025 11:54 AM in response to Stratiegery01

Apologies for the late reply. Been focused elsewhere.


The unknown album detail suggests the files that are being fixed are missing tags, or the tags are missing details, and that you have the "Keep media folder organized" flag enabled. Turn this off before attempting any more repairs. That way any data that is present in the file path can potentially be restored.


I can't recall if I've asked already, but do you have an Apple Music or iTunes Match subscription, or have you used one in the past?


Turning off the advanced preference to generate an iTunes Library XML file might speed up the script operation a bit. The less like the standard layout your library is the more work the script is doing to look at potential alternative folders for each track.


Your symptoms are unlike those I've run into before, which are usually caused by people manually moving content around after connecting it to iTunes. Have you tried to use any other software to make changes to your library, e.g. tag editing, normalization, etc.?


tt2

May 27, 2025 7:39 AM in response to Stratiegery01

Hi,


Sorry for the delay in getting back to this. I've written a new script called PathsToCSV that will list the paths to all of the music files in your media folder along with their sizes so I can compare this with data in your library. Would you mind running it and then sending me the output file (placed in your media folder) along with a current copy of your iTunes Library.itl file? Hopefully that will give me enough information to work out where FindTracks is going wrong.


tt2

Mar 19, 2025 2:59 PM in response to Stratiegery01

Your unhidden purchases will show up on the device if you are signed into your Apple ID. They are not being synced either from the sound of things. Manually manage and Sync music are logical opposites. You should select one option, or the other, but not both. Of course your selection should stick, so that is a mystery. I've not tried to work with Apple Devices as iTunes is frankly better software, but have you made any further selections as to what should be synced, e.g. all music, selected playlists, artists, albums, etc. I'm using the Apple Music subscription service these days but I would always use a few selected playlists to choose what is supposed to sync to each device.


tt2

May 1, 2025 7:53 PM in response to turingtest2

The option to 'keep media organized' was turned off at the beginning of this Apple-Support experiment:

The only other software/script used to organize my media was at least 10yr ago or more, using a program called TuneUp: https://tuneup-lite.en.softonic.com/. That program worked well but its usage maybe saw 30% of the total library volume that I have now. The vast majority of tracks I own come from purchased platforms such as 7digital or Soundcloud; tracks which come preloaded with accurate ID3 tag information.


I do not have an Apple Music or iTunes Match Subscription.


Again, I have had zero problems with these tracks and their organizational structure prior to iTunes v12. When this software update kicked in, my entire media library somehow, and automatically, got rewired into it's current state.

May 14, 2025 6:17 AM in response to Stratiegery01

Hi,


I'm not interested in the compensation part, only the mystery of how your library is broken and how it might be fixed. Would you be kind enough to send me your .itl file to inspect? Hopefully I can then come back with some specific questions about a few tracks so I can pinpoint what changes need to be made to the script to make it work better with your tracks. You can find a contact address for me in my profile here.


tt2

Mar 25, 2025 9:46 AM in response to turingtest2

Unfortunately uninstalling Apple Music+Apple Devices did not work. Opening iTunes after that process and connecting my phone only showed a message saying that downloading the new Apple software was necessary before continuing.


I also tried some different sync settings within Apple Devices which did not work. Removing all theoretical restrictions I opted to sync my "entire (56Gb) music library" to the phone so there should not be any reason why one playlist or individual song would be left out. Still however, only 5.4Gb of audio is being transferred over.


Not sure what I should try next here, because I can confirm Apple Music contains the correct song content I want to transfer, and Apple Devices sync settings are seemingly selected properly to transfer my entire library, yet it still does not.

Apr 8, 2025 4:41 PM in response to turingtest2

Just for good measure, I repaired the security permissions as you suggested. I also re-installed iTunes directly from Apple (which, FYI, contradicts Apple's own tech support recommendations to download from MS-store or use Apple Music instead). iTunes works better than Apple Music so I'm happy to revert back.


You are correct, the songs will still not play within iTunes, despite the library (seemingly) being organized correctly. The same issue exists where file locations are 'found' correctly from within iTunes, confirmed by selecting any file and "showing in windows explorer". A song file location matches the parent library folder location as defined by iTunes' settings: C:\Users\_\Music\iTunes\iTunes Media\Music\[artist folder]...


I do not use OneDrive or any other cloud drive service; all music files are saved locally per the default folder locations.


I would be interested to try a script to fix broken links, if you think this is most likely the issue. I also would be interested in repairing the ID3 tags as suggested in your earlier link, but iTunes has that option greyed-out for me, presumably because it's still confused about file location.

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

Apple Music on Windows is only syncing my purchased songs, not my entire library

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.