/build/static/layout/Breadcrumb_cap_w.png

Scripting Question


WUAUCLT & Retrieve WindowsUpdate.Log

02/24/2017 1374 views
Hi,

Is there any way to run "wuauclt /resetauthorization /detectnow" with the Kace Scripting? Or any better way to force Windows Device to check run the Windows Update? Btw I am doing the Windows Update via WSUS not Kace.
and
Is there any way to retrieve a log from the client to kace?

Thank you in advance!!

I tried a few ways but not working..

NOT WORKING 01

Run it via a Batch file with 1 single command >> wuauclt /resetauthorization /detectnow
Running as SYSTEM
C:\ProgramData\Dell\KACE\kbots_cache\packages\kbots\73>wuauclt /resetauthorization /detectnow
'wuauclt' is not recognized as an internal or external command,
operable program or batch file.
Creating process returned non-zero: C:\ProgramData\Dell\KACE\kbots_cache\packages\kbots\73\kace9874.bat : (0) The operation completed successfully.
Error Code: 0
Status Code: 1

NOT WORKING 02

K4RsXX.png

Running as SYSTEM
'esetauthorization' is not recognized as an internal or external command,
operable program or batch file.
0 Comments   [ + ] Show comments

Comments


All Answers

0
try "wuauclt.exe /detectnow /updatenow" without /resetauthorization
Answered 02/28/2017 by: JasonEgg
Red Belt

  • or perhaps the "Windows Update Service" (wuauserv) needs to be started or restarted before you invoke wuauclt?
  • If all else fails, this is how to do it via PowerShell:
    (New-Object -ComObject Microsoft.Update.AutoUpdate).DetectNow()

Don't be a Stranger!

Sign up today to participate, stay informed, earn points and establish a reputation for yourself!

Sign up! or login

View more:

Share

 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