PSWindowsUpdate icon indicating copy to clipboard operation
PSWindowsUpdate copied to clipboard

Can I use the powershell command to make it show that the updates have just been checked (current date and time) after entering the Windows Update settings?

Open RemixPL1994 opened this issue 1 year ago • 4 comments

@mgajda83

Can I use the powershell command to make it show that the updates have just been checked (current date and time) after entering the Windows Update settings?

350719093-84e62eb2-02b5-4e48-8f70-8204d4effd74

Currently it looks like I can search for and download updates but the message is still from an old time.

RemixPL1994 avatar Sep 08 '24 09:09 RemixPL1994

Try command USOclient StartInteractiveScan . This is equivalent of pressing the button Check for updates.

USOclient StartScan also checked the updates but when I rerun the command MoUsoCoreWorker.exe was activated for a short period but "the button was not pressed". Maybe you have to wait before running that command again.

Task Scheduler \Microsoft\Windows\UpdateOrchestrator shows that Windows will periodically run USOclient with paramters StartScan.

Orava2 avatar Jan 17 '25 13:01 Orava2

USOclient StartInteractiveScan

Thank you very much and I appreciate it, this is exactly what I wanted and was looking for. I am grateful.

Best regards :)

RemixPL1994 avatar Jan 18 '25 17:01 RemixPL1994

Glad to head :)

I tested the command USOclient StartScan on Windows 10 22H2. I ran this command every minute and it retriggered the scan after 12 hours.

Orava2 avatar Jan 19 '25 18:01 Orava2

@Orava2

I wonder if there is a similar method/command for Windows 7?

RemixPL1994 avatar Jan 26 '25 20:01 RemixPL1994