Solved

Move Location of Windows Update Files

Posted on 2010-11-15
7
817 Views
Last Modified: 2012-06-27
Is there a way to move the folder location of where a Windows 2003 server saves its downloaded Windows update files? I have a server that is running a bit low on disk space and if possible I would like it to download/save Windows update files to a drive that has a bit more drive space.
0
Comment
Question by:Rob Sanders
  • 4
  • 3
7 Comments
 
LVL 6

Expert Comment

by:ipajones
ID: 34139790
The default location for downloaded update files is: %systemroot%\SoftwareDistribution\Download and unfortunately you can't just move the updates download location.  Even if you stop the automatic updates service and delete the folder next time you run the update process the default location will just be recreated.

However, you can use a symbolic link to point the default folder to a different physical location.  Use the following steps at a command prompt:

1. Stop the Automatic Updates service
net stop wuauserv

2. Create a new location on your other drive (lets say e:\windows\new_softwaredistribution)
md e:\windows\new_softwaredistribution

3. Copy %systemroot%\SoftwareDistribution to your new location (e:\windows\new_softwaredistribution)
xcopy /s %systemroot%\SoftwareDistribution\*.* e:\windows\new_softwaredistribution

4. Rename the original folder %systemroot%\SoftwareDistribution
rename %systemroot%\SoftwareDistribution %systemroot%\old_SoftwareDistribution
(Once you're happy everything is working ok after you've completed this process use Windows Explorer to delete the complete folder tree)

5. Create the symbolic link
mklink /d %systemroot%\SoftwareDistribution  e:\windows\new_softwaredistribution

6. Restart the Automatic Updates service
net start wuauserv

Next time you run WindowsUpdate you should find the update files are downloaded to the new location.

NB. To remove a symbolic link just delete it like you would a normal file.

The above assumes you're using Windows Vista or later, if not then you won't find "mklink" in which case use the SysInternals "Junction" utility.  I've included the link to download it here:

http://technet.microsoft.com/en-us/sysinternals/bb896768.aspx

--IJ
0
 
LVL 6

Accepted Solution

by:
ipajones earned 500 total points
ID: 34139834
Sorry - just re-read your question stating you're using Win2K3.  You'll need to use the "Junction" utility I mentioned above.

See a link to the complete process:
http://msmvps.com/blogs/jeffloucks/archive/2010/09/19/redirecting-updates-and-the-software-distribution-folder-using-junction-to-another-hard-drive.aspx
This is in essence the same as my steps above except using the SysInternals Junction tool instead.
0
 
LVL 1

Author Comment

by:Rob Sanders
ID: 34140093
Thank you for the suggestion. I am going to give that a try and see what happens. I will let you know.
0
Zoho SalesIQ

Hassle-free live chat software re-imagined for business growth. 2 users, always free.

 
LVL 1

Author Comment

by:Rob Sanders
ID: 34232019
Sorry it is taking me so long to get to this. I keep having other things come up that keep me from working on this. I will post an update as soon as I am able to give it a try.
0
 
LVL 6

Expert Comment

by:ipajones
ID: 34479586
tbonejackson:

Did you have any joy with this ?  If not post back and I'll try and answer any queries.

--IJ
0
 
LVL 1

Author Comment

by:Rob Sanders
ID: 34641556
Sorry i haven't posted anything concerning this. I have had a variety of other issues to deal with that have kept me from this. I will address soon and post an update.
0
 
LVL 1

Author Comment

by:Rob Sanders
ID: 34971697
Thanks for the assistance, this solution worked out pretty well.
0

Featured Post

Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Our Group Policy work started with Small Business Server in 2000. Microsoft gave us an excellent OU and GPO model in subsequent SBS editions that utilized WMI filters, OU linking, and VBS scripts. These are some of experiences plus our spending a lo…
Today, still in the boom of Apple, PC's and products, nearly 50% of the computer users use Windows as graphical operating systems. If you are among those users who love windows, but are grappling to keep the system's hard drive optimized, then you s…
In this video, we discuss why the need for additional vertical screen space has become more important in recent years, namely, due to the transition in the marketplace of 4x3 computer screens to 16x9 and 16x10 screens (so-called widescreen format). …
The Task Scheduler is a powerful tool that is built into Windows. It allows you to schedule tasks (actions) on a recurring basis, such as hourly, daily, weekly, monthly, at log on, at startup, on idle, etc. This video Micro Tutorial is a brief intro…

939 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

6 Experts available now in Live!

Get 1:1 Help Now