Want to highlight a helpful answer? Upvote!

Did someone help you, or did an answer or User Tip resolve your issue? Upvote by selecting the upvote arrow. Your feedback helps others! Learn more about when to upvote >

Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

Change iTunes backup location

iTunes consistently attempts to store device backups on C: regardless of where it is installed. I need to change this location in order to backup devices to my PC.


PC: HP 750-247c

Processor: Intel Core i7-6700 @ 3.40 GHz 64-Bit with 24.0 GB RAM

OS: Windows 10 Home v1607

OS Build: 14393.1358

iTunes Version: 12.6.1.25


Devices: iPhone SE and iPad Mini 2

iOS: Both running iOS 10.3.2


My computer has two hard disk drives, C: and D: C: is a solid state drive that is only 120GB and is used only for operating system files and critical programs. My D: is a regular HDD with 2.0 TB of capacity.


I purposefully installed iTunes to D: and have (manually) moved my iTunes library to D:, but I cannot get iTunes to natively recognize D: as a storage location. Upon installation, iTunes creates its standard folders hierarchy and installs files in the C:\Users\<user>\AppData\ directory regardless. It also defaults to saving device backups to the following directory: "C:\Users\<user>\AppData\Roaming\Apple Computer\MobileSync\Backup"


There is no option to change this directory. Therefore, even though I know in advance that there is not enough storage available on C: (and over 1 TB available on D:), I cannot tell iTunes to use the location with the available space.


The most popular "helpful" support article I've found so far using Google search has been the following post, from 2013: https://discussions.apple.com/thread/4977359?answerId=27069714022#27069714022
Unfortunately, these command prompts do not work in a Windows 10 environment.


If such a setting is possible, how can I change iTunes so that it will install ALL files and folders, and save backups to, the directory location of choice?


If such a setting is NOT possible, PLEASE ADD IT ASAP!


Looking forward to replies and assistance. Thank you in advance!

[Re-Titled by Host]

iPhone SE, iOS 10.3.2, null

Posted on Jul 6, 2017 2:33 PM

Reply
Question marked as Best reply

Posted on Jul 6, 2017 3:06 PM

UPDATE: The junction is possible, but ONLY if you do not have a folder "Backup" at C:Users\<user>\AppData\Roaming\Apple Computer\MobileSync\


So, this means you must start with no backups, or (what I'd recommend) move your existing backup to another location before creating the junction.


Note: I ran the MSDOS script referenced in the 2013 support thread before creating the target directory, so I'm not sure if the junction command will work if the target directory is already created.


Note 2: I also do not know whether the target directory (in this case D:) needs to be created before attempting to create a device back in order for the backup to be successful, so I did create the folder manually after the fact. I was uncertain whether iTunes would create the path and folder automatically the first time an iTunes backup is attempted following the junction.

18 replies
Question marked as Best reply

Jul 6, 2017 3:06 PM in response to BirminghamHill

UPDATE: The junction is possible, but ONLY if you do not have a folder "Backup" at C:Users\<user>\AppData\Roaming\Apple Computer\MobileSync\


So, this means you must start with no backups, or (what I'd recommend) move your existing backup to another location before creating the junction.


Note: I ran the MSDOS script referenced in the 2013 support thread before creating the target directory, so I'm not sure if the junction command will work if the target directory is already created.


Note 2: I also do not know whether the target directory (in this case D:) needs to be created before attempting to create a device back in order for the backup to be successful, so I did create the folder manually after the fact. I was uncertain whether iTunes would create the path and folder automatically the first time an iTunes backup is attempted following the junction.

Oct 29, 2017 4:54 PM in response to BirminghamHill

Love it - thanks for tracking this down for Win 10 users 🙂

1.) Do not have a "Backup" in the default C:\Users\<username>\AppData\Roaming\Apple Computer\MobileSync location. If you have old backups, put them somewhere else for now.

2.) Do not have a "Backup" in the location you want to link to.

3.) Run mklink command and it will put a shortcut in the C: location, which points to where you want it in the new location

4.) Go to the new location and make an empty "Backup" folder

5.) Go try backup from Itunes (I just did and its working!)

6.) If you want your old backups you can move them to the new folder also

Feb 18, 2018 2:09 AM in response to apa5

Does iTunes still think there is a backup listed under Edit > Preferences > Devices? If so you may need to delete that entry first. SeeRelocate iOS device backups to check that you've made the junction correctly. See Repair security permissions for iTunes for Windows to make sure that suitable permissions exist on the target folder. You may want to see if excluding that folder from any real-time anti-virus scans helps with the issue.


tt2

Jan 19, 2018 12:21 PM in response to turingtest2

Symbolic links fail in certain cases with the latest 3 iTunes releases, particularly when the target of the link is on a very large volume. I believe there are two independent space checks and one looks at the overall size of the boot volume (C:) and the other checks how much space is left in the iTunes backup location. If the free space is much greater than the total capacity of C:, the backup will fail.


I don't know why Apple can't just add a simple registry key or local config file entry that determines where the backup should be stored (and fail-over to the default location). 14 lines of code, tops, and nothing compared to the bloated whale that iTunes has become. Many of us have the OS on a solid state drive, which is awfully expensive real estate for Apple to blindly assert ownership of with no supported alternative.

Jan 19, 2018 12:41 PM in response to DrNickRiviera

I believe there is also an obscure file system bug in Windows (or at least the routines that iTunes uses) that can occur with certain calls to check on free space where only the low order bits of the value are returned. Imagine if the free space was 1,000,001 bytes but the routine requesting the information gets back the value 000,001. The workaround has been to add a few redundant copies of some large file. But yes, in the case of a redirected backup folder the system drive does need enough free space for the backup even though it will end up somewhere else.


tt2

Feb 18, 2018 12:43 AM in response to BirminghamHill

Hi everyone, I've been working on how to change the location of my backups of my iPhone 6 for 4 hours now, and I haven't gotten anywhere. I've successfully created the directory junction to my D:, however every time I try to back it up it says "iTunes could not back up the iPhone “My iPhone” because the backup was corrupt or not compatible with the iPhone. Delete the backup for this iPad, then try again."

I've had a look - there isn't an old back up for the phone or any other devices for that matter. I accidentally deleted my backup instead of saving it onto my hard drive after I created the junction.


Can anyone help? What could the issue be? I use a Microsoft Surface and don't have much space on this to even backup my phone...


Thanks

Feb 25, 2018 1:37 PM in response to Danlwasson

What does run Mklink command mean? I opened WindowsPowerShell and after typing cmd.exe then I Typed MKlink and it says the Creates a symbolic link but what do I do after that? I changed my old backup to the name Backup_old and created a blank folder where I want it saved but after trying to Backup it created a new Backup folder in the MobileSync location but received the message "iTunes could not back up the iPhone because an error occurred while reading from or writing to the IPhone."

Feb 26, 2018 12:37 PM in response to BirminghamHill

I ran the following command and it said a junction was created:

MkLink /J ""C:\Users\Lee\AppData\Roaming\Apple Computer\MobileSync\Backup" "E:\MobileSync\Backup"

Junction created for C:\Users\Lee\AppData\Roaming\Apple <<===>> Computer\MobileSync\Backup E:\MobileSync\Backup


But when I open iTunes it still tries to backup to C:


I tried creating the Junction again by rerunning the MkLink command but it comes back with:

Cannot create a file when that file already exists.


If I look at the MobileSync directory on C:, there is no junction shown. Same when I do a dir command from the command prompt. So the junction does not appear to exist. What am I doing wrong?

Feb 26, 2018 1:34 PM in response to leefromaz

leefromaz wrote:


I ran the following command and it said a junction was created:

MkLink /J ""C:\Users\Lee\AppData\Roaming\Apple Computer\MobileSync\Backup" "E:\MobileSync\Backup"

Junction created for C:\Users\Lee\AppData\Roaming\Apple <<===>> Computer\MobileSync\Backup E:\MobileSync\Backup


Looks like you have too many double quote characters at the first instance after the /J. It looks like you've created a link called Apple inside C:\Users\Lee\AppData\Roaming that points to [C:\?]Computer\MobileSync\Backup.

tt2

Change iTunes backup location

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