Getting rid of automatic restart messages

To stop the "Windows will restart your computer in 5:00 minutes" messages that comes up after Windows installed an update, you need to stop the "Automatic Updates" service.