Forum Discussion
How to backup iphone to external hard drive on my Windows PC
script provides an automated, hands-off way to back up iPhone to an external hard drive on Windows 10. It copies your iTunes backups to an external drive with a single command, making it a reliable and repeatable solution to back up iPhone to an external hard drive on Windows 10.
Save this as backup-iphone.ps1 and run as administrator:
# Stop iTunes service
Stop-Process -Name "iTunes" -Force -ErrorAction SilentlyContinue
# Create backup folder on external drive
$externalPath = "E:\iPhoneBackups"
New-Item -ItemType Directory -Force -Path $externalPath
# Copy iTunes backup to external drive
$source = "$env:APPDATA\Apple Computer\MobileSync\Backup"
$destination = "$externalPath\Backup"
if (Test-Path $source) {
Copy-Item -Path $source -Destination $destination -Recurse -Force
Write-Host "Backup copied to external drive"
} else {
Write-Host "No backup found. Run iTunes backup first."
}Run PowerShell as Administrator → navigate to script location → execute:
.\backup-iphone.ps1This lightweight script simplifies the entire backup and replication process, eliminating the need for repetitive manual file operations. You can also use it in conjunction with the Windows Task Scheduler to set up fully automated, scheduled backups, allowing you to safely save your iPhone data to an external storage device with minimal effort.