Forum posts for wuauclt.exe

VBscript to run a bat file with elevated privileges

Here is my bat file

REG DELETE 'HKLMSoftwareMicrosoftWindowsCurrentVersionWindowsUpdate' /v SusClientId /f
REG DELETE 'HKLMSoftwareMicrosoftWindowsCurrentVersionWindowsUpdate' /v SusClientIdValidation /f
C:WindowsSystem32wuauclt.exe /resetauthorization /detectnow
C:WindowsSystem32wuauclt.exe /reportnow


The bat file doesn't work unless it's run inside an 'Administrator Command Prompt'

My question is how can I use a VBScript wrapper to run the bat file as an Admin?

I was trying to run this bat file with SCCM but it didn't work. We used a support incident ticket with Microsoft to find out that we need a VBScript wrapper to launch the bat file as an Admin.

View complete forum thread with replies

Other posts related to wuauclt.exe

See Related Forum Messages: Follow the Links Below to View Complete Thread

Windows Update Check with vbscript
VBscript to run a bat file with elevated privileges

What is the carbon footprint of your coffee?

Is it low? Is it high? Can this things really kill the planet Earth? Maybe the answer will surprise you. Maybe not.