# Automation starter kits Source: https://wuinstall.com/docs/automation-starter-kits/ Updated: 2026-11-03 Download the [starter kit ZIP](https://wuinstall.com/automation/wuinstall-starter-kits-v1.zip) for scheduled tasks, RMM jobs and initial device provisioning. It includes a PowerShell wrapper, deployment recipes, a JSON parser, the report schema and illustrative reports. No licensed executable is included. **Validation status:** the wrapper was run on Windows Server 2019 with WuInstall 3.0.5 and 3.1.0; automated website tests cover command generation and report interpretation. Test with your executable version, Windows build, execution identity and update source before a production rollout. Before WuInstall runs, the wrapper checks what it can check without it: that the executable is a WuInstall signed by hs2n, its version (read from the file), and for WuInstall 3 that .NET Framework 4.6.2 or later is installed - an executable that cannot start cannot report a missing runtime itself. From WuInstall 3.1 on it also lets WuInstall check the command line with `/validate` before anything changes. ## 1. Search first Extract the kit to a protected directory. Run PowerShell elevated on a test machine, with the licensed executable already present. The wrapper uses the configured update source, filters for security updates, creates a unique report directory and does not request a reboot. ``` .\Invoke-WuInstall.ps1 -Executable 'C:\Tools\wuinstall.exe' ``` ## 2. Install only after review Review the search report and arrange a maintenance window. This explicit command changes the machine. The selection can change between search and installation. Windows policies may restart it independently; the wrapper does not suppress them. ``` .\Invoke-WuInstall.ps1 -Executable 'C:\Tools\wuinstall.exe' -Operation Install -Apply ``` ## 3. Choose a deployment recipe - **Scheduled task:** configure an elevated task on each target, using the account and schedule approved for your environment. Begin with Search; add Install and Apply only after the pilot. - **RMM:** deploy the wrapper and licensed executable through your existing platform and invoke it locally on each target. Preserve the native return code and collect the generated report directory. - **Provisioning:** start with Search in your task sequence. Enable installation explicitly, then let the task sequence handle restart approval and post-reboot checks. The ZIP contains copyable command lines for each recipe. No task is created automatically and no execution policy is bypassed. Do not invoke WUA installation directly inside a WinRM session: use a local scheduled task, PsExec as SYSTEM or your deployment agent. ## 4. Interpret results When a check fails before WuInstall starts, the wrapper ends with a code of its own, outside WuInstall's: 90 for the setup (not elevated, no executable, `-Apply` missing), 91 when .NET Framework 4.6.2 is missing, 92 when the signature check fails, and 7 when `/validate` rejects the command line. `-SkipSignatureCheck` is only for an executable you have verified yourself. The wrapper preserves WuInstall's default exit codes. Codes 2 and 3 mean no updates or no matches; 10 requires a restart, and 11 reports errors plus a required restart. Do not configure your RMM to treat every nonzero code as failure or every reboot code as success. Alternate error modes are not enabled by the kit. ``` python read-report.py sample-report.json ``` The parser reads JSON from WuInstall 3.0.4 and 3.1 (schema_version 2). The sample deliberately contains an error and a pending restart; it must not be reported as an entirely successful installation. Consult [all return codes](https://wuinstall.com/docs/return-codes/) and verify application health separately. ## Build and adapt Use the [interactive command builder](https://wuinstall.com/docs/automation-lab/) for source, classification and restart choices. See [version compatibility](https://wuinstall.com/docs/version-compatibility/) before migrating.