Zoomed Image

Install Updates and Patching Schedule

Endpoint Management Guide

Fix a Computer

Install Updates and Patching Schedule

Install Updates installs missing Windows updates on the selected computers now. Patching Schedule sets a weekly time when each computer installs its updates by itself. Both use the Windows Update Agent on the computer, against the update source the computer already uses (Windows Update or WSUS).

To install updates one ring at a time (Pilot, then Wave 1, then All), use Software > Software Dashboard > Updates > Rings. The same Install Updates and Patching Schedule are in Update Actions above Computers in Each Ring on that tab. See Updates by ring.

To see what is missing without installing anything, use Show > Check for Updates Now. A Windows computer asks Windows Update and a Mac asks Software Update. Each answer appears in Activity > Jobs. For a Mac, use Change > Updates and Antivirus > Install Mac Updates. See Managing Macs.

Install Updates

Endpoints > Endpoint List > select one or more computers > Change > Updates and Antivirus > Install Updates.

There is no dialog. A confirmation asks "Install missing Windows updates now on 1 computer (DEVDC)?". Below the question it says "The computers will not be restarted." Click Yes to send it.

On each computer, the agent:

  1. Searches for updates that are not installed and not hidden.
  2. Accepts each update's license terms.
  3. Downloads and installs them.
  4. Reports the outcome. It never restarts the computer.

The result reads like this:

missing: 6, selected: 6, installed: 5, failed: 1, resultcode: 3, rebootrequired: 1, scope: all, rebooted: 0

Value Meaning
missing Updates found that are not installed
selected Updates chosen for this run
installed and failed The outcome for each selected update
rebootrequired 1 when the computer needs a restart to finish
rebooted Always 0 for Install Updates

A computer that needs a restart stays at rebootrequired: 1 until someone restarts it. Use Change > Power and User > Restart for that. See Restart and Shut Down.

How long it takes: the install can run for up to 1 hour on each computer. If it has not finished by then, the result reads installed: unknown with the reason. The agent runs one action at a time, so other actions for that computer wait until the install ends.

Undo: none. This run cannot remove the updates it installed. To remove one update, use Uninstall Update.

Patching Schedule

Endpoints > Endpoint List > select one or more computers > Change > Updates and Antivirus > Patching Schedule.

The dialog title is Patching Schedule.

Field What it does Default
Computers The computers that get the schedule The selected computers
Day The day of the week the updates install Saturday
Time The start time on the computer's own clock, 24-hour 00:45
Install All updates, or Antivirus definitions only. Definitions never need a restart. All updates
Restart Never restart; Ask the user first; or Restart when needed, which restarts without asking Never restart

Every computer already has an automatic patching schedule, from the Patching settings on Endpoints > Endpoints Dashboard > Setup > Settings. A schedule set here replaces it on the chosen computers until the automatic policy itself is changed. See Endpoint Settings.

Patching Schedule dialog with DEVDC and the defaults Saturday, 00:45, All updates and Never restart

The action sends a weekly schedule to the agent. The agent keeps it and runs it at the set time every week, whether or not the collection server is reachable. Each run searches, downloads and installs as Install Updates does. A restart happens only when an update needs one, or when Windows was already waiting for a restart. The result then says rebootpending: 1 and why:

  • Ask the user first: when someone is signed in, the computer asks "Restart now?". No puts it off, up to 3 times, and it asks again later. At the deadline, 8 hours after the install, it restarts with a 10-minute warning. When nobody is signed in, it restarts at once.
  • Restart when needed: the computer shows "This computer will restart to finish installing updates" and restarts. The run reports the Rebooting phase. It restarts only within 4 hours of the set time, so a long install never restarts a server during the working day. After that, the restart waits and shows in Routine Checks.

The deadline, the number of times a user can put it off and the 4 hours are on Endpoints > Endpoints Dashboard > Setup > Settings, under Patching.

