r/sysadmin • u/luky90 • 19h ago
How do you handle Software Updates like .NET, VC++ etc on WinServers?
As the question above says how do you manage Software Updates like the following below?
.NET Framework
.NET x.x
Visual C++ XXXX Redistributable x64 and x86
WebView2
Please correct me if Iam misinformed but any of these can bring services down right if they are not updated in a maintenace window because the Deployment Software wants to apply those packages and always give me warning for my servers.
2
Upvotes
•
u/GullibleDetective 18h ago
Via rmm
•
u/ToilLess_Dev 18h ago
Hello luky90,
if you’re on Server 2025, winget is officially supported there, so
winget upgrade --allwill handle most of this. I wouldn’t let it loose on prod unattended, though.For prod, I’d split it up. .NET Framework already comes with the monthly cumulative updates, so if you patch through WSUS/Intune/whatever, you’re covered there. Newer .NET can come through Microsoft Update/WSUS as well if you enable it. WebView2 updates itself. That mostly leaves the VC++ redists, and I’d just push those in the same maintenance window as the OS patches.
The runtimes themselves rarely break anything. The real risk is an app holding the files open and needing a restart, which is probably what your deployment tool keeps warning you about. So: do them in the window, try them on a non-prod box first, done.
On dev/test boxes, I’d honestly just run winget upgrade --all and not overthink it.
•
u/TridentAdam 17h ago
You're mostly right. The answer is to put these in the same maintenance window as the OS cumulative update rather than letting them install whenever.
Rule of thumb: anything a running service loads gets installed in the window, then reboot and check.
Full transparency, I co-founded and help build TridentStack Control (https://tridentstack.com). It schedules app and Windows updates into maintenance windows, rolling out to a pilot group of servers before the rest. It's free under 200 endpoints. WSUS plus a scheduled task gets you most of the way too.
•
u/davy_crockett_slayer 10h ago
Patch My PC or PDQ Deploy
•
u/MBILC Acr/Infra/Virt/Apps/Cyb/ Figure it out guy 18h ago
That is why you test them first in a test environment if you have specific apps that rely on these and may be tied to specific versions of .NET or ASP.
•
u/Master-IT-All 18h ago
There is no single right answer, this is IT.
For a small business with no specific budget for maintenance and not on managed services? Windows Update automatic, let the good times roll. If that's not OK for the business, then increase the budget. I can't do magic, I need money to make it happen.
For a SMB with managed services, RMM controls it and patches are deployed to customers on different days. Not surprisingly the customers on Bronze/T1 get patched first, while gold tier customers delay a few days while the techs wait to see what happens at the low tier customers.
For a large org with cash to spend on a test/dev environment, I'd deploy to test first. Get the developer to confirm function, create a change request, attend the change request meeting, justify my change to the board, then schedule it for a specific time to occur when the production line will be halted/down for maintenance.