Thursday, February 19, 2026

Commands to check for updates - Windows

Power shell command to check for new updates

(New-Object -ComObject Microsoft.Update.AutoUpdate).DetectNow()

Commands to install the udpates

*Use the following lines on Windows 10 clients

USOClient.exe StartInstallWait

USOClient.exe StartInstall

*Use the following line if the client is earlier than Windows 10

wuauclt /detectnow /updatenow

 

Do a reboot after the updates are done

No comments:

Post a Comment

Introduction

Introduction

I've worked in IT for many years at this point. I thought I would share some of the things I had learned. When I went to review my note...