WuInstall is part of the XEOX family. XEOX manages patches, software and remote access for Windows, macOS and Linux in one web console. Discover XEOX

  1. Documentation
  2. FAQ

How do I call WuInstall on a remote machine using PsExec?

Use the following command:

psexec \\server -c -s -u domain\administrator -p password \\share\path_to_wuinstall\WUInstall.exe /search

Parameter Description
\\server The remote Windows machine
\\share\path_to_wuinstall\ Path to WuInstall executable
-u domain\administrator Local admin or domain admin user on the remote machine
-p password Password of the user
-c Copies WuInstall to the remote system
-s Runs WuInstall in the SYSTEM account on the remote machine

WuInstall 3 does not support the /remote option of WuInstall 2.9.x (it exits with code 1), so PsExec, a scheduled task that runs as SYSTEM or your RMM tool is the way to start it on a remote machine.

⚠️ PowerShell remoting (WinRM: Invoke-Command, Enter-PSSession) is suitable for /search only. In a remote session, Windows refuses downloads and installations through the Windows Update API with error 0x80070005 (access denied) — a Windows restriction, so it applies to both versions. From a WinRM session, register a scheduled task that runs WuInstall as SYSTEM and start that task instead.

Read as Markdown

Updated