Open Powershell as administrator and paste the following into the window:
Set-ExecutionPolicy -ExecutionPolicy Bypass
Install-Module PSWindowsUpdate -Force
Import-Module PSWindowsUpdate
Get-WindowsUpdate -AcceptAll -Install -AutoReboot
Open Powershell as administrator and paste the following into the window:
Set-ExecutionPolicy -ExecutionPolicy Bypass
Install-Module PSWindowsUpdate -Force
Import-Module PSWindowsUpdate
Get-WindowsUpdate -AcceptAll -Install -AutoReboot