r/WSUS • • Aug 31 '18

Automating WSUS - How do you do it?

7 Upvotes

So for most companies I would imagine managing user workstations are relatively simple. I have all users pulling from a GPO that downloads and installs the updates and then force restarts the workstation after a predefined amount of time. Obviously I have a test and production group, and the test group always receive the updates for a minimum of a week before deploying to production. That part is fairly easy to manage.

It's the server part that is a little more complicated. The servers, both test and production, are set to a GPO as well but the updates are not automatically downloaded and installed with a forced restart. At the moment I am remoting in and downloading and installing the updates then restarting the server. Currently I have to check with all server owners within the company to approve a designated time during the week/month to restart the servers - some of them don't require this approval but quite a few of them do. One of the reasons is I check to see if the server is functioning as it should be after the updates are installed. I have a decent understanding of what each server's purpose is within the company.

I would like to know how some of you have setup automation for your server updates when you're working in a similar environment. It would be nice if maybe there were a powershell script available or a 3rd party program that could recognize the updates that have been pushed to the server and then automatically download and install the updates.


r/WSUS • • Feb 14 '22

WSUS installing not approved updates.

6 Upvotes

Hi,

I got WSUS on Windows Server 2019. From 2-3 months it started to install updates that are not approved in WSUS on local computer connected to WSUS.

After every Path Tuesday when updates are sync with Microsoft servers, it starting to push updates on my computer connected to it.

I got this WSUS like 6 months now, and for first 3-4 it was working as it should.

When show up new updates I approved it to groups I want it to have in first place for test and so on.

I uncheck automatic approved and do not have any rules configured in Automatic Approval.

WSUS is configured not to download and keep updates, computers download updates directly from MS, WSUS is for checking and statistic, because of many users works from home and we do not want to updates go thru VPN.


r/WSUS • • Jan 28 '22

what do you use for 3rd party updates via wsus?

5 Upvotes

hi. When We use wsus 3.0 there was great free software for 3rd party updates - http://www.localupdatepublisher.com/ but as it is not supported it is not working with latest wsus we are using now on server 2019

I am testing now https://github.com/DCourtel/Wsus_Package_Publisher

but again, how safe it to run closed source software with only one maintainer, as you newer know what telemetry it gathers and where it sends.

What are options, if I look for open source and free software?


r/WSUS • • Aug 17 '21

Need Help!!! All 2016 / 2019 Servers are not reporting their status.

4 Upvotes

I've got 27 2016 / 2019 servers 24 of those are not reporting their status. WSUS detects them and the "last contact" updates correctly but they will not report "last status report".

Their on about 5 different domains so dropping them off the domain and back on is not an option. Here's what i've tried so far.

Resetting windows update components on the server.

Telling it to /reset authorization, /detectnow, /reportnow

Doing manual updates

removing from wsus and having it detect / report in. Server will detect the wsus server just not report in.

removed the GP wsus setting from the default policy, tried running updates. Then putting the GP policy back in place.

Waiting a few days for it to check in.

Run a magical script forcing the check in. (worked on 2012 servers)

removing SoftwareDistribution & catroot folders.

Changing the update frequency check from default (22hrs) to 6hr and 3hr

Changed the SUSID

I'm sure i've tried a few others but can't remember. Nothing is working however. Any ideas would be great!! I thought maybe their missing an update but i'm not sure which one it would be, google wasn't much help.


r/WSUS • • Aug 10 '21

Cumulative Updates through WSUS not shown in the update history

4 Upvotes

On the weekend, we automatically applied updates for our Windows Server 2019. The 2021-07 cumulative update was not shown in the update history.

updatehistory

I then proceeded to "Check online for updates from Microsoft Update", which downloaded and installed KB5004244. The update now shows in the update history. However, I then checked the installed updates via a script and it seems like the update was applied before on 08.08.2021 and when I checked manually it installed the update again even though it was already installed? The second update also has the version number 1809 in brackets - what is going on?

KB Number Title                                                                                                       Date                Operation
--------- -----                                                                                                       ----                ---------
KB5004244 2021-07 Cumulative Update for Windows Server 2019 (1809) for x64-based Systems (KB5004244)                  10.08.2021 11:54:23 Installation
KB5004228 2021-07 Cumulative Update for .NET Framework 3.5, 4.7.2 and 4.8 for Windows Server 2019 for x64 (KB5004228) 08.08.2021 12:29:32 Installation
KB5004244 2021-07 Cumulative Update for Windows Server 2019 for x64-based Systems (KB5004244)                         08.08.2021 12:28:23 Installation

EDIT: Solved, seems to be an issue with Windows Server 2019 and 3rd party patch management tools such as BatchPatch (reference)


r/WSUS • • Jul 15 '21

Wildcard Searches for Updates

4 Upvotes

Does anyone know if it's possible to use Wildcards in searches? So if I'm looking for just the 2021-06 "server" patches, I want to search something like "2021-06*server*, but using asterisks doesn't work. Is there any wildcards that do? That would make using WSUS slightly more bearable.


r/WSUS • • Jan 31 '21

Windows Update problems all of the sudden...

4 Upvotes

After years of Windows Updates working great for us (via WSUS), we had all sorts of problems last month.

  1. Automatic Updates took hours to install if they did at all

  2. Automatic Updates timed out on many servers.

  3. When having to manually update servers (due to #2), the server had to re-download all the updates and that took hours, timing out on many occasions, requiring us clicking 'Check for Updates' over and over.

  4. If updates did finally download, they sat in 'preparing to install' mode for an hour and then timed-out, meaning we had to start over again.

We did not make any changes that we know this month. I do try to keep our Patch Catalog minimal, declining all unnecessary updates. I run all the typical scripts and commands that you see online to improve performance and maintain WSUS.

a. Did anyone else have a similar experience in Jan 2021? Everything worked great in 2020, but Jan 2021 was terrible update-wise?

b. Assuming the hardware/infrastructure was identical, where would I begin to look for clues as to what happened, as Feb Patch Tuesday is coming and I do not want a repeat of Jan. Please help!


r/WSUS • • Jul 24 '20

PowerShell WSUS module

4 Upvotes

Does anyone have recommendations for a good PowerShell WSUS module that is helpful for remote administration? I know about the updateservices module but it's not fleshed out enough for my liking.


r/WSUS • • Jul 21 '20

Disconnected WSUS Server, Syncing Updates

4 Upvotes

Hello,

Does anyone have any good way to keep updating a Disconnected WSUS Server (with no internet access)? I am currently following the docs.ms page for: https://docs.microsoft.com/en-us/windows-server/administration/windows-server-update-services/plan/plan-your-wsus-deployment#12-choose-a-wsus-deployment-scenario

However I cant wrap my head around how to move the updates with ease over time. The only method I can think of is writing sometime of ExportOnlyNewWSUSUpdates.ps1 script that regularly sets the archive attribute of the filesystem to keep track of what was already burned to disk?

Does anyone know of any github scripts so that I don't have to recreate the wheel? Thank you so much and my apologies if my question was a bad one.


r/WSUS • • Jun 12 '20

Help with update Patch Management planning through WSUS

4 Upvotes

Hello,

Kind of a long post, but I'd really appreciate input.

I started working somewhere that does not have any patch management setup.

Environment has about 200+ client computers and 50 or so servers (mostly VMs)

So, with nothing really in place, I spun up a new VM with WSUS being what it will be used for.

I only really care for Security and Critical updates mainly.

Clients are mainly Win10 and servers are mainly 2012 R2.

So I have selected the things that we want/need and setup the GPOs for the clients to show up in WSUS.

I'd appreciate feedback on my approach here. I am thinking that I will approve all updates to some test batch computers (around 35 computers) and my test servers (about 5) each week.

After a week, if no issues come up due to updates, I would approve the updates to the rest of clients.

I setup a few different groups for everything such as Test Computers, Production Computers, Test Servers, Prod Servers.

One of my questions since I am new to WSUS really, is when I go to approve updates, say I click all updates in WSUS and then approve all to my test computers.

A week goes by and I'm ready to deploy those SAME updates to the rest of the clients.

How do I know that new updates are not mixed in when I go to approve "all" updates to the computers?

And my second question, how does one go about updating servers?

I'm a bit worried about breaking anything server production-wise, so just wondering if my weekly test and then deploy method will work?


r/WSUS • • Dec 07 '21

Windows Cumulative Updates Supersedes

3 Upvotes

I am trying to write a python script to detect which Updates are installed (and indirectly what CVEs are mitigated).

But for some reason Microsoft does not report the superseding properly between September 10th 2018 cumulative upgrade and October 8th 2018th upgrade.

Ex: For windows 10 Release 1607, KB4516070 is the last cumulative upgrade that is traceable from superseding. There is no other cumulative upgrade that lists KB4516070 as supersede. The next Microsoft lists for this release is KB4519998, from oct 8th 2018. But this does not has KB4516070 as superseded. In my opinion, it should. And this is true for all releases in this period of time.

Just wondering if I am missing something here or Microsoft is missing something there.

Thanks


r/WSUS • • Dec 01 '21

Importing WSUS Updates from the Catalog, But not showing up in WSUS.

3 Upvotes

Hi,

As the title Says, i go to import updates from the Microsoft Catalog and everything appears fine.
the problem is that i cant see them in WSUS.

My steps:
-Right click in WSUS to import updates
-Select the updates i want, and add to basket
-Click import to WSUS
-They download, and gives me the green box saying done.
-I Now cant find them in WSUS after this.

I have tried synchronising several times which is successful, Rebooting the server etc etc.

Any help would be much appreciated


r/WSUS • • Oct 21 '21

Server 2012 R2 WSUS Upgrade to Server 2019?

3 Upvotes

Probably gonna get roasted on this one. Has anyone attempted this update? Our WSUS was running on a 2012R2. We took a snapshot of the VM before we did this, so we have a fallback.

Ran the Server 2019 in-place upgrade and activated with the new key for it. Now the reporting feature is unavailable, says the Report Viewer 2012 Redist is required. It was installed before. Click the helpful link from MS, and it won't install because the server is now 2019 and it thinks the CLR Types for SQL Server 2012 is missing. Go to download that and it's no longer available to download according to MS's website.

I'm beginning think a clean install would've been better. But how do we migrate the current WSUS database and information to a new install?

I know, why aren't we using SCCM? Upper-echelons don't want to buy it.


r/WSUS • • Aug 19 '21

WSUS and SCCM

3 Upvotes

I've built a new installation of SCCM recently and we have an existing WSUS server that all of our servers and clients are pointed to via GPO. I wanted to integrate SCCM with the existing WSUS server so I installed the SUP role on the WSUS server and set it to pull from Microsoft like how it already was. However, my issue is that WSUS keeps changing its update source to itself. Am I misunderstanding the setup here? I've read some thing that say you need to have the SUP role on the SCCM primary site server and then point it to the WSUS server as upstream. Do I need to change where my clients and servers pull updates from?


r/WSUS • • May 11 '21

May 2021 Updates

3 Upvotes

Has anybody received the May 2021 updates yet on their WSUS server? I’m still getting a bunch of definition updates today but no OS updates are coming through.


r/WSUS • • Apr 08 '21

Is there a list, guide or any documentation for the WSUS Products list?

3 Upvotes

I'm looking for some kind of content that both lists and describes what each item in the WSUS Products list includes. Some of the items are self-explanatory, while others are definitely not. For example, we are running Windows 10 version 1909 right now, but are planning to upgrade to 20H2 this spring. Would I be able to uncheck any of the older Win10 products? and which product in that list would cover 20H2?


r/WSUS • • Feb 22 '21

Windows Updates consuming all available space on C:?

3 Upvotes

I've used 40GB as my default C: drive size for a new virtual Windows Server for almost a decade. And it has not been a problem for over a decade. But the past couple months, Windows Updates have been taking up all the space on the C: drive, and i have had to cancel the updates, and either free space up or add additional storage. That makes we wonder if 40GB is realistic with Windows Server. Or maybe these updates the past month or two are messed somehow? or something is configured wrong all of the sudden. Anyone else have issues with Windows Updates taking up way too much space on C: (and again, just a single month's worth)? What might have changed in Jan and/or Feb? Either on my side or Microsoft's?


r/WSUS • • Oct 25 '20

WSUS Help Needed

3 Upvotes

Hello - so the sys admin that built our WSUS environment is no longer with our company. I'm very new to this type of environment, but in clicking on All Computers, I'm able to see that there's 82 servers that have not been updated. (Please see screenshot). Is there a report that I can run that will give me a better window into which servers are up to date? I'm a bit confused, because first, there are some servers that appeared to have been updated outside our patching window, and second, there are some servers that are up to date, but are showing as not up to date in the WSUS report. Any help/advice would be greatly appreciated.


r/WSUS • • May 11 '20

Verify Machines Get Updates From WSUS

3 Upvotes

Hello /r/WSUS,

[Introduction]

I inherited a mostly setup WSUS server at our colo (colo.domain.local) and another (downstream) at our main office (downstream.domain.com). I've been tasked with figuring out how it works, if it's working, and how to approve updates. I knew nothing of WSUS until a week ago.

[Problem]

I'm trying to find a definite way of determining if machines are getting updates from the WSUS server, the Downstream server, or Microsoft.

[Questions]

How can I verify that a machine is getting updates from WSUS and not failing over to Microsoft?

How does a machine know to use the "local" downstream.domain.local vs the colo.domain.local for its source of updates?


r/WSUS • • Dec 14 '21

Windows Server Core WID extremly large, connect or shrink needed

2 Upvotes

Hello,

My WID database on Windows Server Core uses to much disk space.

I can not run the wsus-server cleanup utility as it crashes caused by needing free diskspace.

How can I connect to the WID database to shrink it sql managment studio requires an gui as far as i know.

Or does anybody knows a way to handle this problem or connect to the db so I can shrink it?

Many thanks in Advance!


r/WSUS • • Nov 30 '21

Is it possible to use WSUS downstream server in Azure only for getting metadata defintions from WSUS master on-premise, but download patches/updates via Azure where the VMs are laying to save bandwith? Please see architecture from fresh sysadmin

