Sun, Sep 19 2010 5:08
Redirecting Updates and the Software Distribution Folder using Junction to another hard drive
You have a server with an 8 GB system partition and it keeps filling up. The software distribution folder used by windows updates is a major source of bloat and Microsoft support has said there is nothing you can do to move this folder from the C drive.
Using the Microsoft Junction Tool found on the Systernals site create a symbolic link to another hard drive or partition. I will use the terms symbolic link and junction interchangeably in this post.
Stopping the Windows Update Service and renaming the folder
type cmd and press enter
type net stop wuauserv and press enter
type rename c:\windows\SoftwareDistribution softwaredistribution.oldand press enter
Creating a symbolic link using Junction (Download)
In this example the software distribution folder will be redirected from C:\WINDOWS\SoftwareDistribution to the D:\WINDOWS\SoftwareDistribution
Creating the Junction
To create the target directory from the command prompt
To create the Junction
C:\>junction C:\WINDOWS\SoftwareDistribution "D:\WINDOWS\SoftwareDistribution"
Restart the Windows Update Service
type net start wuauserv and press enter
Once everything has been verfieid to be working normally delete the softwaredistribution.old folder.
Filed under: Symlink, symbolic links, redirecting system folders, Maintenance