How to Keep your computer from Automatically restarting

I am writing this article because I finally got fed up with comming to my computer in the morning, only to be greeted by the Windows Welcome screen instead of the tasks I had left running the evening before. It's a real easy fix and I'm kicking myself for not correcting it sooner.

Step 1:

Open the "Start" menu and click the "Run..." button. Once the dialog box opens up, type in "gpedit.msc" and click OK. Once you do this you will be greeted with the following screen.

Step 2:

I've highlighted the folders in the above screenshot that you need to access. Click through the following folders: "Computer Configuration"-->"Administrative Templates"-->"Windows Components"-->"Windows Update"

Once you click on the Windows Update" folder, click the Setting that says: "No auto-restart for scheduled Automatic Updates installations", double click this setting and set the State to Enabled.

After this is complete, exit the program.

Step 3:

In order for settings to take effect, you need to reboot. The problem I had was I already had about 10 programs started up and didn't want to wait 20 Minutes for a complete restart. (My computer isn't slow, I just have 4 monitors hooked up and usually have programs running on each. So it takes time to close everything down and reboot.) I did however discover a work around:

Open the command prompt by typing in cmd.exe in the "RUN..." dialog box

Once the command prompt window opens type in the following:

gpupdate /Force

This will force the Group Policies to refresh with out a restart.

Hope this page came in handy. Good Luck.