Computer >> บทช่วยสอนคอมพิวเตอร์ >  >> ระบบ >> Windows

แก้ "Can't run Command Prompt as administrator" ใน Windows 11/10

Windows Command Prompt เป็น Command-line Tool รันคำสั่งต่างๆ สามารถ Run as Administrator (Elevated) ได้ แต่บาง User เจอปัญหา: ไม่สามารถ Run Command Prompt as Administrator ได้ กดแล้วไม่มีอะไรเกิดขึ้น!

Command Prompt ไม่เปิดแบบ Administrator

หาไม่สามารถ Run Command Prompt as Administrator บน Windows 11/10 วิธีต่อไปนี้ช่วยได้:

  1. สร้าง Shortcut สำหรับ Command Prompt
  2. สร้าง User Account ใหม่
  3. ลองใช้ Safe Mode
  4. วิธีอื่นๆ เปิด Elevated Command Prompt
  5. Repair System Image

1. สร้าง Shortcut สำหรับ Command Prompt

แก้  Can t run Command Prompt as administrator  ใน Windows 11/10

  1. คลิกขวา Desktop > New > Shortcut
  2. พิมพ์ Location: C:\Windows\System32\cmd.exe คลิก Next
  3. ตั้งชื่อ Shortcut คลิก Finish
  4. คลิกขวา Shortcut > Properties > Tab Shortcut > Advanced
  5. ติ๊ก Run as administrator คลิก OK

Double-click Shortcut ใหม่ จะเปิด CMD แบบ Admin

2. สร้าง User Account ใหม่

ปัญหาอาจมาจาก User Account เสียหาย/Corrupt สร้าง User ใหม่แก้ไขได้เร็ว

3. ลอง Safe Mode

หาวิธีข้างบนไม่ได้ Boot เข้า Safe Mode (ที่ดีสำหรับ Troubleshooting) ลองรัน Elevated CMD ใน Safe Mode หาไม่มีปัญหา ให้ Troubleshoot ใน Clean Boot State

4. วิธีอื่นๆ เปิด Elevated Command Prompt

  1. Ctrl+Shift+Esc > Task Manager > File > Run New Task > พิมพ์ cmd ติ๊ก Create this task with administrative privileges Enter
  2. เปิด Elevated CMD จาก Task Manager ด้วย CTRL Key
  3. Start Menu พิมพ์ command line กด Shift+Ctrl+Enter
  4. เปิด Elevated CMD ด้วย CMD
  5. Run Commands จาก Windows Start Search Box as Administrator
  6. Run Commands จาก Explorer Address Bar
  7. How to always run Command Prompt as Administrator

5. Repair System Image

หายังไม่ได้ Repair System Image ด้วย DISM Command

ขอให้โชคดี!

แก้  Can t run Command Prompt as administrator  ใน Windows 11/10