Move AppData (via symlink?) to a different drive

18,174

Solution 1

Create a 2nd administrator profile, turn off your pc, turn it back on and log in as the 2nd admin. Create the symlink for your original profile, then log out of the 2nd account and back into your own, and then feel free to delete the 2nd account. Thats the way I did it, works like a charm.

Solution 2

Having you tried using the Command Prompt accessible in Windows Recovery Mode to create the symlink?

To access Windows Recovery Mode and the Command Prompt, the instructions HERE should work. After that, try executing the symlink command like you would in a normal Windows environment (eg. symlink /J D:\AppData C:\Users\[Username]\AppData).

Solution 3

Microsoft advises not to, but they may be speaking only about administrators moving it via the Windows ADK:

By changing the default location of the user profile directories or program data folders to a volume other than the system volume, you cannot service your Windows installation. Any updates, fixes, or service packs cannot be applied to the installation. We recommend that you do not change the location of the user profile directories or program data folders.

It does not specify whether this still applies if you move it with a symlink. I would think Microsoft would have thought of this possibility when making the blanket recommendation to not move user data, but I would think a lot of things.

In fact, the terminology they use to talk about how to move it isn't normal Windows-speak at all--they talk about "the ProgramData setting" rather than "%ProgramData%". They seem to be talking exclusively about moving the directory using the Windows Assessment and Deployment Kit (Windows ADK), which I've never heard of.

Share:
18,174

Related videos on Youtube

Admin
Author by

Admin

Updated on September 18, 2022

Comments

  • Admin
    Admin almost 2 years

    I've been looking for ways to move AppData off my SSD but the symlink methods won't work since they attempt to make the link in the folder that my AppData folder is in. Since the folder exists and can't be removed while in use, I can't make the symlink.

    I also tried the right-click -> Properties on my AppData/Local folder, and tried to move the location of the folder but the move got stuck on something called AppData/Local/ElevatedDiagnostics (it apparantly needed more permissions but I already set everything to Full Control).

    I'm running out of space and options. Help?

    • Metareven
      Metareven over 5 years
      Using a symlink works, but in my experience, it leaves the user unable to open pretty much any windows GUI program (network settings, windows update, start menu etc etc etc) and you will have to find replacements for these or get used to doing windows update and settings changes from the command line or another user
  • Miriam H
    Miriam H over 7 years
    It's mklink, not symlink.
  • jtate
    jtate over 6 years
    one thing to note, you'll need to completely remove or rename the existing AppData folder in order to create the symlink. In order to do this, you'll most likely need to run Windows in safe mode as the 2nd user.