Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have a 60GB SSD as my C: where I have my Windows and other essential program installations. I also have a huge non-SSD D:.

I repeatedly find myself short of disk space on C:. The main culprits are the folders under AppData\Local (in my case, Picasa & Outlook files). How can I move these folders to D: and recover my C: space?

share|improve this question

Open the Properties dialog for ...\Local, click Location tab, enter desired new location, click Move button.

share|improve this answer
What happens to existing applications that rely on the %AppData% files? Do the applications need to be stopped? Or can they run and the move is seamlessly performed? – Sun Nov 12 '14 at 19:21
Same applies to \LocalLow and \Roaming. I wasn't able to copy the \Local directory, but \Roaming worked and I freed over 18GB. Thanks. – Mateng Apr 23 '15 at 6:06
Getting permission denied, the heck. I am the only user of this PC too. – hak8or Sep 7 '15 at 2:35
I too am getting access denied on Windows 10. – GiddyUpHorsey Nov 1 '15 at 0:36
Doesn't work in Windows 10 it seems. The files are being copied, but in the end the operation will be automatically cancelled for some reason – JI Xiang Dec 4 '15 at 23:01

How about using the mklink command in the command prompt to create a symbolic link

mklink /d C:\Users\Nikhil\AppData\Local D:\AppData\Local

and then just move all the files/hidden files/sub folders from the C:\Users\Nikhil\AppData\Local to to your D:\AppData\Local directory

After that delete the Local folder on C:

Honestly though I haven't tried it myself so maybe give it a test drive in a VM first, you might have to create a separate symbolic link for each subfolder too

share|improve this answer
+1: This is how Microsoft redirects programs that have c:\Documents and Settings hardcoded in. – surfasb Sep 21 '12 at 22:56
Does this work? Can you mklink when Local already exists? I'm pretty sure you can't. You could try to rename the existing one first, but I think it'd be in use, and any programs attempting to access Local in the meantime would then fail. – Mooing Duck Apr 12 '14 at 19:15

This isn't an answer to your question but probably a solution to your problem:

I'm thinking:

1: The hibernation file on most windows systems is huge.
2: You don't need hibernation since you have an SSD which lowers boot time.

Disable hibernation with the command:

powercfg –h off

in an elevated terminal. (a terminal run as administrator)

On my system it freed 12GB of drivespace because hiberfil.sys is no logner needed.

This would - for me - be a much better solution than moving the %appdata% folder, since moving it to a spindisc would slow down drive-access for every affected program, thus defeating the purpose of the SSD..

share|improve this answer
+1. This probably solves the stated problem. The AppData idea is a typical case of an XY probem. Don't blindly assume that the OP is using the right tool to solve his real problem. – MSalters Aug 6 '14 at 12:13
On the other hand, maybe you need hibernation because when you close your laptop and go someplace else, and you're in the middle of important work, you don't want to have to get all the same apps loaded up and figure out exactly where you left off from a completely cold start. ;-) – Craig Jul 4 at 6:24

Folder redirection for All subsequent data will be saved at the new location by default. Using the registry method Shell Folder/User Shell Folder

Microsoft's articles Folder redirection did show steps of how to change the location of the "Desktop" folder by using Folder Redirection. Replace desktop with AppData, Start Menu and etc as stated in the article.

share|improve this answer

It's possible to move Outlook .pst files to a different location and then change your profile to point to the new location. See the Microsoft article

share|improve this answer
A lot of programs use the Local folder; if you were to look for such articles for every program it's gonna be a very long day, and for most of the programs you wouldn't even be able to do that. – Tom Wijsman Sep 21 '12 at 21:34
Right click the Local folder, click Properties. Use the Location tab to put it where you want. – David Marshall Sep 21 '12 at 21:48

Microsoft does not recommend you move the %AppData% folder out of the system drive.

You can use TreeSize Free see if there other ways to remove files. Sometimes hibernation and pagefile.sys are candidates on the c:\

You also have %AppData%\Local\Temp which could be redirected to your non-SSD drive.

You should really consider getting a bigger SSD. You want to run with at least 30% free so the SSD has vacant blocks to write to. Running at 99% full on a SSD increases wear level and the performance you come to expect from SSD is greatly diminished.

share|improve this answer

Over a period of time I mysteriously lost 100gb HD space. "Space Monger" revealed it was in "Users" under "appdata" and sub folders of Google. I think these are hidden files. Research online suggested that since these are temporary files (not system) I should be able to delete them. Space Monger provides this option so I did. I've recovered my 100gb's with no noticable ill effects. Win 7 Home Premium 500gb HD. I'm not a tech., tried it, and it worked. No guarantees.

share|improve this answer

Seems like moving the folder by Properties > Location, and then making a hard-coded symlink should fix it.

Here's how to make a symlink. Do this once you're done moving the folder using the official way (Properties > Location).

This command assumes you have moved the AppData\Local folder to D:\yourusernamehere\AppData\Local.

mklink /d C:\Users\yourusernamehere\AppData\Local D:\yourusernamehere\AppData\Local

/d is for hard-coded symlinks, by the way.

share|improve this answer
What is a "hard-coded symlink"? ;-) Mklink /d creates a symbolic directory link. Leave off the /d and you get a file link. A symbolic link is really just a file containing the path to another file or directory, which the OS functionally treats like the target file/directory. But move or delete the target and the link stops working. Mklink /h creates a "hard" file link, which is another entry in the MFT pointing at the same file. Delete the target, and file remains. Delete all hard links to delete the file. Mklink /j creates a directory junction point-a type of symbolic directory link. – Craig Jul 4 at 6:38

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .