I am totally baffled at this point. We have updates set to deploy via ADRs to servers. The ADRs create deployments that make the Updates available ASAP with deadline ASAP. We then use maintenance windows to tell the servers when to install and reboot. Sound good? Then when the maintenance window occurs, nothing happens. Collected details below:
Deployment Settings:
General:
Deployment Name: Microsoft Software Updates - 2015-09-01 04:00:29 PM
Collection: MTW-Test
Deployment Settings:
Send wake-up packets: No
Verbosity Level: Only success and error messages
Scheduling:
Deployment schedules will be based on: Computer local time
Available to target computers: 9/1/2015 4:01:00 PM
Deadline for software update installation: 9/1/2015 4:01:00 PM
User Experience:
User Notifications: Display in Software Center and show all notifications
Install software updates outside the maintenance window when deadline is reached: No
Restart system outside the maintenance window when deadline is reached: Suppressed
If a restart is required it will be: Allowed
Commit changes at deadline or during a maintenance window (requires restarts): Yes
Alerts:
On software update installation error generate a Window Event: No
Disable Window Event while software updates install: No
Download Settings:
Computers can retrieve content from remote distribution points: No
Download and install software updates from the fallback content source location: Yes
Maintenance windows are already applied to the collection and computers are aware of them. The maintenance windows are set to occur after the deployment deadline (ASAP). Then next maintenance window is at 3:45 PM, to align with logs below.
UpdatesDeployment.log:
No current service window available to run updates assignment with time required = 600 UpdatesDeploymentAgent 9/1/2015 3:39:40 PM 24196 (0x5E84) No service window available to run updates assignment UpdatesDeploymentAgent 9/1/2015 3:39:40 PM 24196 (0x5E84) This assignment ({9CCAB21E-8CA3-48FA-842F-97E1B1FAEF8F}) will be retried once the service window is available. UpdatesDeploymentAgent 9/1/2015 3:39:40 PM 24196 (0x5E84) EnumerateUpdates for action (UpdateActionInstall) - Total actionable updates = 32 UpdatesDeploymentAgent 9/1/2015 3:40:13 PM 25684 (0x6454) EnumerateUpdates for action (UpdateActionInstall) - Total actionable updates = 32 UpdatesDeploymentAgent 9/1/2015 3:40:16 PM 25684 (0x6454) EnumerateUpdates for action (UpdateActionInstall) - Total actionable updates = 32 UpdatesDeploymentAgent 9/1/2015 3:40:16 PM 25684 (0x6454) EnumerateUpdates for action (UpdateActionInstall) - Total actionable updates = 32 UpdatesDeploymentAgent 9/1/2015 3:44:07 PM 21368 (0x5378) EnumerateUpdates for action (UpdateActionInstall) - Total actionable updates = 32 UpdatesDeploymentAgent 9/1/2015 3:44:08 PM 21368 (0x5378) CUpdateAssignmentsManager received a SERVICEWINDOWEVENT START Event UpdatesDeploymentAgent 9/1/2015 3:45:00 PM 25504 (0x63A0) No current service window available to run updates assignment with time required = 1 UpdatesDeploymentAgent 9/1/2015 3:45:00 PM 25504 (0x63A0) No current service window available to run updates assignment with time required = 1 UpdatesDeploymentAgent 9/1/2015 3:45:00 PM 25504 (0x63A0)
ServiceWindowManager.log
OnIsServiceWindowAvailable called with: Runtime:600, Type:4 ServiceWindowManager 9/1/2015 3:39:40 PM 24196 (0x5E84) Biggest Active Service Window for Type=4 not found ServiceWindowManager 9/1/2015 3:39:40 PM 24196 (0x5E84) Program cannot Run! Setting *canProgramRun to FALSE ServiceWindowManager 9/1/2015 3:39:40 PM 24196 (0x5E84) WillProgramRun called with: Runtime:600, Type:4 ServiceWindowManager 9/1/2015 3:39:40 PM 24196 (0x5E84) A Service Window of this type exists. ServiceWindowManager 9/1/2015 3:39:40 PM 24196 (0x5E84) There exists a Service Window of this Type, for this duration. The Program will run eventually. ServiceWindowManager 9/1/2015 3:39:40 PM 24196 (0x5E84) ServiceWindowManager 9/1/2015 3:39:40 PM 24196 (0x5E84) ServiceWindowManager 9/1/2015 3:45:00 PM 25504 (0x63A0) A Timer Event has occurred ServiceWindowManager 9/1/2015 3:45:00 PM 25504 (0x63A0) Sending Message SERVICEWINDOWEVENT:START event ServiceWindowManager 9/1/2015 3:45:00 PM 25504 (0x63A0) The Service Window={115D36D4-C22D-4D22-8FFE-CFECB2778EDD} has started at 9/1/2015 3:45:00 PM ServiceWindowManager 9/1/2015 3:45:00 PM 25504 (0x63A0) Checking Service Windows to find Next Event..... ServiceWindowManager 9/1/2015 3:45:00 PM 25504 (0x63A0) Next Event Time is at 9/1/2015 10:00:00 PM. Service Window with ID:49fd80be-ac4b-4877-974d-ecd09958926d. Is the next event the beginning of the window? Yes ServiceWindowManager 9/1/2015 3:45:00 PM 25504 (0x63A0) Scheduling the Timer Task ServiceWindowManager 9/1/2015 3:45:00 PM 25504 (0x63A0) Scheduled the timer to fire on 9/1/2015 10:00:00 PM ServiceWindowManager 9/1/2015 3:45:00 PM 25504 (0x63A0) ServiceWindowManager 9/1/2015 3:45:00 PM 25504 (0x63A0) OnIsServiceWindowAvailable called with: Runtime:1, Type:4 ServiceWindowManager 9/1/2015 3:45:00 PM 25504 (0x63A0) Biggest Active Service Window for Type=4 not found ServiceWindowManager 9/1/2015 3:45:00 PM 25504 (0x63A0) Program cannot Run! Setting *canProgramRun to FALSE ServiceWindowManager 9/1/2015 3:45:00 PM 25504 (0x63A0) WillProgramRun called with: Runtime:1, Type:4 ServiceWindowManager 9/1/2015 3:45:00 PM 25504 (0x63A0) This is a One Shot Service Window. Returning true ServiceWindowManager 9/1/2015 3:45:00 PM 25504 (0x63A0) A Service Window of this type exists. ServiceWindowManager 9/1/2015 3:45:00 PM 25504 (0x63A0) There exists a Service Window of this Type, for this duration. The Program will run eventually. ServiceWindowManager 9/1/2015 3:45:00 PM 25504 (0x63A0) ServiceWindowManager 9/1/2015 3:45:00 PM 25504 (0x63A0) OnIsServiceWindowAvailable called with: Runtime:1, Type:6 ServiceWindowManager 9/1/2015 3:45:00 PM 25504 (0x63A0) Biggest Active Service Window for Type=6 not found ServiceWindowManager 9/1/2015 3:45:00 PM 25504 (0x63A0) Program cannot Run! Setting *canProgramRun to FALSE ServiceWindowManager 9/1/2015 3:45:00 PM 25504 (0x63A0) WillProgramRun called with: Runtime:1, Type:6 ServiceWindowManager 9/1/2015 3:45:00 PM 25504 (0x63A0) This is a One Shot Service Window. Returning true ServiceWindowManager 9/1/2015 3:45:00 PM 25504 (0x63A0) A Service Window of this type exists. ServiceWindowManager 9/1/2015 3:45:00 PM 25504 (0x63A0) There exists a Service Window of this Type, for this duration. The Program will run eventually. ServiceWindowManager 9/1/2015 3:45:00 PM 25504 (0x63A0) ServiceWindowManager 9/1/2015 3:45:00 PM 25504 (0x63A0) OnIsServiceWindowAvailable called with: Runtime:900, Type:2 ServiceWindowManager 9/1/2015 3:45:00 PM 25504 (0x63A0) No Service Windows exist for this type. Will check if the program can run in the All Programs window... ServiceWindowManager 9/1/2015 3:45:00 PM 25504 (0x63A0) Biggest Active Service Window has ID = {115D36D4-C22D-4D22-8FFE-CFECB2778EDD} having Starttime=9/1/2015 3:45:00 PM ServiceWindowManager 9/1/2015 3:45:00 PM 25504 (0x63A0) Duration is 0 days, 12 hours, 15 mins, 00 secs ServiceWindowManager 9/1/2015 3:45:00 PM 25504 (0x63A0) ActiveServiceWindow has 44100 seconds left ServiceWindowManager 9/1/2015 3:45:00 PM 25504 (0x63A0) Program can run! Setting *canProgramRun to TRUE ServiceWindowManager 9/1/2015 3:45:00 PM 25504 (0x63A0) OnIsServiceWindowAvailable called with: Runtime:900, Type:6 ServiceWindowManager 9/1/2015 3:45:00 PM 25504 (0x63A0) Biggest Active Service Window for Type=6 not found ServiceWindowManager 9/1/2015 3:45:00 PM 25504 (0x63A0) Program cannot Run! Setting *canProgramRun to FALSE ServiceWindowManager 9/1/2015 3:45:00 PM 25504 (0x63A0)
RebootCoordinator.log
Reboot Coordinator received a SERVICEWINDOWEVENT START Event RebootCoordinator 9/1/2015 3:45:00 PM 25504 (0x63A0)
Found these, but don't seem to provide additional clues.
http://henkhoogendoorn.blogspot.com/2011/04/maintenance-windows-in-configmgr-2012.html
http://www.systemcentercentral.com/forums-archive/topic/software-updates-not-deploying/
This one seemed interesting as I did have the available time set to a few days in the future initially (maintence window still after deadline though). But have since removed all deployments to the test collection and applied all of them with ASAP/ASAP.
To make it even more strange, I have a lab that deploys updates to maintenance windows using the same settings without any issues.
Any thoughts??
Thanks!