Skip to main content

Repair Windows Update

Overview

This script attempts to repair and reset Windows update settings using the ProVal script: Repair-WindowsUpdate
The goal of this script is to fix potential patching issues for Windows devices.

Dependencies

Repair-WindowsUpdate

Implementation

  1. Download the component Repair Windows Update from the attachments.

  2. After downloading the attached file, click on the Import button

  3. Select the component just downloaded and add it to the Datto RMM interface.
    Image 1

Sample Run

To execute the Repair Windows Update over a specific machine, follow these steps:

  1. Select the machine you want to run the Repair Windows Update on from the Datto RMM.

  2. Click on the Quick Job button.
    Image 2

  3. Search the component Repair Windows Update and click on Select
    Image 3

  4. Select the desired action to perform and click Run
    Image 1

Datto Variables

Variable NameTypeDefaultDescription
SfcScanBooleanFalsePerforms a System File Check (sfc /scannow)
DISMRepairBooleanFalsePerforms a DISM repair (dism /Online /Cleanup-Image /RestoreHealth)

Output

  • stdOut
  • stdError

Attachments

Repair Windows Update

Changelog

2026-06-22

  • Initial version of the document