How to Maximize Storage Space GuideGuest_Jim_* -
» Discuss this article (11)
System Restore Points and the Pagefile
Now we are getting into an area that becomes less clear-cut as far as what you should and should not do. Despite potentially using a LOT of storage space, both System Restore Points and the Pagefile serve purposes you may very well need, so disabling and deleting them may not be the best choice.
System Restore Points are periodically created by Windows and also during certain programs installations/uninstallations, including drivers. These points contain program files that may be changed and potentially corrupted, causing the computer to misbehave or outright crash. They should not, however, affect personal files.
Personally, I have seen single restore points vary in size from around 200 MB to over 2 GB, of which the system will keep as many of these as possible, to a point. Luckily, you can control the number by going to your computer's properties and looking at the System Protection tab (at least for Windows 7). There, you can set the amount of storage allocated for storing restore points, freeing up space without disabling the feature completely. Alternatively, CCleaner actually has a feature to selectively delete restore points, but that is not a permanent solution to freeing up space.
Another feature of Windows that can take up a lot of space is the Pagefile or Virtual RAM. It is essentially a large file on your hard drive when it is necessary to free up or dump system RAM, as it may during a crash or high RAM usage. Some people will suggest that you simply disable the pagefile and completely recover the space, because many modern computers have enough RAM to make the pagefile almost useless. Personally, I would not recommend doing so because Windows will still use it to clean up the RAM or for memory dumps when diagnosing a problem. Feel free to reduce the pagefile though, if you have enough RAM as to not compromise performance.
When I installed 8 GB more RAM in my machine, Windows swelled the pagefile to match the 12 GB of total RAM and it took all of that from my OS drive. To keep that drive lean, I went into the Performance Settings, which is under the Advanced tab of the computer's properties, next to the System Protection tab, and changed the settings. Like the restore points, you are able to control the amount of space allocated for the pagefile and the specific drive the pagefile is stored on. Instead of keeping it on a small SSD, it may be wise to move it over to a larger but slower HDD.
Symlinks and Steam Install Folders:
Although we have come across many files that can be deleted or reduced, it is still possible you will find yourself with too many files you cannot delete. These can range from program files to personal files but in the end, they use storage space you want back. In such a case when using multiple storage drives, you will be able to get that room back using some useful tricks.
The first of these tricks is the ability to set a user folder's position in Windows 7. Right-clicking and viewing the properties on one of the user folders, such as My Documents or My Music, you should notice a tab labeled 'Location.' From there, you can set the physical location of the folder to any drive you want. It would be best to do this shortly after you install Windows, so the OS will move the files to the new location if needed.
The next trick is a similar feature that has been added to Steam only recently; the ability to install a game to the folder of your choice. If you want some games to benefit from the speed of an SSD while keeping others spread out on an HDD, this is a feature you want to use. Once you select the drive for game installations, you must then indicate the specific folder you want the files to go to.
These two tricks will take care of user folders and Steam games, but what about other folders? For example, the AppData folder cannot be relocated through properties, so what are you to do? What if you do not want to move all or one of your user folders to a different drive? This is when you open the command prompt and start putting together some symlinks!
Symlinks, or Symbolic Links, are, in simplest terms, super-shortcuts that allow Windows to treat a file or folder as though it is somewhere it does not appear to be. The icon for a symlink folder looks like the icon for a shortcut but if you follow it, you'll just go down another layer in the folder hierarchy, as though the folder was there. I use these to collect all of my saved games to a single folder and never has a game complained, because although the physical files have been moved, it is not seen as such. (I collect the save files this way so I only need to backup one folder to an external drive to backup all of my games.)
Using symlinks like this is just a two-step process, as aided by a batch file. Firstly, you want to use the 'move' command to get the files and folders where you want them. Let's say I want to move my Bioshock saves:
move /y "E:\Users\Jim\My Documents\Bioshock" " E:\Users\Jim\My Documents\My Games"
The first location in the command is the source and the second is the destination. The '/y' flag is to tell any prompts that may come up "yes," such as prompts checking if I want to overwrite files.
To create the link, we use the 'make link' command like this:
mklink /d " E:\Users\Jim\My Documents Bioshock" " E:\Users\Jim\My Documents \My Games\Bioshock"
The first location is the placement of the link while the second is the target of the link. The '/d' flag is very important here because that is what tells the command to make a link for a directory, instead of just a file link.
With these two commands, you will be able to move folders whereever you wish and, to my knowledge, it should not break anything horribly. Still, I cannot guarantee that recklessly symlinking folders will not break things. Basically, I cannot recommend you to symlink the Program Files folder, but perhaps some programs within it can be safely moved this way.
Here are just some of the methods to free up storage on a small SSD or any drive for that matter, either by deleting or moving files in such a way that programs will not mind. Of course, there are more ways that I have not covered, simply because I do not know them all. If you know others, feel free to discuss in the forum thread for this article!