Solved

Move Location of Windows Update Files

Posted on 2010-11-15
7
793 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
Want to promote your upcoming event?

Are you going to an event? Are you going to be exhibiting at a tradeshow? Talking at a conference? Using a promotional banner in your email signature ensures that your organization’s most important contacts stay in the know and can potentially spread the word about the event.

 
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

Backup Your Microsoft Windows Server®

Backup all your Microsoft Windows Server – on-premises, in remote locations, in private and hybrid clouds. Your entire Windows Server will be backed up in one easy step with patented, block-level disk imaging. We achieve RTOs (recovery time objectives) as low as 15 seconds.

Join & Write a Comment

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…
Possible fixes for Windows 7 and Windows Server 2008 updating problem. Solutions mentioned are from Microsoft themselves. I started a case with them from our Microsoft Silver Partner option to open a case and get direct support from Microsoft. If s…
With the advent of Windows 10, Microsoft is pushing a Get Windows 10 icon into the notification area (system tray) of qualifying computers. There are many reasons for wanting to remove this icon. This two-part Experts Exchange video Micro Tutorial s…
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…

708 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

14 Experts available now in Live!

Get 1:1 Help Now