Skip to main content

WIndows Update on Server 2019

Having problems with Windows Update on a Windows Server 2016 on AWS Lightsail. 

AWS turn off Windows Update by default, and there is some other tool AWS uses to process update, however I don't think it manages LightSail machines. 

I made some changes to the group policy, and that seems to have started Windows Updates, but they don't seem to be installable on demand. 


Run Windows update troubleshooter firstly, this tool can diagnose and repair update issue automatically.
Then, restart computer and check for updates again.
If still no help, reset Windows update component manually:
Open an elevated command prompt windows, type the following commands one after the other, and hit Enter:

  • net stop wuauserv
  • net stop bits
  • rename c:\windows\SoftwareDistribution SoftwareDistribution.bak
  • net start wuauserv
  • net start bits

Open an elevated Command Prompt, type the following command one after the other and hit Enter:

  • net stop cryptsvc
  • md %systemroot%\system32\catroot2.bak
  • xcopy %systemroot%\system32\catroot2 %systemroot%\system32\catroot2.bak /s

Move to C:\Windows\System32\catroot2.
  • Then, Delete everything from this folder ( C:\Windows\System32\catroot2) 

Now, Run the following command.
  • net start cryptsvc

Once you have done, restart computer and check for updates.

Comments

Popular posts from this blog

Javascript Form Validation

It's real simple. All you need to do is call a javascript function in a html  " onsubmit " in the form tag as a javascript return, like this       <form method="post" action="dosomething.php" onsubmit="return validateForm();"> If the code completes ok, the form is then sent to the page listed in "action" http://www.w3schools.com/js/js_form_validation.asp If the function specified in the onsubmit returns false, then the form is not sent to the page mentioned in action.