When your iPhone or iOS device has a flaky connection with Windows, it’s more than a little bit frustrating. With a little troubleshooting, however, you can banish the detected-but-not-identified error for good.

Not only have multiple readers written in to ask for help about the “An iPhone has been detected but it could not be identified” error, it’s an issue that we ourselves have suffered through. We tried a wide variety of solutions but found all but one of them lacking. Using a different USB cable didn’t fix anything, changing USB ports didn’t fix anything, and updating or re-installing individual components of the Apple/Windows experience (like individual drivers) didn’t do anything. You can try them, but there’s only one thing that worked for us.

RELATED: Learn These Handy Shortcuts to Get Around the Windows Control Panel

We uninstalled iTunes and every related helper application in a specific order, then reinstalled them fresh—and it fixed everything. Yes, it’s a bit long and annoying, but sometimes you have to bite the bullet and start from scratch.

First things first, download the newest edition of iTunes for Windows here—we’ll need it in a moment.

Second, head over to the “Uninstall or change a program” menu in Windows located at Control Panel > Programs > Programs and Features (or you can just click Windows+R and type “appwiz.cpl”, a handy Control Panel shortcut, into the run dialog box.

Locate the entry for “iTunes” first. Right click on it and uninstall it.

After uninstalling iTunes first, proceed to uninstall the following entries, in the order presented:

Apple Software Update Apple Mobile Device Support Bonjour Apple Application Support

Once you have removed iTunes plus all the helper applications, restart your computer. After restarting your computer, launch the iTunes installer you downloaded a moment ago. The installer will not only reinstall iTunes but all the applications we just removed. Restart your computer once more to ensure everything squared away and then plug your iOS device into your PC via the USB cable—a now, fingers crossed, error free experience.