Windows Update client using the scregedit.wsf script

 OR

Cscript c:\windows\system32\scregedit.wsf /au 4

Net stop wuauserv

Net start wuauserv

This will use the default time of 3am to check for patches. If you want to force an update check, you can run:

Wuauclt /detectnow