iTunes, Apple Music desktop apps do not sign in. Online does ??

cannot sign into apple music or itunes but can to online versions not desktop versions.


troubleshooting so far.


Confirmed Apple Music launches but displays a black screen and becomes unresponsive.


Confirmed Apple Music repeatedly requests sign in and does not appear to retain the session.


Repaired Apple Music via Windows Apps settings.


Reset Apple Music via Windows Apps settings.


Uninstalled and reinstalled Apple Music multiple times.


Ran DISM /RestoreHealth.


Ran SFC /SCANNOW.


Reset Microsoft Store cache using wsreset.exe.


Confirmed Microsoft Edge WebView2 Runtime is installed.


Confirmed Apple Music package installed correctly. Version 1.1540.23042.0. Status OK.


Confirmed Apple TV package installed correctly. Version 1.1540.23558.0. Status OK.



Confirmed Microsoft.UI.Xaml packages are installed.


Confirmed Microsoft.WindowsAppRuntime packages are installed.



Identified Event Viewer crash. Faulting application: AppleMusic.exe. Faulting module: Microsoft.UI.Xaml.dll. Exception code: 0xc0000005.


Confirmed crash occurs in the WinUI/XAML rendering layer.


Renamed the existing Apple Music package folder.


Launched Apple Music and confirmed a new package folder was recreated automatically.


Confirmed package structure was recreated: AC AppData LocalCache LocalState RoamingState Settings SystemAppData TempState


Confirmed Apple Music successfully writes to LocalState.


Confirmed Apple Music creates musicui.jetpack database file.


Confirmed Apple Music creates logging files: Log-AppleMusic-1.etl Log-AMPLibraryAgent-1.etl


Confirmed Apple Music creates Apple data structure: Apple CS AppleMusic


Confirmed Apple Music initialises DRM storage and creates: mspr.hds BE69C61B_3137_A1CC_AA7D_DA40C070FDC8.msprhw.hds msprcore.bla


Confirmed Apple Music creates Settings files: settings.dat settings.dat.LOG1 settings.dat.LOG2 roaming.lock


Confirmed Apple Music writes and updates log files successfully.


Confirmed Apple Music writes and updates musicui.jetpack successfully.


Tested connectivity to appleid.apple.com on port 443. Success.


Tested connectivity to idmsa.apple.com on port 443. Success.


Tested connectivity to music.apple.com on port 443. Success.


Tested connectivity to tv.apple.com on port 443. Success.


Tested connectivity to buy.itunes.apple.com on port 443. Success.


Confirmed all Apple service endpoints tested returned TcpTestSucceeded = True.


Confirmed no evidence of blocked Apple authentication endpoints.


Confirmed no evidence of blocked Apple Music service endpoints.


Confirmed no evidence of package folder permission issues.


Confirmed no evidence of inability to write cache files.


Confirmed no evidence of inability to write settings.


Confirmed no evidence of inability to create databases.


Confirmed no evidence of inability to initialise DRM.


Confirmed no evidence of inability to create logs.


Confirmed Apple Music progresses significantly through startup before failure.


Confirmed Apple Music startup sequence appears to be: Create package profile. Create settings. Create LocalState. Create database. Initialise DRM. Create logs. Create cache. Crash in Microsoft.UI.Xaml.dll.


Apple TV exhibits similar behaviour to Apple Music.


Same behaviour observed on multiple Windows PCs.


Same Apple ID used on affected systems.


iPhone using same Apple ID works normally.


Current primary suspects: Microsoft.UI.Xaml rendering/runtime issue. Compatibility issue between Apple Music and Windows 11 build 26200.9278. Apple account or library data triggering a UI rendering crash. Shared defect affecting Apple Music and Apple TV Windows applications.


Current low probability causes: Firewall. DNS. Internet connectivity. Disk permissions. Package permissions. Authentication token storage failure. Inability to write profile data.


Started Windows in place repair upgrade to refresh Windows system components while retaining applications and data.


so will update when I find the real issue or someone else gets the fix. Apple needs to sort this.

Posted on Sep 4, 2026 9:38 AM

Reply
4 replies

Sep 20, 2026 12:19 AM in response to PeteUKTech

This worked for me


Clear the Windows Network Stack

If a UK network setting has cached a bad route to Apple's login validation nodes, flushing the system DNS will force Windows to establish a fresh path. [1]

  1. Press the Windows Key, type cmd, right-click Command Prompt, and select Run as administrator.
  2. Type the following command and press Enter:
  3. ipconfig /flushdns
  4. Type the following command and press Enter:
  5. netsh winsock reset
  6. Restart your PC immediately.


Sep 4, 2026 12:08 PM in response to PeteUKTech

Final update. All has been tested as above. Even new profile. Same Thing. System is stable windows 11 build 25H2 26200.9278


Apple Music, Apple TV, iTunes desktop versions all fail on Microsoft.UI.Xam1.dll


so system is fine apple never tested with the exchange of info with above file. Apple Music, Apple TV app and now as iTunes uses the same system it is broken for all. Apple needs to test better and give a fix !!!’

iTunes, Apple Music desktop apps do not sign in. Online does ??

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