ดาวน์โหลดไฟล์ใหญ่หรือติดตั้งโปรแกรมนานๆ ต้องการปิดเครื่องอัตโนมัติ Windows 10 มีฟีเจอร์นี้ แต่หลายคนไม่รู้ ใช้วิธีไหนก็ได้ตามความสะดวก
ตั้งค่า Auto Shutdown Windows 10
สร้าง Restore Point ก่อน
วิธีที่ 1: ใช้ Task Scheduler (ยืดหยุ่นที่สุด)
- Win + R → taskschd.msc Enter
- ขวามือ Actions → Create Basic Task
- ตั้งชื่อ/รายละเอียด → Next
- เลือก Trigger: Daily, Weekly, Monthly, One time → Next
- ตั้ง Start date/time → Next
- Action: Start a program → Next
- Program/Script:
C:\Windows\System32\shutdown.exe - Add arguments:
/s /f /t 0(0 = ทันที, 60 = 1 นาที, 3600 = 1 ชั่วโมง) → Next - ติ๊ก Open the Properties dialog when I click Finish → Finish
- แท็บ General → ติ๊ก Run with highest privileges
- แท็บ Conditions → ยกเลิก Start the task only if the computer is on AC power
- แท็บ Settings → ติ๊ก Run task as soon as possible after a scheduled start is missed
- เสร็จแล้ว เครื่องจะปิดตามเวลาที่ตั้ง
วิธีที่ 2: ใช้ Command Prompt (เร็ว สำหรับครั้งเดียว)
- เปิด CMD (Admin)
- พิมพ์:
shutdown –s –t number(number = วินาที, เช่น 3600 = 1 ชม.) - Enter → จะมีแจ้งเตือนตัวนับถอยหลัง
สามารถใช้ PowerShell หรือ Run dialog (Win+R) พิมพ์คำสั่งเดียวกันได้
บทความแนะนำ:
- แก้ Windows Defender Update error 0x80070643
- แก้ Playback doesn’t begin shortly
- แก้ Sec_error_expired_certificate
- แก้ Favorites missing in IE Windows 10
เรียนรู้ ตั้งค่า Auto Shutdown Windows 10 เรียบร้อย ถามได้ในความคิดเห็น