Window update auto reboot schedule

I have configure Window Update setting to "Install Update automatically (recommended). Is it possible to configure a reboot schedule , say make sure it reboot during the weekend ? I'm have Window 2008 & 2012 servers,

Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Norm DickinsonGuruCommented:
You should be able to control this from Control Panel > Windows Updates. Click on Change Settings. Choose the day and time you wish to use.
AXISHKAuthor Commented:
Attached please find the setting on my Window 2012. I can't find a setting related to reboot time. Tks
Seth SimmonsSr. Systems AdministratorCommented:
configure group policy
computer configuration -> administrative templates -> windows components -> windows update
change 'configure automatic updates' to 4 for auto download and schedule the install
then choose the scheduled day and time
Protecting & Securing Your Critical Data

Considering 93 percent of companies file for bankruptcy within 12 months of a disaster that blocked access to their data for 10 days or more, planning for the worst is just smart business. Learn how Acronis Backup integrates security at every stage

You can schedule a reboot but I would suggest you check for a pending reboot then restart the computer.

You can set a scheduled task to run each weekend and have it check for a pending reboot.

Here is an easy script you can schedule:
# Filename:      CheckForPendingReboot.ps1
# Description:   Imports a list of computers from a CSV file and then checks each of the
#                computers for the RebootPending registry key. If the key is present, 
#                the script restarts the computer upon confirmation from the user.

$CSVPath = "C:\myscripts\computers.csv"
$Computers = Import-CSV -Path $CSVPath 

ForEach ($Machine in $Computers)
   $baseKey = [Microsoft.Win32.RegistryKey]::OpenRemoteBaseKey("LocalMachine", $Machine.computername)
   $key = $baseKey.OpenSubKey("Software\Microsoft\Windows\CurrentVersion\Component Based Servicing\")
   $subkeys = $key.GetSubKeyNames()

   If ($subkeys | Where {$_ -eq "RebootPending"}) 
      Write-Host "There is a pending reboot for" $Machine.computername
      Restart-Computer -ComputerName $Machine.computername -confirm
      Write-Host "No reboot is pending for" $Machine.computername

Open in new window

AXISHKAuthor Commented:
To configure group policy, can I just configure it on the local policy (ie, a single server itself) rather than the Domain policy ?  

Seth SimmonsSr. Systems AdministratorCommented:
group policy makes it easier if you have a large number of systems but if there is only a small number and you don't mind touching individually you can do that also.  just open gpedit.msc and navigate to the same place i mentioned earlier

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Norm DickinsonGuruCommented:
Alternately you can always set it to not be automatic and instead require interaction before installation of the updates.
AXISHKAuthor Commented:
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Windows Server 2008

From novice to tech pro — start learning today.