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

Nov 22, 2023 10:01 AM in response to Minok

Can confirm this helped -- on macOS Sonoma 14.1.1 w/ iOS 17.1.1 on iPhone 11, mid November 2023.


I've encountered similar before, many years ago using iTunes on Windows. More recently in the last few years on a MacBook Pro w/ iPhone 7 or 8, and the current iPhone 11, and now my current MacMini M2 w/ the iPhone 11.


Agree -- This is a long-term, ongoing issue that needs to be fixed.


Thank you for the helpful observation on the root cause.


---


After rebooting my phone, and computer, problems not resolved ...


On macOS, I did the following in terminal (while sync was hung in Finder) ...


sudo launchctl list | grep Crash


... found the equivalent entry, com.apple.CrashReporterHelper (running w/ a PID), and then issued ...


sudo kill -9 <pid>


... a few seconds later, the sync operation completed. I re-ran sync, and it completed quickly without issue.


Question marked as Top-ranking reply

Dec 8, 2023 1:47 PM in response to _cwf_

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!


Dec 13, 2023 2:20 AM in response to ainsley001

I created a batch file to automate this process (slightly).

In a new notepad file, type:


@echo off

taskkill /f /im MDCrashReportTool.exe

Exit


Save this file as a .bat instead of .txt, then double click it after you've started your iPhone sync/backup. I haven't yet put any effort into working out how to delete or rename the file, but I suspect a safe mode boot might work. Will update once I test it.

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)

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.