iPhone - Stuck "Preparing to sync" when trying to sync with iTunes via USB cable

I've seen this be an issue for some for many versions of iPhones back (old threads), and from that I've been able to identify the culprit and a work-around to the problem (as Apple isn't fixing the underlying issue).


The problem is, when I plug in my iPhone (currently an 15 ) via USB cable to my computer running iTunes, iTunes sees the phone and starts with the "Preparing to sync..." message and then just sits there for a loooonngg time.


The issue appears to be the Apple program MDCrashReporter.exe which is found at the following location on an MS Windows PC (Windows 10 in my case):


C:\Program Files (x86)\Common Files\Apple\Mobile Device Support\MDCrashReportTool.exe


You can find it in the list of running processes when the sync is hanging.


You can unstick the sync by killing that process: Task Manager->Details->find it in the list->End Task


A more usefull solution is to disable it. What I did, that seems to work is:

Rename the executable: I renamed it to

C:\Program Files (x86)\Common Files\Apple\Mobile Device Support\MDCrashReportTool.exe-orig


So the extension now is .exe-orig (note: you must have admin rights to the machine to rename the file)


That keeps it from running and hanging up the sync process. Works great so far.


All I use iTunes for is to sync my work exchange calendar with my iPhone calendar - that's it. Now that I've disabled the ability for running MDCrashReporterTool, that sync takes a few seconds and done.


If Apple ever fixes its crash reporter tool then this won't be necessary. Or if Apple ever produces an application for managing and syncing the devices and ONLY that, maybe better still.


--

For completeness - the problem isn't the cable (its Apples own USB-C cable), its not the phone needing a reboot - it is bugs in iTunes and its support applications via-a-vis its drivers.

Posted on Nov 9, 2023 1:06 PM

Reply
Question marked as Top-ranking reply

Posted on Dec 8, 2023 1:47 PM

I did a very similar thing on macOS 17.2 (RC), except it didn't show up under launchctl, I found it via:


ps aux|grep Crash


and I got the process:


/<long path>/MDCCrashReportTool


So I issued:


sudo kill -9 <pid>


-9 was required, regular kill did not have enough oomph. Immediate sync after issuing kill. Good lord this has happened on and off for YEARS for me (and every time for the last many months; if I sync again after it's synced once it was always fast, but the first one after plugging in was always sloooooooow), thank you for the tip!


Similar questions

161 replies

Dec 15, 2023 7:52 AM in response to Minok

you are the best! i spent the whole day trying to figure out why it‘s not working. first iTunes somehow pushed iCould to download 400GB of data over night. even if it was set to use iCloud for sync and not local. it filled the harddisk to 0Byte of free space. i could not even uninstall iTunes anymore because there was no space. then i searchd for the data. I found a 75GB folder which was 1.5 years old, ThunderItunesExtractor or so. Then i deleted iCloud and the 400GB fotos it downloaded. multiple re-installations and so on. even on another PC it did not work. apple support could not help me. then i found your post. killed the task (sub-task of iTunes in Windows 11) and it immediately started syncing. it‘s a shame what Apple delivers regarding iCloud and iTunes for windows. very bad user experience.

Dec 26, 2023 10:54 AM in response to Gulfview

Well, after shutting down and rebooting, the next time I tried to back up after renaming the file it wouldn't work, backup or synch. So, I changed the file name back to the original and the backup works fine, but of course the sync doesn't unless I went into the task manager. Then copied and saved the batch file that was mentioned by another member which can be run while iTunes is stuck on "Preparing to Sync". That works and saves the time opening up the task manager and finding the file to end task. Still frustrating but at least I can still backup and synch my Outlook calendar and contacts.

Jan 5, 2024 3:33 PM in response to LucertolaMc

LucertolaMc wrote:

I can't even find the MDCrashReporter.exe file on my PC nor is it on my task manager as running

Lucertola, you are using iTunes, right?


MDCrashReportTool can be found in your Task Manager after expanding the iTunes app.

Look at the post by IronMike778 (Dec 18, 12:57 PM) in the following thread:

https://discussions.apple.com/thread/255342772?sortBy=oldest_first&page=2


Good luck!

-R.

Dec 13, 2023 6:21 PM in response to Enigmeerkat

Found a logfile here:

C:\users\<USERNAME>\AppData\Local\Packages\AppleInc.iTunes_nzyj5cx40ttqa\LocalCache\Roaming\Apple Computer\Logs\DeviceLink\MDCrashReportTool.exe.00.log


This may give some clues as to why the process is hanging, however my issue seems to have resolved itself overnight.


The error logs from yesterday when it stopped working are as follows, hopefully they can help in finding a solution:

2023-12-13 12:26:18.817|MDCrashReportTool.exe|10788:94461040|MDCrashReportTool.m:_cancelCopySubmitCrashReports| ERROR: No crash report copier running for target 00008110-001A18901E7A801E

2023-12-13 12:26:18.859|MDCrashReportTool.exe|10788:23666616|CrashReportCopierAFC.m:_I_CrashReportCopierAFC_waitUntilCrashReportMoverFinished_| ERROR: SSL_read returned error 0: 5

2023-12-13 12:26:18.924|MDCrashReportTool.exe|10788:23666616|CrashReportCopierAFC.m:_I_CrashReportCopierAFC_connectToCrashReportCopyTarget| ERROR: AMDeviceStartService for mobile

2023-12-13 12:26:22.356|MDCrashReportTool.exe|10788:23666616|CrashReportCopierPrivate.m:_I_CrashReportCopierPrivate_device| ERROR: Could not find a device with UID 00008110-001A18901E7A801E

2023-12-13 12:26:22.356|MDCrashReportTool.exe|10788:23666616|CrashReportCopierDL.m:_I_CrashReportCopierDL_connectToCrashReportCopyTarget| ERROR: Error -402653177 connecting to device: (null)

Dec 22, 2023 1:40 PM in response to sbb777

MDCrashreport.exe appears under the iTunes process when iTunes is running which is where you can kill it if you don't use the great .bat file that someone kindly posted here. I'm just keeping that bat file on my desktop until Apple sort this out.


On that note, Apple support have been back to me three times already asking for bits of info and diagnostics so they do seem to be taking this seriously, although no solution yet and it’s been about a week since I first got in touch with them.

Jan 23, 2024 12:23 PM in response to RLMSL

Yup - worked. I'm on a Mac Studio (original M1) with Sonoma and an iPhone 12 running 17.3. I added a few tracks to Music and then sync'd with my phone. Normally, it would stop at Preparing to Sync. Stopping MDCrashReporter using Activity Monitor would allow it to continue. This time, MDCrashReporter did not start and the sync completed successfully. Yay! Many thanks to all who have contributed to this forum and to Apple for finally fixing this.

Jan 23, 2024 3:37 PM in response to Minok

Just tried an experiment as people have been discussing it. Just played some songs on my iPhone then synced to my iMac. This time I shut down my Apple Watch Ultra. Lo and behold after about a minute of sitting at step 2 it synced. Played some more music, turned on AW and once again no sync until force quitting the crash report tool. One other thing, this happens on wifi or cable syncing.


iMac M3 Sonoma 14.3

iPhone 12 iOS 17.3

Watch OS 10.3

Jan 24, 2024 5:54 PM in response to Minok

I'm not sure if I found a solution, but I stumbled upon something that seems to be working.


What I did up to this point was to reset my iPhone settings & start fresh. This didn't nuke my data, but it did remove all of my personal settings.


After that I downloaded iTunes fresh from apple.com/itunes & ran an admin repair from the exe file.


I also went to C:\Users\"Your User Name"\AppData\Local\Apple Computer\iTunes & renamed the iPodDevices.xml to iPodDevices.xml-old


Finally, I went to the Windows Settings & ran a repair on Apple Mobile Device Support then restarted Windows.


Somehow I managed to get my iPhone to run a backup, but I did have to stop the MDCrashReporter.exe file when it started up in the task manager.


I don't know how to explain it in less technical terms, but I might have found the workaround to get our iPhones to backup in iTunes. At least for Windows.


All I will say is when I ran diagnostics in iTunes the Apple iTunesHelper File & iPod Device Service wasn't running at all.


I hope this helps! Upvote me if it does! :D


TechAzn.

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.

iPhone - Stuck "Preparing to sync" when trying to sync with iTunes via USB cable

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