WSUS server for Windows systems: Changing the path of WSUS update files

Source: Internet
Author: User
Tags log log sql server management

WSUS patch hard disk space is not enough

WSUS patch hard disk space is not enough. I deployed a WSUS server, using normal, now because the patch download hard disk space is not enough, I would like to change the patch download path to a larger hard disk, how to do?

If the update file is stored on the WSUS server and the disk is full, you may need to change the location where WSUS stores the update files when the disk is low. If the disk that stores the update files fails and you use the new drive letter for the disk, you must also change the location where the update files are stored.

Because of insufficient disk space, you want to move the downloaded update file to a new partition.

Indeed, we can use the WSUSutil.exe tool that comes with WSUS to update the installation files for relocation operations.

The steps are as follows:

1. Log on to the WSUS server as a local administrator.

2. Create a folder in the destination partition to hold the update files such as E:\wsus. (This directory must be established first.)

3. Open a CMD command-line window and enter the following path:

C:\program files\update Services\tools

650) this.width=650; "src=" https://s3.51cto.com/wyfs02/M02/03/C5/wKiom1mf1SeDB36yAAE-gUST2kc234.jpg "title=" 1.jpg "alt=" Wkiom1mf1sedb36yaae-gust2kc234.jpg "/>

4. Run the following command to transfer the update files:

WSUSutil.exe movecontent <new contentpath> <logfile>

Such as:

WSUSutil.exe movecontent E:\WSUS e:\move.log (move.log name can be taken casually, just for the convenience of viewing the turn

Move record)

" E:\WSUS" is the new target path; "E:\move.log" is the log in the transfer process .

650) this.width=650; "src=" https://s2.51cto.com/wyfs02/M02/A2/75/wKioL1mf17agd-1RAAEiMraC81Q570.jpg "title=" 2.jpg "alt=" Wkiol1mf17agd-1raaeimrac81q570.jpg "/>

4.1 wuauclt/detectnow Manually refresh the WSUS service

The Move.log log is logged as follows:

650) this.width=650; "src=" https://s4.51cto.com/wyfs02/M00/A2/75/wKioL1mf2LKhULV7AAT_g8hJa70191.jpg "title=" 1.jpg "alt=" Wkiol1mf2lkhulv7aat_g8hja70191.jpg "/>

5. Confirm that the transfer process is complete from the log, and then you can delete the updateservicespackages and wsuscontent under the original WSUS folder. However, do not delete the updateservicesdbfiles folder, which may contain WSUSDB database files.

In addition, in order to make more space, in addition to transfer the update files, in the future if there is a need, you can also transfer database files.

Here's how:

1. Run from the "CMD" command line:

net stop Wsusservice

2. Use Microsoft SQL Server Management St io to connect to SQL Server and then detach the SUSDB database.

3. Copy the Susdb.mdf and Susdb_log.ldf to the new destination path.

4. Use Microsoft SQL Server Management St io again to attach the SUSDB database for the new location.

5. Run this command to start the service:

net start Wsusservice

6. Verify that WSUS is working properly and delete the existing database files.

After the relocation is complete, it is recommended that you perform cleanup operations on the WSUS server to reduce wasted storage space and.

The steps are as follows:

1. Open the WSUS console, and from the options, in products and categories and update files and languages, verify that unnecessary product, category, and language versions are not downloaded to the WSUS server.

2. Clean up the WSUS server:

A. For WSUS 3.0, open the Server Cleanup Wizard under Options, and then select all options and perform cleanup.

B. For WSUS 2.0, follow these steps:

1). Run from the CMD window into the WSUS tool directory:

Wsusutil.exe deleteunneededrevisions

2). Download the server Diagnostic Tool from the following address:

Http://www.microsoft.com/windowsserversystem/updateservices/downloads/default.mspx

3). Run the tool in this manner:

Wsusdebugtool.exe/tool:purgeunneededfiles



This article is from the "Learn Linux history" blog, please be sure to keep this source http://woyaoxuelinux.blog.51cto.com/5663865/1959337

WSUS server for Windows systems: Changing the path of WSUS update files

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.