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
Implementation
-
Download the component Repair Windows Update from the attachments.
-
After downloading the attached file, click on the
Importbutton -
Select the component just downloaded and add it to the Datto RMM interface.

Sample Run
To execute the Repair Windows Update over a specific machine, follow these steps:
-
Select the machine you want to run the
Repair Windows Updateon from the Datto RMM. -
Click on the
Quick Jobbutton.

-
Search the component
Repair Windows Updateand click onSelect

-
Select the desired action to perform and click Run

Datto Variables
| Variable Name | Type | Default | Description |
|---|---|---|---|
| SfcScan | Boolean | False | Performs a System File Check (sfc /scannow) |
| DISMRepair | Boolean | False | Performs a DISM repair (dism /Online /Cleanup-Image /RestoreHealth) |
Output
- stdOut
- stdError
Attachments
Changelog
2026-06-22
- Initial version of the document