Solved

Move Location of Windows Update Files

Posted on 2010-11-15
7
962 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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
Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
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

Get 15 Days FREE Full-Featured Trial

Benefit from a mission critical IT monitoring with Monitis Premium or get it FREE for your entry level monitoring needs.
-Over 200,000 users
-More than 300,000 websites monitored
-Used in 197 countries
-Recommended by 98% of users

Question has a verified solution.

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

This article helps those who get the 0xc004d307 error when trying to rearm (reset the license) Office 2013 in a Virtual Desktop Infrastructure (VDI) and/or those trying to prep the master image for Microsoft Key Management (KMS) activation. (i.e.- C…
Ever visit a website where you spotted a really cool looking Font, yet couldn't figure out which font family it belonged to, or how to get a copy of it for your own use? This article explains the process of doing exactly that, as well as showing how…
This Micro Tutorial hows how you can integrate  Mac OSX to a Windows Active Directory Domain. Apple has made it easy to allow users to bind their macs to a windows domain with relative ease. The following video show how to bind OSX Mavericks to …
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

690 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