- Documentation
- Getting Started
What's new in WuInstall 3.0
New features, system requirements and upgrade notes
WuInstall 3.0 is a rewrite on .NET Framework. It retains much of the familiar CLI, default exit codes and XML structure, but migration requires review: the legacy remote option is unsupported and some switches behave differently. Read the upgrade notes below and test your existing scripts.
⚠️ Beta – test before you roll out: WuInstall 3 is a complete rewrite and still in beta; WuInstall 2.9.8 remains the stable version. Before you use it broadly, run it on a few test machines with your own command lines,
/optionsfiles and custom actions, and read the Upgrade notes below — some switches now do what 2.9.x only claimed to do, and a command line that did nothing with 2.9.x can now act.
WuInstall 3.1.0 — Insight Edition (3 November 2026)
- Check before you run:
/validatechecks a command line — or the/optionsfile it names — the way a run reads it, without running anything: every error a run would stop at, switches that behave differently from 2.9.x, report folders that do not exist, pattern files that cannot be read, abbreviated switch names and credentials the log would show. It returns0when a run would accept the command line and7when not;/validate jsonprints the result as JSON./capabilitiesprints every switch of the installed version as JSON, for scripts, RMM recipes and AI assistants. See Other Options. - JSON report, schema_version 2: every field of the 3.0 report stays as it was. New are when the report was written and when the search ran, how many updates were found and selected, per update its revision, the HRESULTs of download and installation and whether it needs a restart, the updates the filters left out and which switch did it (
excluded_updates), what the run cleaned up first, why it ended (stage) and whether a restart follows. Schema: report-3.1.schema.json. - Reports: a run that stops before it starts — a syntax error, an expired license,
/service,/remote— writes its JSON report too, with the code and the reason. Reports are written to a temporary file first and then moved into place, so a reader never sees half a report. When the restart cannot be started after the reports were written, both reports are written again with the final code. - Updates the search returns twice (the same update ID with two deployments, seen on Windows Server 2025) are downloaded and installed once. Windows refuses an installation that holds an update twice (
WU_E_DUPLICATE_ITEM,0x80240013) and then installs none of the selected updates; WuInstall 2.9.x and 3.0 handed both copies over. The log names the copy that is left out.
WuInstall 3.0.5 — Guardian Edition (3 November 2026)
/rebootcycle: the scheduled task no longer contains user names or passwords (/proxyuser,/proxypass,/smtpUser,/smtpPassword), also not those from an/optionsfile. They are kept encrypted in a registry key that only SYSTEM and administrators can read, and are deleted together with the task./jsonout: a JSON report that cannot be written makes the run an error (exit code1, or11with a pending reboot), as with/xmlout. Before, the run ended as if the report had been written.
WuInstall 3.0.4 — Steadfast Edition (24 October 2026)
/matchand/nomatch: a pattern that is not a valid regular expression is a syntax error (exit code7) before anything is searched. Before, it matched nothing — a typo in a/nomatchswitched the exclusion off. A broken line in a/matchfileor/nomatchfileselects no update.- Repeated switches (
/nomatch A /nomatch B) are a syntax error (exit code7) again, as in WuInstall 2.9.x; 3.0.0 to 3.0.3 used only the last one. - WSUS and proxy settings changed for the run are restored even when the run is killed (for example by an RMM timeout): the next WuInstall run restores them first.
/use_wsusand/targetgroupno longer leave values behind that did not exist before. /optionsfiles saved as ANSI keep their umlauts, and only one pair of quotes around the whole value is removed.- Shared cache: new entries are put in place only when they are complete; a failed download no longer deletes an existing entry.
- XML report:
<ServerSelection>in the update history and<download_priority>4 are written as in WuInstall 2.9.x again.
WuInstall 3.0.3 — Clarity Edition (22 October 2026)
- Built-in help:
/install_cacheand/download_cachenow say that the shared cache takes classic update packages only; the monthly cumulative updates of current Windows versions are downloaded by every machine. /remote: the message no longer suggests PowerShell remoting (WinRM). In a remote session Windows refuses downloads and installations through the Windows Update API (0x80070005); use PsExec-s, a scheduled task that runs as SYSTEM or your RMM tool.- Custom proxy (
/proxyaddress,/proxyuser,/proxypass,/proxyauto): the settings are handed back to the Windows Update session, as in WuInstall 2.9.x.
WuInstall 3.0.2 (22 October 2026)
/rebootcycle: the task for the next run is enabled only right before the restart starts. A run that is stopped before that (for example by an RMM timeout while the report or the email is written) no longer leaves a task that starts WuInstall at the next boot.- Services: services that depend on Windows Update, BITS or the Update Orchestrator are started again after WuInstall stopped them; 3.0.0 and 3.0.1 left them stopped until the next restart.
/disable_internet_proxyrestores the proxy settings exactly as they were, including "Automatically detect settings" and the setup script (PAC).- Custom actions start
cmd.exefrom the Windows system folder by its full path. - Shared cache: a
/tempdirpointing at the cache directory no longer deletes the cache entries, and a download file name with a path in it is never written outside the cache folder. - Built-in help: warnings on
/use_mu_on_errorand/use_wu_on_error, and a note on abbreviated switch names.
WuInstall 3.0.1 (21 October 2026)
- No email without
/smtpTo: without/smtpTo, WuInstall no longer sends the notification email and logsNo /smtpTo specified - the notification email is not sent.WuInstall 2.9.x and 3.0.0 sent it todiagnose@wuinstall.com, with the log file and the XML report attached. /optionsfiles: the value of a switch is the rest of the line and may contain any character (email addresses, regular expressions with|, criteria with', paths with$DATETIME$); several switches may share a line. Before, such values were dropped and the switch took the next line's switch as its value./smtpServercheck: a value WuInstall cannot use is reported at the start of the run instead of switching email off silently; a trailing slash (smtp://mail.example.com/) is accepted.- Error text:
0x80240044(only administrators can perform this operation) is shown with its text again. - Built-in help: typos fixed, and the return codes
5,15and16are described correctly.
Requirements
WuInstall 3 requires the .NET Framework 4.6.2 or later. It is already included in Windows 10 (version 1607 and later), Windows 11 and Windows Server 2016, 2019, 2022 and 2025. On Windows 7 SP1, Windows 8.1 and Windows Server 2008 R2 SP1, 2012 and 2012 R2, install .NET Framework 4.8 first; on Windows 10 1507/1511, install .NET Framework 4.6.2 first. Windows XP, Vista, Windows 8 and Windows Server 2003 are not supported, and Windows Server 2008 SP2 has not been tested — keep WuInstall 2.9.x there. One WUInstall.exe runs on 32-bit and 64-bit Windows; the ZIP also contains it as WUInstallAMD64.exe, so scripts that call that name keep working.
👉 Details: Which Windows versions does WuInstall support?
What's new
- Encrypted notification emails: plain
smtp://connections switch to TLS with STARTTLS whenever the mail server offers it. The new/smtpRequireValidCertrefuses to send if the certificate does not validate or the TLS handshake fails. - More reliable email: mail server names with a hyphen (
mail.my-company.com) or without a dot (exchange01) now work — WuInstall 2.9.x cut hyphenated names short (mail.my-company.combecamemail.my) and silently disabled email for names without a dot. A recipient the server rejects is logged with the server's reply; the mail still goes to the others. - The result in the subject: new
/smtpSubjecttokens$returncode$,$returntext$,$RCC$(reboot cycles still to come),$DATETIME$and$computername$— e.g./smtpSubject "$hostname$ [$RCC$ left] RC=$returncode$: $returntext$"givesSRV01 [0 left] RC=10: successful, reboot required. - Mail before reboot: the reboot or shutdown starts only after the result, the reports and the notification email are out, so no mail is lost on a slow mail server.
- One mail per reboot cycle:
/smtpSendOnLastRebootCycleOnlynow reliably sends the mail of the final run. - JSON report:
/jsonout "<path>"writes a JSON report, in addition to or instead of/xmlout. - Better masking:
/masksensitivedatanow masks every spelling of a switch, values with spaces and switches read from an/optionsfile. - Safer
/optionsdownloads: an options file loaded from a URL is read from memory and never stored in the temp directory. - Robust reports and logs: the XML report is always well-formed, and a log file that stops accepting writes (disk full, share unreachable) no longer affects the run.
- Switches that never worked in 2.9.x:
/proxy_user,/proxy_pass,/proxy_address,/proxy_auto,/noproductand/release_datenow work; the 2.9.x spellings (/proxyuser,/notproduct,/releasedate, ...) keep working.
Upgrade notes — please review your scripts
/remoteis no longer built in. It prints a message and exits with code1. Start WuInstall on remote machines with PsExec-s, a scheduled task that runs as SYSTEM or your RMM tool — PowerShell remoting (WinRM) works for/searchonly, because Windows refuses downloads and installations in a remote session (0x80070005) — see How do I call WuInstall on a remote machine using PsExec?/donothingreturns the code you ask for:/donothing 9returns 9 and a plain/donothingreturns 0. WuInstall 2.9.x returned 2 in most cases.- Ambiguous abbreviations are a syntax error:
/s,/seand/onow return exit code7— WuInstall 2.9.x picked/service(exit code20) or/optionsinstead. Write switch names out, e.g./searchor/options. - Abbreviations of switches with two spellings now run: like 2.9.x, WuInstall 3 accepts any unambiguous abbreviation of a switch name. WuInstall 2.9.x rejected
/clearand/bypasswith exit code7and did nothing, because/clear_localcacheand/bypass_wsusalso have a spelling without underscore; WuInstall 3 runs/clear_localcacheand/bypass_wsus. Check scripts that use short names. - STARTTLS on
smtp://: if your mail server offers STARTTLS, the mail is now encrypted. A server that offers STARTTLS but cannot complete it still gets the mail unencrypted, unless/smtpRequireValidCertis set. /use_mu_on_errorand/use_wu_on_errornow really search Microsoft Update or Windows Update after a failed WSUS search or installation (in 2.9.x the retry stayed on the WSUS and never reached Microsoft Update or Windows Update). With/installthe run installs what it finds there and restarts as the reboot options say; the exit code still reports the first failure (1, or11with a reboot pending). Caution: the fallback installs updates that were never approved in your WSUS — after a failed WSUS search everything your search criteria find, which on current Windows 10 and 11 includes optional installations such as feature updates — and/use_mu_on_errorleaves the Microsoft Update service registered. See WSUS Options./offlinescanwith a missing or unusable.cabfile now ends with an error (exit code1). WuInstall 2.9.x stopped without searching and returned2(no more updates available) without an error, so the machine looked up to date.- Shared cache:
/install_cacheand/download_cachetake only classic update packages. UUP/Delivery Optimization content, express-only and very large updates — in practice the cumulative updates of current Windows versions from Windows Update — are downloaded on every machine directly; see Download Updates. - Started without arguments from a scheduled task, a service or an RMM agent, WuInstall prints the usage and returns
7instead of opening the About dialog on an invisible desktop. /silentnow suppresses the console output (the log file is still written;/third_party_progresslines and the/inforeport still appear). In WuInstall 2.9.x it had no effect, so check scripts that pass/silentand read the console output.- Log wording: the console and log output is worded differently from 2.9.x, e.g.
Searching for updates (criteria: ...) ...and one line per update. Scripts should evaluate the exit code or the/xmloutor/jsonoutreport, not the log text. /uninstallreports failures: a failed uninstallation returns1(11with a reboot pending); WuInstall 2.9.x returned0(10)./third_party_progress: noWUAPI-Versionline, no per-updatecurrent install progressandfinished installlines, andstarting installcomes without the update ID.- Email needs
/smtpTofrom 3.0.1 on, see above. /optionsfiles: from 3.0.1 on, switches that 2.9.x dropped without a word take effect — for example a/rebootbetween other switches on the same line, or a value with@,|,',$,&or%. Review your options files./uninstallwith/rebootcyclereboots when the uninstallation requires it; WuInstall 2.9.x rebooted after/uninstallonly with/reboot.- Custom actions (
/customActionBefore,/customActionAfter) run in the 64-bitcmd.exeon 64-bit Windows. With the 32-bitWUInstall.exeof 2.9.x they ran in the 32-bitcmd.exe, withSystem32andHKLM\SOFTWAREredirected. /rebootcycle: the scheduled task also starts on battery power, and from 3.0.5 on it holds no passwords (3.0.0 to 3.0.4 kept them in clear text, also with/masksensitivedata) — see Reboot / Shutdown Options.
Download
Download WuInstall 3 from the customer portal at portal.wuinstall.com. WuInstall 2.9.x stays available there as the stable version.