Active Hours บันทึกช่วงเวลาที่เครื่องใช้งานอยู่ และป้องกันไม่ให้ Windows Update รีสตาร์ทติดตั้งอัปเดตในช่วงนั้น ทำให้ทำงานต่อเนื่องได้
3 วิธีตั้งค่า Active Hours
- ผ่าน Windows Settings (ผู้ใช้ทั่วไป)
- ผ่าน Group Policy (Pro/Enterprise)
- ผ่าน Registry (Remote/Business)
1. ตั้งค่าผ่าน Settings
Windows 11:
Settings > Windows Update > Advanced options > Active hours > Adjust Active hours = Manually > ตั้ง Start/End time
Windows 10:
Settings > Update & Security > Windows Update > Change Active Hours > ตั้ง Start/End time
ข้อจำกัด: ช่วง Active Hours ตั้งได้ 1-18 ชั่วโมง ไม่สามารถตั้งต่างวันหรือวันหยุด/วันทำงานแยกกันได้
สามารถ Override ได้ครั้งเดียวที่ Advanced Options > Restart time
2. ตั้งค่าผ่าน Group Policy (gpedit.msc)
Path: Computer Configuration > Administrative Templates > Windows Components > Windows Update
Enable Turn off auto-restart for updates during active hours ตั้งช่วงเวลาได้
ยังมี Policy Specify Active hours range for auto-restarts ลดช่วงต่ำสุด 8 ชั่วโมง
Policy 2 ตัวอาจ Override: No auto-restart with logged on users / Always automatically restart
3. ตั้งค่าผ่าน Registry
Regedit > HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\WindowsUpdate\UX\Settings
แก้ ActiveHoursStart และ ActiveHoursEnd
เหมาะสำหรับจัดการ Remote หรือหลายเครื่อง
ทำไมไม่ควรให้ Windows ตั้ง Active Hours ให้อัตโนมัติ?
Windows อาจเดาเวลาผิด หากเวลาทำงานเปลี่ยนบ่อย ควรตั้งเอง
Windows Update ทำให้คอมช้าลงไหม?
อาจช้าเพราะกระบวนการหนัก แต่ฮาร์ดแวร์ดี/แอปน้อย จะราบรื่น
Tip: สามารถตั้ง Auto-adjust Active Hours ได้