4

This is because my internet traffic is limited by ISP and it's free only during a specific period throughout the day (2:00am-7:00am). I've set windows update setting to check for updates but notify me before downloading in order to prevent it from automatically using up my traffic. But then I have to manually tell it when to start downloading. I obviously don't want to stay up that late just to push a button. So again, how can I schedule "windows updates" for "windows 8.1 pro" to start/stop at specified times?

5

my internet traffic is limited by ISP and it's free only during a specific period throughout the day (2:00am-7:00am). … how can I schedule "windows updates" for "windows 8.1 pro" to start/stop at specified times?

By default, Windows will check for updates at 3am which should suit your situation, so you should leave it set to automatically check for updates instead of doing it manually. It should be waking the system at 3am to do the check, but if it’s not doing so even when set to automatic updates, then it will do it the next time you boot up, which could be past 7am. To let Windows wake your system at night to check for updates:

  1. Go to Action Center
  2. Look for the Automatic Maintenance section
  3. Put a check in the Allow scheduled maintenance to wake up my computer at the scheduled time check-box
  4. Optionally set the exact time (to the hour) when Windows should wake up and check

at that time(2AM - 7AM), the PC is engaged in downloading videos & other files. So how can let it run schedule maintenance at that time as this can affect the downloading and other processes. I want to run only the "windows update" not any other maintenance work at that time.

You want to download Windows updates only during the free-bandwidth period between 2-7am, but you don’t want the download of Windows updates to interfere with P2P downloading during that same period? I’m not sure what your question is anymore, but if you are asking about preventing the system from being rebooting after an update, then you can do that. How will depend on what edition of Windows you are using.

  • Windows Professional and up:

    1. Run gpedit.msc
    2. Navigate to Computer Configuration → Administrative templates → Windows Components → Windows Update
    3. Set No auto-restart with logged on users for scheduled automatic updates installations to Enalbed

  • Windows Home and down:

    1. Run regedit
    2. Navigate to HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\WindowsUpdate\AU
    3. Select Edit → New → DWORD
    4. Enter NoAutoRebootWithLoggedOnUsers for the value name
    5. Double-click it and enter 1 for the value

Figure 1: Windows update schedule is now part of the general maintenance schedule

Screenshot of Windows 8+ maintenance schedule setting

  • Did I miss them early? :P – avirk Dec 31 '13 at 3:18
  • Thank you for your very helpful answer. But at that time(2AM - 7AM), the PC is engaged in downloading videos & other files. So how can let it run schedule maintenance at that time as this can affect the downloading and other processes. I want to run only the "windows update" not any other maintenance work at that time. So how will it be possible? – K.K.POTHAL Jan 1 '14 at 2:19
3

One method is a scheduled task.

Update.bat

wuauclt.exe /detectnow

This example runs at 2:00 AM daily.

SchTasks /Create /SC DAILY /TN "Late Night Update" /TR “C:\Update.bat” /ST 02:00

You may need a sister script to cancel things at 6:45AM just to be safe.

Killer.bat

taskkill.exe /f /im wuauclt.exe

and the scheduled task.

SchTasks /Create /SC DAILY /TN "Bat Killer" /TR “C:\Killer.bat” /ST 06:45

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.