0

I want to run a command via AWS Run Command that downloads and installs windows updates on a remote Windows 2012 R2 Server instance running on EC2, and reboots the instance.

I tried suggestions on the following pages:

  1. How to install Windows Updates from command-line

Running wuauclt.exe /detectnow or wuauclt.exe /detectnow /updatenow has no visible affect on Windows Server 2012.

  1. https://superuser.com/questions/462425/can-i-invoke-windows-update-from-the- command-line

Running wusu update /forcerestart does not work, but does produce an error screen saying that <update> needs to be a directory. However, I do not know where the updates to be installed reside.

  1. wusu offline updater

This tool seems to be focused on offline installation which is interesting, but doesn't seem applicable to me.

  1. This is for Windows Server 2008 and no one seems to be able to answer it.

I'm apparently not doing something right.

nu everest
  • 957
  • 3
  • 14
  • 27

0 Answers0