Create a PowerShell script and start the update everyday in the midnight.

Start Windows PowerShell ISE and copy paste:

 

[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12
Install-PackageProvider -Name NuGet -Force
Install-Module -Name PSWindowsUpdate -Force
Get-WindowsUpdate -AcceptAll -Download -Install -MicrosoftUpdate -AutoReboot > “C:\Windows-Update_History.txt”
wmic qfe list full /format:htable > “C:\Windows-Update_History.html”

 

Save this script as : windows-update.ps1

 

Create a task scheduler in windows and start this script everyday in midnight.

Use at your own risk