Tag Archives: Directory Junction

Solid-state drive (SSD) storage space concerns and how to get additional free space

A while ago, I had observed a storage space concern on my SSD, a Corsair Neutron Series GTX 240 GB SATA 3 or 6 Gb/s (R: 555 MB/s, W: 511 MB/s and 85K IOPS), winner of the Silver [H]ardOCP Editor’s Choice Award, which I got in December of 2012. The concern was that the available storage space kept decreasing without anything really being installed. I found two significant causes and a substantial encounter.

NVIDIA Graphics Cards driver and software updates (I have the Asus GeForce GTX 670 Direct CU II 4 GB DDR5 I also got in December of 2012) keep all driver installation package versions in the system ProgramData folder:

C:\ProgramData\NVIDIA Corporation\NetService\

Deleting these contributed to 4 GB of additional storage space. You are however required to keep the most recent one for successful uninstall – I read somewhere – should you want to do that sometime.

Visual Studio also does something similar in the ProgramData folder:

C:\ProgramData\Package Cache\

Deleting these is not recommended, but you CAN move the folder. I moved them to a partition on my internal HDD I use for storage (a Western Digital Caviar Green 3 TB 5400 RPM with 64MB Cache also from December 2012), although you will need to create a symbolic link, a Directory Junction, not to break Visual Studio (the folder will point to another location as if it’s still there, only its content is actually located elsewhere):

MKLINK [[/D] | [/H] | [/J]] Link Target

Type into a Command Prompt with Administrative elevation:

MKLINK /J "C:\ProgramData\Package Cache" "D:\Package Cache"

Obviously, target directory path may vary on your system. You should get the result:

Junction created for C:\ProgramData\Package Cache <<===>> D:\Package Cache

Moving this folder contributed to an additional 6 GB of storage space.

Furthermore I also found that Steam stored PayDay 2 in the Steam folder, which I tried for free during a promotional weekend and which it didn’t remove even though it is gone from the Library.

C:\Program Files (x86)\Steam\SteamApps\common\

I created a Directory Junction for this as well. But I also deleted PAYDAY 2 – although being an exciting Cooperative gameplay FPS, the specific genre doesn’t peel my banana. A contribution of 28 GB.

Furthermore, run Disk Cleanup, after selecting your volume, click “Clean up system files” to be able to rid of Windows Update files as well.

Last but not least, use the POWERCFG /H OFF command in a command prompt with Administrative elevation to turn off Hibernation and delete the accompanying hiberfil.sys file. Of course, you wouldn’t do that if you would like your computer to be able to Hibernate. I rather have it sleep or turn it off completely, that’s not to say hibernation isn’t good. At any time, you could just replace OFF with ON. The result was an additional 16 GB (approximately) of storage space. This will probably vary depending on your installed system RAM.

Advertisements