2 Upvotes

Hi there guys.

WSUS newbie here.

Currently we want to leverage our on-premise WSUS solution in Azure. We want to use a downstream WSUS in Azure to save bandwith over expressroute from on-premise to Azure. The plan is that the downstream only gets told what it definitions it should have, and the actual downloaded of the patches/updates is being handled by internet to Azure, having the bandwith here.

Is this architecture and thinking possible to perform or is this just a dream scenario?

Thanks in advance


r/WSUS • • Nov 02 '21

New WSUS Server on 2019 Continued....

2 Upvotes

If you've read my previous posts, I was attempting to migrate our old WSUS install from a 2012R2 to a 2019. I eventually gave up trying to do it the migration way, and just installed WSUS fresh and just let it download the needed updates from MS overnight, we're just gonna do a fresh install.

Now my current issue is, I'm getting the dreaded " Error: Connection Error" and Reset Server Node problem when attempting to load the updates so I can approve them. I copied the IIS settings from the old server to the new one, yet I'm still getting issues.

Hardware: VM running Server 2019, 16GB RAM, 4 CPU's, 60GB OS install and 600GB for the patch information.

Tuning help please?


r/WSUS • • Oct 27 '21

Is WSUS the software I need?

2 Upvotes

Hello Everyone,

I recently got hired as the IT coordinator at a small business that has roughly 75 windows laptops for all of its employees. I was wondering what is the easiest way to take control and modify all of the devices at once.

Currently all of our devices are not running the same version of windows and I would like to be able to update them all at the same time, is WSUS the product I need or should I be looking at something else?


r/WSUS • • Oct 12 '21

PSWindowsUpdate - Update ID in output of missing updates?

2 Upvotes

I'm using PSWindowsUpdate to report on missing drivers. The output gives everything but the specific Update ID that links this particular driver to a package seen in the update catalogue that can then be used to import into WSUS. Searching by title will give many results in the catalogue. I need to know exactly which one WU on the client would install if it was done manually. I don't want a KB#, but the update ID.

I use this command to generate the output

Get-WUList -microsoftupdate -Category 'drivers'

Can I not get the updateID using PSWU?

example output:

Size : 81KB

Status : -------

ComputerName : PC1

KB :

Title : ASIX - Net - 2.20.1.0

AutoSelectOnWebSites : False

BundledUpdates : System.__ComObject

CanRequireSource : False

Categories : System.__ComObject

Deadline :

DeltaCompressedContentAvailable : False

DeltaCompressedContentPreferred : True

Description : ASIX Net driver update released in September 2020

EulaAccepted : True

EulaText :

HandlerID : http://schemas.microsoft.com/msus/2002/12/UpdateHandlers/WindowsDriver

Identity : System.__ComObject

Image :

InstallationBehavior : System.__ComObject

IsBeta : False

IsDownloaded : False

IsHidden : False

IsInstalled : False

IsMandatory : False

IsUninstallable : False

Languages : System.__ComObject

LastDeploymentChangeTime : 15/09/2021 00:00:00

MaxDownloadSize : 83447

MinDownloadSize : 0

MoreInfoUrls : System.__ComObject

MsrcSeverity :

RecommendedCpuSpeed : 0

RecommendedHardDiskSpace : 0

RecommendedMemory : 0

ReleaseNotes :

SecurityBulletinIDs : System.__ComObject

SupersededUpdateIDs : System.__ComObject

SupportUrl : http://support.microsoft.com/select/?target=hub

Type : 2

UninstallationNotes :

UninstallationBehavior : System.__ComObject

UninstallationSteps : System.__ComObject

KBArticleIDs : System.__ComObject

DeploymentAction : 4

DownloadPriority : 2

DownloadContents : System.__ComObject

DriverClass : Networking

DriverHardwareID : usb\vid_0b95&pid_1790&rev_0300

DriverManufacturer : ASIX

DriverModel : ASIX AX88772D USB 2.0 to Fast Ethernet Adapter

DriverProvider : ASIX

DriverVerDate : 23/09/2020 00:00:00

DeviceProblemNumber : 0

DeviceStatus : 0

RebootRequired : False

IsPresent : False

CveIDs : System.__ComObject

BrowseOnly : False

WindowsDriverUpdateEntries : System.__ComObject

PerUser : False

AutoSelection : 1

AutoDownload : 2


r/WSUS • • Sep 24 '21

Updates report not show correctly

2 Upvotes

Hi,

I don't understand why my reports not show correctly. They are cut, and don't find how to see correctly all informations.

At now, for example i can't see list of computers need specific KB.

Look my screenshot

https://imgur.com/8d6dfwn.png

I try sfc /scannow and dism repair but no changes.

Have you any idea ?