maintitle

Keeping clients and servers updated is one of the basic rules of Information Technology. There are many ways to update computers, depends by the dimension of your company. At the end of all, there are three possibilities:

  • Managed with default Windows Update
  • Managed with WSUS
  • Managed with SCCM

The last one is used by medium-large companies because System Center Configuration Manager is not only a patch manager but is also a full platform to administer the entire IT infrastructure. In this article we will see how to manage clients and servers with WSUS.

Windows Server Update Services is a role present in Windows Server since 2008, but it exists since 2001, when the name was only Software Update Services. WSUS enables administrators to manage the distribution of updates and hotfixes released for Microsoft products to computers in a corporate environment.

Install and Configure WSUS

To enable WSUS, it is necessary to select the related role in Server Manager, as shown in figure 1.

2019_01_03_wsus-01

Leave all the settings in their default values, but select what role services must be installed (figure 2). The classic configuration uses the Windows Internal Database, based on SQL Express, and is fully managed by Windows.

2019_01_03_wsus-02

To increase the performance, it’s possible to use the database on SQL Server; this can help to reduce the effort (CPU and RAM) on the WSUS machine. This scenario is also useful when there are many computers. Obviously, this has a cost, unless you already own an SQL Server license.

In the last tab of this wizard you have to select the path where WSUS will store the updates: the filesystem in this path must be NTFS and the size should be at least 150GB. If you use a virtual machine, add a dedicated disk only for WSUS.

2019_01_03_wsus-03

Confirm all the selections and close the wizard. At the end of this procedure, you will be able to open the WSUS console from the start menu.

2019_01_03_wsus-04

The wizard allows you to configure:

  • Upstream Server: if the server is master or source
  • Language of Updates
  • Products to manage
  • Classification
  • Schedule Time (I suggest at least 4 sync per day)

I will not talk about these details because they’re very easy. The only point that I want to clarify is the classification, because it’s necessary select all the checkboxes to provide updates for everything. About the Products, I will select only Windows Server 2019, but you should choose the operating system and software you have in your infrastructure.

NB: remember that Office 365 ProPlus cannot be managed via WSUS. The product is present into the catalog but, unless you have SCCM, there’s no way to provide updates for it. More details are available in this article: https://blogs.technet.microsoft.com/wsus/2016/04/13/office-365-client-updates-via-wsus/

Group Policy

Meanwhile your WSUS is working to synchronize the catalog, we have time to create the Group Policy to set our computers to use local server to catch updates. In this an important aspect because there are many schools about the strategy to apply. It’s a must to set the auto-install policy for clients, but, for most servers, you should set the download mode only and install the updates manually during the non-business hours; you could also have a bunch of servers that can be installed automatically (depends if there’s a critical Line-of-Business application).

Create a new GPO called Manage WSUS – Server (for client could be Manage WSUS – Client) into the OU where servers are collocated; don’t forget the OU Domain Controllers to avoid downloading the patches from external for each DC.

The parameters to manage updates are available into folder Computer Configuration – Policies – Administrative Templates – Windows Components – Windows Update

2019_01_03_wsus-06

The most important settings to change are:

  • Configure Automatic Updates: Enabled – Auto Download and notify for install – Everyday
  • Specify intranet Microsoft update service location – Enabled – set WSUS path in FQDN format (ex. http://myserver.contoso.com:8530) for both rows
  • Automatic Updates detection frequency – Enabled – set interval every 1 hour

Groups

To better manage the computers, WSUS uses a logical group to deploy approved updates. A single computer can be member of many groups; thus, you can deploy patches based on scope. To create a new group, right-click on Computers – All Computers and select Add Computer Group – figure 6.

2019_01_03_wsus-05

NB: the group name cannot be changed after creation, so decide the naming convention before starting.

To assign one or more computers to a group, select it and choose Change Membership, as shown in figure 7.

2019_01_03_wsus-07

Once you have assigned clients and servers to right target groups, we can proceed to approve updates. From the area Updates – All Updates we can see all the patches that should be deployed in our infrastructure. The suggest is to change the table view – figure 8 – adding the columns Supersedence and Needed Count. This can help you to evict old updates and understand how many computers need a specific update.

2019_01_03_wsus-08

Remember to decline all the updates that are already expired: you can detect them by the icon shown in column Supersedence – figure 9.

2019_01_03_wsus-09

To approve the updates, right-click on them and then on Approve – figure 10.

2019_01_03_wsus-10

Select the target group to apply the updates – figure 11 – and click OK.

2019_01_03_wsus-11

WSUS will start to download the packages from Microsoft Catalog – figure 12. The execution time depends on your Internet connection. After this, the endpoints will be able to detect the new updates from WSUS.

2019_01_03_wsus-12

Install Updates into Clients

Open the Windows Update panel in your machine and check the presence of new items. As you can see, there’s a warning message that informs that the settings have been overridden by the administrator.

2019_01_03_wsus-13

If you choose to download and install the updates, the task will be running during the period selected in the GPO. Otherwise, the updates will be available for install.

Troubleshooting

In the Options area, there’s a great tool to clean your server. For example, it’s possible to delete expired updates or computers not more present in your environment. It’s important to run this wizard at least one time per month, to keep database size lower and to avoid disk space waste.

2019_01_03_wsus-14

Migrate Content Folder

In case you want to migrate the repository folder, you can follow these steps:

  • Open a command in WSUS installation directory – (ex. C:\Program Files\Update Services\Tools)
  • Run the command: exe movecontent “new path for content” “new path for logs”

This operation could require hours, so be careful to run the command out of business hours.

Migrate Database

In case you want to migrate your database from remote database, maybe a SQL Server, follow the official documentation from Microsoft Docs: https://docs.microsoft.com/en-us/windows-server/administration/windows-server-update-services/manage/wid-to-sql-migration

Final considerations

Windows Server Update Services should be a must inside every companies to automate and simplify patch management. As we saw, in few steps we installed and enabled the roles to provide updates to all computers of our infrastructure.

(French, Spanish, Portuguese (Brazil))



WSUS: How to keep computers updated
Iperius IT Team
*****************************************

PLEASE NOTE: if you need technical support or have any sales or technical question, don't use comments. Instead open a TICKET here: https://support.iperius.net

*****************************************

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

*****************************************

PLEASE NOTE: if you need technical support or have any sales or technical question, don't use comments. Instead open a TICKET here: https://support.iperius.net

*****************************************