SCRIPT: Remotely install Windows Updates

SCRIPT: Remotely install Windows Updates

net use \\%computer%\admin$

xcopy wua.vbs \\%computer%\admin$

<span style="font-family: Calibri; font-size: 11pt;">psexec.exe @.txt -s " C:\Windows\System32\cscript.exe" "</span><span style="font-family: Calibri; font-size: 11pt;">c:\Windows\wua.vbs</span><span style="font-family: Calibri; font-size: 11pt;">" /Nologo</span>

wmic /node%computer% qfe list full /format:htable > %computer%_hotfixes.htm

Operation Procedure

  1. Preparation Reboot
  2. Services Check
  3. Updates
  4. Services Check
  5. Services Compare
  6. MBSA report

Config Manager Software Center

wmic /node:localhost ComputerSystem get PCSystemType

wmic /node:localhost qfe list full



Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s