salt.modules.win_wua.list with install=True does not install windows updates
search cancel

salt.modules.win_wua.list with install=True does not install windows updates

book

Article ID: 370746

calendar_today

Updated On:

Products

VMware Aria Suite

Issue/Introduction

When running salt '*' win_wua.list install=True no updates are installed but the Windows OS still shows pending updates

Environment

SaltProject:  3006.x

Aria Config: All versions (see above)

Cause

The Salt module calls out to the Windows Update Agent to do the actual updates. Sometimes the agent can get stuck leaving updates in a "pending" status. 

Resolution

Use cmd.run to execute  "USOClient StartInteractiveScan" on the Windows machine, which will install the updates