Free Up C: Drive Space
Relocate Large Directories Using Symlinks
When the C: drive is nearly full but another drive has space, use mklink /D to create directory junctions.
Move Windows Installer Cache
# Stop Windows Installer service
net stop msiserver
# Move the directory
robocopy C:\Windows\Installer D:\Windows\Installer /E /MOVE
# Create junction
mklink /D C:\Windows\Installer D:\Windows\Installer
# Start service
net start msiserver
Move AppData Local
robocopy C:\Users\Username\AppData\Local D:\AppData\Local /E /MOVE
mklink /D "C:\Users\Username\AppData\Local" "D:\AppData\Local"
Verify Junction
dir C:\Windows\Installer
# Should show <JUNCTION> with the target path
Other Space-Saving Tips
# Clean up Windows Update cache
dism /online /cleanup-image /startcomponentcleanup /resetbase
# Clean temporary files
cleanmgr /sageset:1
cleanmgr /sagerun:1