Follow below steps to enable automatic windows update:
Open Control Panel from Start Menu. On Control Panel window select "System and Security" as shown above. On "System and Security" window click "Turn automatic update on or off" link.
On the Update setting window Select "Install updates automatically" also choose a install update time such that your computer should be up and running with internet connection at that time. So that windows can download and install updates. Click OK and you are done.






