Issue
Your iPhone keeps disconnecting from your Windows PC or Mac when you’re trying to import photos or videos. You may see the error “A device attached to the system is not functioning.”
Quick fix
Stop your iPhone from automatically converting the video to the legacy H.264 format by going to Settings > Photos > Transfer to Mac or PC and tapping Keep Originals.
The full story
My iPhone 13 mini was running out of space, but I couldn’t just wipe it; I had important videos I needed to save. But every time I plugged my iPhone into my Windows PC,…