Jump to content
Sign in to follow this  
abeauchamp

Everyday, All Day Patching

Recommended Posts

Hi all,

I am looking for a way to set up a group that will allow any computer added to it to continue patching all day long as long as it has outstanding patches. I envision being able to add new computers to this group and have them run MS patching until completely updated.

Currently, I set up  a group and assigned the following MS Update Policy to it:

Day: Custom

Start Time: 12AM

Duration: 23 Hours

Selected all days, of every month.

I then assigned the follow reboot policy:

Disable reboot window, issue reboot when patching is complete. Reboot based on Patch Reboot Mode settings.

Patch Reboot Mode: Now

When I add a computer to this group, it initially begins patching, installs available patches, and then reboots. The computer then has additional patches that are outstanding either as follow-up patches or patches that couldn't be installed till after a reboot, but the computer doesn't attempt to install those patches until the next morning at 12AM when it hits the next patch window.

How do I go about making sure that after the first set of patches are installed, the machine reboots, and then continues patching again?

Is there an easy way to get this setup?

Patching 1.png

Patching 2.png

Share this post


Link to post
Share on other sites

Setting a long window like that will mean that it will end up waiting 23hrs to reboot.

My thought would be to not use patch manager, but something like Powershell Windows Update module, create an automate script to download and add that, run a get, then install, check reboot status, reboot if needed and rinse and repeat either a few times or if you can figure out how to get it to parse output for no remaining updates available to stop there.

https://gallery.technet.microsoft.com/scriptcenter/2d191bcd-3308-4edd-9de2-88dff796b0bc

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×