Source: https://www.howtogeek.com/howto/windows-vista/stop-windows-update-from-hijacking-the-sleep-button/