Windows Security Popup ขึ้นบ่อยครั้ง - สาเหตุและวิธีแก้
Popup "Windows Security" หรือ "Enter Network Credentials" ที่ขึ้นบ่อยครั้ง มักเกิดจาก: Credential Manager เก็บข้อมูลเก่า/ผิด, Outlook/Office Authentication Issue, Network Share Access, หรือ VPN/Proxy Settings
วิธีแก้ปัญหา Popup Windows Security ทีละขั้นตอน
1. ล้าง Credential Manager (แก้ 80% ของกรณี)
- กด Win + R → พิมพ์
control /name Microsoft.CredentialManager→ Enter - หรือ: Control Panel → User Accounts → Credential Manager
- แท็บ Windows Credentials
- หา รายการที่เกี่ยวกับ: Network Address (IP/Server Name), Outlook/Office, VPN, Share
- คลิกขยาย (▼) → Remove ทุกอย่างที่เกี่ยวข้อง
- Restart คอมพิวเตอร์ → ลองเข้าถึงทรัพยากรเครือข่าย/เปิด Outlook ใหม่ → จะขอ Credentials ใหม่ (ใส่ถูกต้องครั้งเดียว)
2. แก้ปัญหา Outlook ขอรหัสผ่านซ้ำ (Outlook Windows Security Popup)
- Outlook → File → Account Settings → Account Settings...
- เลือก Account → Change
- ติ๊ก Use Cached Exchange Mode (ถ้าเป็น Exchange/Microsoft 365)
- More Settings → Security → ยืนยัน Always prompt for logon credentials เป็น ไม่ติ๊ก
- Next → Finish → Restart Outlook
หรือ: File → Office Account → Sign out → Sign in ใหม่ (Reset Token)
3. ปิด "Require Ctrl+Alt+Del" (Secure Sign-In) - ถ้าเป็น Logon Screen
- Win + R →
netplwiz→ Enter - แท็บ Advanced
- ใน Secure sign-in: ยกเลิกติ๊ก Require users to press Ctrl+Alt+Delete
- Apply → OK
4. ปิด Windows Security Notifications (Action Center)
- Settings (Win+I) → Privacy & security → Windows Security
- Open Windows Security → Settings (ไอคอนเกียร์) → Notifications
- Manage notifications → ปิด Account protection notifications, Firewall & network protection notifications ฯลฯ
5. ใช้ Group Policy / Registry (สำหรับ Pro/Enterprise - ปิด Windows Security ทั้งหมด)
Group Policy (gpedit.msc):
Computer Configuration → Administrative Templates → Windows Components → Windows Security
→ Turn off Windows Security: Enabled
Registry (Regedit):
HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows Defender
→ DisableAntiSpyware = 1 (DWORD)
HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows Defender\Real-Time Protection
→ DisableBehaviorMonitoring = 1
→ DisableScanOnRealtimeEnable = 1
⚠️ คำเตือน: การปิด Windows Security/Defender ทำให้ระบบ เปราะบางต่อมัลแวร์ ควรทำเฉพาะกรณีจำเป็น (เช่น ทดสอบซอฟต์แวร์, รันแอป Legacy ที่ขัดแย้ง) และต้องมีโซลูชันป้องกันอื่นแทน
6. แก้ปัญหา Network Share / Mapped Drive ขอ Credentials ซ้ำ
- Credential Manager → Windows Credentials → ลบรายการ Server/IP นั้นทั้งหมด
- Command Prompt (Admin):
net use * /delete /y
# แล้ว Map Drive ใหม่:
net use Z: \\Server\Share /user:DOMAIN\Username Password /persistent:yes
หรือ: Control Panel → Credential Manager → Add a Windows Credential → ใส่ Server/IP, User, Password → OK
7. ตรวจสอบ VPN / Proxy Settings
- VPN Client บางตัว (Cisco AnyConnect, FortiClient, GlobalProtect) ทำให้ Windows Security Popup ขึ้นเพื่อ Re-authenticate
- Proxy Settings: Settings → Network & Internet → Proxy → ปิด Use a proxy server (ถ้าไม่ได้ตั้งใจใช้)
การปิด Windows Login Password (Auto-login) - ไม่เกี่ยวกับ Network Security
หากต้องการเข้าระบบ Windows โดยไม่ต้องพิมพ์รหัสผ่าน:
- Win + R →
netplwiz→ Enter - เลือก User Account
- ยกเลิกติ๊ก Users must enter a user name and password to use this computer
- Apply → ใส่ Username/Password ปัจจุบัน → OK → OK
- Restart
⚠️ เสี่ยงต่อความปลอดภัย: ใครเข้าถึงเครื่องก็ใช้งานได้ ไม่แนะนำสำหรับแล็ปท็อป/เครื่องที่มีข้อมูลสำคัญ
Security Center Service (ถ้า Windows Security ไม่เปิด/Error)
- Win + R →
services.msc - หา Security Center (wscsvc)
- Double-click → Startup type: Automatic (Delayed Start) → Start → OK
สรุป: ลำดับการแก้ไข Popup Windows Security
- 🥇 Clear Credential Manager (Windows Credentials) - แก้ส่วนใหญ่
- 🥈 Fix Outlook Account Settings (Cached Exchange Mode, Re-login)
- 🥉 Check VPN/Proxy/Network Share (Re-map drive with /persistent:yes)
- 🔧 Disable Notifications ใน Windows Security Settings
- ⚠️ Disable Windows Security/Defender (GPO/Registry) - เฉพาะกรณีจำเป็น และมีทางเลือกอื่น
- 🔧 Auto-login (netplwiz) - ถ้าหมายถึง Login Screen ไม่ใช่ Network Popup
หากปัญหายังคงอยู่: Repair Office (Apps & Features → Modify → Quick Repair/Online Repair) หรือ Create New Windows User Profile