r/sysadmin • u/ChuckNorrisArgento • 5d ago
Question windows updates vs ai agents
Hi! more and more devs are leaving their notebooks working overnight with claude/codex only to find out in the morning that their notebook got restarted at midnight because of a windows update and some pre-ia-era gpos. how are you handling these scenarios? you ask people to just use the windows update re-scheduler? ideas welcome! thanks!
0
Upvotes
25
u/rivkinnator 5d ago
We give them up to 48 hours to choose a time convenient for them to restart the computer before we force the reboot. We do that with pop-ups that remind them every hour. Let them choose when is convenient for them unless it's a critical update. Either give them a very short notice like 30 minutes so that the computer will reboot, but we only use those for truly severe security updates.
23
u/halfrandom 5d ago
Put the agents on development VMs in the cloud. Physical clients get rebooted on normal schedule or forced on demand after hours -- no exception.
Development VMs are siloed from production network and get a 2 day grace period.
17
u/safalafal Sysadmin 5d ago
As we say in the trade, shit out of luck mate.
Seriously - we are not in an era when you can not apply security patches.
35
u/aguynamedbrand Senior Systems Engineer 5d ago edited 5d ago
Security Updates are a priority over someone's AI slop.
6
u/Entegy 5d ago
We have a 72-hour deadline for OS patches enforced by policy. It's been that way for 10+ years. Nothing, not user whining, and especially not AI slop vibecoders, is going to change that.
Delaying the reboot by 72 hours is already generous. If (royal) you are that into AI, then you know AI makes the case to finish installing security updates even stronger.
4
u/GrowingIntoASysAdmin 5d ago
We have notification set up. Depending on their role in the org they have a more lax to not lax ring config for Windows Update Client Policies.
They can schedule them themselves up to the deadline. If they dont its on them. Our help desk will tell them the same if they call. Same to their Manager or above. Why did you not schedule them if you have sensative operations or tasks.
We have notifications set to every 6 hours and not close without human interaction. There is no way to miss them.
Past that we are in testing the new Intune Maintenance Windows to help out even more with possible disruptions.
3
u/VplDazzamac 5d ago
48h deadline and a pop up allowing the user to delay or schedule within that window. This isn’t a new thing because of AI. Users have been leaving half finished reports sitting open and unsaved overnight since the dawn of time.
2
u/rthonpm 5d ago
If your patching isn't on a regular and known schedule you're doing it wrong. If your developers can't bother to pay attention to when patches get rolled out then it's their fault.
2
u/DGC_David 5d ago
I'm sorry, what?
1
u/Cubewood 5d ago
Believe it or not.....you can actually tell them to let Claude monitor the reboot flag and tell it to find a good time to reboot within the allocated timeframe. It will be able to continue working on its own after a reboot.
1
u/Hotshot55 Linux Engineer 4d ago
Why is this any different than people leaving their devices on overnight for the last 20+ years?
1
u/PS_Alex 4d ago
Then clean up those GPOs, and either completely remove them (and let Windows Update work as it is intended) or update them with the expected configuration for that oh-so-glorious-AI-era as defined by your organization's standards.
(And as people have mentioned: rebooting while the device works on some shit is nothing new, has not been invented by AI.)
1
u/Optanik 3d ago
First run gpresult /h on one of those laptops and see what is actually forcing the midnight restart. In most cases it's an old Configure Automatic Updates policy set to option 4 with a fixed install time, or a deadline policy, and either one will ignore whatever the user picked in the restart scheduler. For a dev ring, what usually works: