Skip to main content

Lenovo LSUClient Module - Install + Command Handler [DV,Param,Autofix]

Summary

The LSUClient module is used by this script to manage and carry out updates on Lenovo Workstations. If the module isn't already installed, it will be automatically installed. This script provides the feature to perform a Lenovo System Update scanning audit to list available updates if no arguments are passed, or it can execute specific update actions (such as installing drivers, software, or firmware) if parameters are passed.

Supported OS: Windows 10, Windows 11

Note:

  1. The systems must be compatible Lenovo hardware. The script will automatically validate the manufacturer and OS compatibility before proceeding.
  2. ProVal does not recommend performing BIOS updates remotely. ProVal is not responsible for any failed devices due to remote BIOS updates. BIOS updates are performed at the MSP's risk. Critical BIOS/firmware updates may initiate low-level hardware restarts that bypass OS-level controls and trigger immediate reboots regardless of the NoReboot parameter.

Dependencies

Sample Run

Run the script with the SetEnvironment parameter set to 1 after import to get the required EDFs imported for the HP Image Assistant scanning and exclusions. It will also create the custom table pvl_lsuclient_audit.
Image1

Example 1:

Running the script without passing arguments to perform a default scan and return the available updates.
Type: <Blank>
Id: <Blank>
Image2

Example 2:

Running the script to silently install all available updates that support unattended installation.
Type: All
NoReboot: 1
Image3

Example 3:

Running the script to silently install only BIOS and driver updates while suppressing automatic reboots.
Type: BIOS,Driver
NoReboot: 1
Image4

Example 4:

Running the script to install specific updates by their IDs.
Id: n3ch101w_bisbnk919kse,pcieeth06w_w11
Image5

User Parameters

NameExampleRequiredDescription
SetEnvironment1First Run OnlyIf set to 1, it will import the required EDFs for the HP Image Assistant scanning and exclusions, and it will also create the custom table pvl_lsuclient_audit.
Type
  • <Blank>
  • All
  • Application
  • BIOS
  • Driver
  • Firmware
FalseSpecifies the update type to install. Accepts a single string or comma-separated list. Updates must support unattended installation and be applicable to the system. Use 'All' for every available update.
Idn3ch101w_bisbnk919kseFalseSpecifies the ID(s) of specific update(s) to install. Accepts a single string or comma-separated list.
NoReboot
  • 0
  • 1
FalsePass 1 to suppress automatic reboots after installation.

Global Variables

NameExampleRequiredDescription
Debug
  • False
  • True
FalseWhen True, enables informational logging; when False (default), informational logs are suppressed to avoid adding entries to the h_scripts table. Set to True to assist with troubleshooting.

EDFs

NameTypeLevelSectionRequiredEditableDescription
Lenovo System Update AuditCheckboxClientLenovoTrueYesThis EDF is required to be selected for the automated deployment of the Lenovo System Update scanning on Windows machines.
Exclude Lenovo System Update ScanCheckboxLocationExclusionsFalseYesIf this EDF is checked, the agents of the location will be excluded from the Lenovo System Update scanning.
Exclude Lenovo System Update ScanCheckboxComputerExclusionsFalseYesIf this EDF is checked, the agent will be excluded from the Lenovo System Update scanning.

Output

Changelog

2026-04-30

  • Initial version of the document.