LiquidLayer.net | Tech

Changing Windows Update Folder658

LiquidLayer private msg quote post Address this user
Redirecting Updates and the Software Distribution Folder using Junction to another hard drive

Scenario

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.
Solution

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.
Process

Stopping the Windows Update Service and renaming the folder
Start>Run
type cmd and press enter
type net stop wuauserv and press enter
type rename c:windowsSoftwareDistribution softwaredistribution.oldand press enter



Creating a symbolic link using Junction (Download)

In this example the software distribution folder will be redirected from C:WINDOWSSoftwareDistribution to the D:WINDOWSSoftwareDistribution

Creating the Junction

To create the target directory from the command prompt

C:>md D:WindowsSoftwareDistribution

To create the Junction

C:>junction C:WINDOWSSoftwareDistribution “D:WINDOWSSoftwareDistribution”
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.

Jeff Loucks
Available Technology

Click here for the source blog post via blogs.msmvps.com

Performance Cloud Hosting for your Blog, Wordpress, Web Site and More - Starting at the cost of a cup of Coffee! Business Grade Hosting from LiquidLayer.net

Liquid Layer Networks | Performance Cloud Web Hosting
http://www.LiquidLayer.net
Post 1 IP   flag post
LiquidLayer private msg quote post Address this user
https://technet.microsoft.com/en-us/sysinternals/bb896768.aspx

Junction v1.06

Introduction

Windows 2000 and higher supports directory symbolic links, where a directory serves as a symbolic link to another directory on the computer. For example, if the directory D:SYMLINK specified C:WINNTSYSTEM32 as its target, then an application accessing D:SYMLINKDRIVERS would in reality be accessing C:WINNTSYSTEM32DRIVERS. Directory symbolic links are known as NTFS junctions in Windows. Unfortunately, Windows comes with no tools for creating junctions—you have to purchase the Win2K Resource Kit, which comes with the linkd program for creating junctions. I therefore decided to write my own junction-creating tool: Junction. Junction not only allows you to create NTFS junctions, it allows you to see if files or directories are actually reparse points. Reparse points are the mechanism on which NTFS junctions are based, and they are used by Windows' Remote Storage Service (RSS), as well as volume mount points.

Please read this Microsoft KB article for tips on using junctions.

Notethat Windows does not support junctions to directories on remote shares.

If you want to view reparse information, the usage for Junction is the following:


Using Junction

Use junction to list junctions:

Usage: [-s]

-s Recurse subdirectories

Examples:

To determine if a file is a junction, specify the file name:

junction c:test

To list junctions beneath a directory, include the –s switch:

junction -s c:

To create a junction c:Program-Files for "c:Program Files":

C:>md Program-Files

C:>junction c:Program-Files "c:Program Files"

To delete a junction, use the –d switch:

junction -d c:Program-Files

Download Junction

Performance Cloud Hosting for your Blog, Wordpress, Web Site and More - Starting at the cost of a cup of Coffee! Business Grade Hosting from LiquidLayer.net

Liquid Layer Networks | Performance Cloud Web Hosting
http://www.LiquidLayer.net
Post 2 IP   flag post
1096 2 2
Log in or sign up to compose a reply.