ในบทความนี้จะแนะนำวิธีทำให้แอปที่เปิดอยู่บันทึกสถานะและเปิดอัตโนมัติเมื่อคุณออกจากระบบและเข้าสู่ระบบใหม่ใน Windows 11/10 บางแอปสามารถตั้งค่าเองได้ แต่นี่คือวิธีควบคุมการทำงานนี้ (รองรับ UWP apps)
ตั้งค่าใน Windows 11

- กด Win + I เปิด Settings
- ไป Accounts > Sign-in options
- หา Automatically save my restartable apps and restart them when I sign back
- เปิดสลับ (toggle) ให้เป็น On
ตั้งค่าใน Windows 10

Automatically save your restartable apps when you sign out and restart them after you sign in
- คลิกขวาโลโก้ Windows > เลือก Settings
- คลิก Accounts
- ด้านซ้ายเลือก Sign-in options
- เลื่อนลงหา Restart apps
- เปิดสลับ Automatically save your restartable apps when you sign out and restart them after you sign in เป็น On
พร้อมแล้ว! ตอนเข้าสู่ระบบใหม่ แอปที่รองรับจะเปิดอัตโนมัติ (เช่น Feedback Hub จะเปิดอยู่ในสถานะ minimized)
สิ่งนี้ช่วยไม่ให้แอปเหล่านั้นใช้ทรัพยากรมากเกินไปตอนเริ่มต้น
ตั้งค่าผ่าน Registry Editor (Windows 11/10)
สามารถเปิดใช้งานการตั้งค่านี้ผ่าน Registry ได้ แนะนำสร้าง System Restore Point ก่อน
- ค้นหา regedit ในช่องค้นหา Taskbar
- คลิกผลลัพธ์ > Yes (UAC)
- ไปที่ Winlogon ใน HKCU:
HKEY_CURRENT_USER\Software\Microsoft\Windows NT\CurrentVersion\Winlogon
- คลิกขวา Winlogon > New > DWORD (32-bit) Value > ตั้งชื่อ RestartApps
- คลิกสองครั้ง RestartApps > ตั้ง Value data = 1
- รีสตาร์ทคอมพิวเตอร์


คำถามที่พบบ่อย
어떻게 하면 Windows에서 프로그램을 자동으로 다시 시작하게 할 수 있나요?
เปิดใช้งาน Automatically save my restartable apps and restart them when I sign back ใน Settings > Accounts > Sign-in options หรือใช้ Registry Editor
어떻게 하면 Windows가 재부팅 시 활성 창과 프로그램을 다시 열게 할 수 있나요?
เปิดใช้งานการตั้งค่าเดียวกันใน Settings หรือ Registry Editor
