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

I think that's by desig. Isn't there a patch function inside the script you can use to kick off patches 

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

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

×
×
  • Create New...