Jump to content

Windows Update (wuapp) switches - Are there any?


straytoasters

Recommended Posts

The topic pretty much say it all. This is geared toward Win7, but would equally correspond to Vista I suppose. So far I cannot find any switches for wuapp. I have tried some of the previous switches like "wuapp /detectnow" and even ran a few suggested rundll32 cmds, but so far the only thing I can get Windows Update to do via command line is to bring up the GUI, then I still have to click "check for updates" for it to actually do anything. I guess what I am wanting to know is what process run that makes Windows Update run automatic updates (which can download and install critical updates), or what switch/process is called when you click the "check for updates" in the wuapp panel? I have not seen a Windows Update/wuapp reference in the scheduled tasks.

Basically I am wanting to set up an AT command that will run Windows Update, but I dont want to set Windows Update to run automatically on its own every night. Thoughts/Suggestions?

Straytoasters

Link to comment
Share on other sites


To find cmd line switches inside exe/dll files I use grep.exe with string.exe and a bat file like so:

@echo off
setlocal enableextensions
for %%a in (a b c d e f g h i j k l m n o p q r s t u v w x y z A B C D E F G H I J K L M N O P Q R S T U V W X Y Z 1 2 3 4 5 6 7 8 9 0 - / \) do strings.exe %1 | grep.exe -i %%a>>%1.txt

These are some of the results

Copyright (C) 1999-2009 Mark Russinovich
Sysinternals - www.sysinternals.com
!This program cannot be run in DOS mode.
`.data
startmenu
WinSqmEventEnabled
WuSqm %ls session datapoint (id:%d) is incremented with dword %d.
Private
Global
WUApp.exe wWinMain() returning hr=%#lx
wuapp.exe: CreateProcess() failed, hr=%#lx
wuapp.exe
TraceTestThreads
TraceTestMain
Trace
ARP
Handler
Parser
COMAPI
DtaStor
WUApp
AUClnt
Agent
<unavailable>
False
GlobalFlags
Flags
Global\WindowsUpdateTracingMutex
WindowsUpdate.log
SOFTWARE\Microsoft\Windows\CurrentVersion\WindowsUpdate\Trace
HeapSetInformation
Successfully set WOW64 file system redirection state to Disabled
Wow64DisableWow64FsRedirection
Successfully reverted WOW64 file system redirection state.
Failed to open
Microsoft.WindowsUpdate
SOFTWARE\Microsoft\Windows\CurrentVersion\WindowsUpdate\Auto Update\RebootRequired
SOFTWARE\Microsoft\Windows\CurrentVersion\WindowsUpdate\Auto Update\RebootRequired\Mandatory
SOFTWARE\Microsoft\Windows\CurrentVersion\WindowsUpdate\Auto Update\PostRebootReporting
SOFTWARE\Microsoft\Windows\CurrentVersion\WindowsUpdate\Services\Pending\
RegisterWithAU
ClientApplicationID
Software\Microsoft\Windows\CurrentVersion\WindowsUpdate\VolatileData
WUAppNotificationWindows
JustSelfUpdatedManaged
JustSelfUpdatedUnmanaged
WUAppAutoScan
InteractiveResults
WUAppShowInstallResults
WUAppShowFeaturedUpdatesChosenUpdate
WUAppSqmSessionGuid
wuapp.pdb
ha2@
AAJu
AAf9
AAf
A9M
AACCN
InterlockedCompareExchange
GetProcAddress
FreeLibrary
LoadLibraryW
CloseHandle
CreateProcessW
GetCommandLineW
SetSecurityDescriptorDacl
InitializeSecurityDescriptor
AddAccessAllowedAce
InitializeAcl
GetUserNameW
RegQueryValueExW
IsValidSid
DuplicateTokenEx
GetTokenInformation
AllocateAndInitializeSid
ADVAPI32.dll
InterlockedExchange
GetStartupInfoW
SetUnhandledExceptionFilter
GetModuleHandleA
QueryPerformanceCounter
GetCurrentThreadId
GetSystemTimeAsFileTime
TerminateProcess
UnhandledExceptionFilter
CreateMutexW
WaitForSingleObject
ReleaseMutex
CompareStringW
UnmapViewOfFile
MapViewOfFile
CreateFileMappingW
SetLastError
GetLastError
GetModuleFileNameW
GetModuleHandleW
WideCharToMultiByte
VerSetConditionMask
HeapAlloc
GetProcessHeap
HeapFree
ExpandEnvironmentStringsW
GetFileAttributesW
CreateDirectoryW
CreateFileW
GetTimeZoneInformation
SystemTimeToTzSpecificLocalTime
LoadLibraryExW
GetVolumePathNameW
malloc
CoUninitialize
CoCreateInstance
CoInitializeEx
PathIsRootW
PathIsUNCW
PathStripToRootW
PathIsRelativeW
SHLWAPI.dll

Here is the full file wuapp.exe.txt

Edited by ricktendo64
Link to comment
Share on other sites

Yes thats what I was about to say, look in wuauclt.exe instead

/RunHandlerComServer
/RunStoreAsComServer
/ShowSettingsDialog
/ResetAuthorization
/ResetEulas
/ShowWindowsUpdate
/CloseWindowsUpdate
/SelfUpdateManaged
/SelfUpdateUnmanaged
/UpdateNow
/ShowWUAutoScan
/ShowFeaturedUpdates
/ShowFeaturedOptInDialog
call RunAUClientUI on wucltui.dll/wucltux.dll

Full file wuauclt.exe.txt.7z

Edited by ricktendo64
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...