The restart question

The question is a Windows message box titled Restart to finish updates, shown on the signed-in user's desktop. No is the default button. With 2 deferrals left and an 8-hour deadline it reads: "Updates have been installed and this computer needs to restart. Restart now? Choose No to be asked again later (2 more times). It will restart by itself at Tue 17:45."

Answer Effect
Yes The computer restarts in 60 seconds
No One deferral is used. The question comes back after an even share of the time left
No answer The question stays until the deadline
The last No No more questions. The computer restarts at the deadline

At the deadline the computer restarts with a 10-minute warning. A restart before then, by the user or by Windows, ends the questions. The agent log has one line for each question and each answer.

The agent keeps the deadline in a file on the computer. If that file is damaged, the agent logs a warning and drops the deadline. It then asks again every hour, with "Choose No to be asked again later", and restarts only when someone clicks Yes. If no restart is pending any more, it stops asking.

Setting Default
Workstations: hours a signed-in user may put off the restart (DMPCPatchWorkstationRestartDeadlineHours) 8
Workstations: times a signed-in user may put off the restart (DMPCPatchWorkstationRestartDeferrals) 3

Each weekly run sends its result to the server as a Patch health reading. A schedule that ran and one that never ran look different. See Health issues.

One schedule per computer. Sending a new Patching Schedule replaces the one the computer had. To change the day or time, send a new one. Set By on Updates > Rings > Computers in Each Ring shows Set by hand for these computers.

Windows for a group or a server role

A patch window rule gives a group of computers its own day, time, restart choice or ring days. Use Software > Software Dashboard > Updates > Rings > Add Window Rule.

Field What it does
RuleName A name for the rule
AppliesTo list, role, category, department or location
MatchValue Computer names separated by commas, a server role such as DNS Server, or the name of the category, department or location
Priority Within one kind of rule, the lowest number wins. Default 100.
Day, Time The weekly day and time. Blank keeps the computer's own.
Restart noreboot, prompt or reboot. Blank keeps the computer's own.
RingDays Days after the day for Pilot, Wave 1 and All, such as 0,1,2. Blank keeps the computer's own.
UpdateSource A WSUS server address over https, with host and port only, such as https://wsus01.corp.local:8531, or microsoft for Windows Update. Blank leaves each computer's source as it is.
ThirdPartyDays The days a third-party app update may stay on offer on these computers before its check turns red. Blank keeps the setting, 14. See Third-Party Updates.

When more than one rule matches a computer, the first kind in this list decides: computer names, server role, category, department, location. A computer that no rule matches keeps the Workstations or Servers window from the settings. Hyper-V guests of a host that restarts with its guests always keep the guest window.

A rule's UpdateSource points its computers at your WSUS server, so they patch with no internet access. It is sent once to each computer, and each send needs an approval, because the computers install whatever that server offers. Update Source on Computers in Each Ring shows the source each computer reports. If a domain Group Policy also sets the Windows Update server, the Group Policy setting replaces this one at its next refresh.

Patch Window Rules on the same tab lists the rules and how many computers each one sets now. Set By on Computers in Each Ring shows where each computer's window comes from. The hourly patch check sends the new windows to the computers. To take a rule away, use Remove Window Rule and type its name.

Undo: none from the run. Send a new schedule to change it.

After you click Yes

Both actions are queued and ask "Do you want to follow it now?". Yes opens Endpoints > Endpoints Dashboard > Activity. For Patching Schedule, a Succeeded row means the agent received the schedule. The updates install later, at the set time. See Following a run.

Key points

  • Both actions need the agent.
  • Install Updates never restarts a computer. Patching Schedule restarts it only when an update needs it and Restart is Ask the user first or Restart when needed.
  • The schedule uses the computer's local time. Computers in different time zones patch at different moments.
  • Updates come from the source the computer is configured for. A computer pointed at WSUS installs only what WSUS has approved.