บทนำ
บางครั้ง PC ถูกแชร์โดยผู้คนมากกว่า 1 คน ในบางกรณีทุกคนต้องการ Full Access ของ PC Guest Account ไม่ตอบโจทย์ วิธีที่ดีที่สุดคือ เพิ่มผู้ใช้เข้ากับ Local Administrator Group บทความนี้อธิบายหลายวิธีสำหรับ วิธีเพิ่มผู้ใช้เป็น Administrator บน PC
- ส่วนที่ 1: เพิ่ม (Domain) User เข้า Local Administrator Group ใน Windows Computer Management
- ส่วนที่ 2: เพิ่ม User เข้า Local Administrator Group ด้วย Command Prompt
- ส่วนที่ 3: วิธีลบ User จาก Local Administrator Group
- เคล็ดลับเพิ่มเติม: เพิ่ม User เข้า Remote Desktop User Group / Debugger User Group / Power User Group
ส่วนที่ 1: เพิ่ม (Domain) User เข้า Local Administrator Group ใน Windows Computer Management
วิธีนี้อธิบายขั้นตอน Add Domain User to Local Admin Group:
- กด Windows + R เปิด Run พิมพ์ compmgmt.msc คลิก OK เปิด Computer Management
- ใน Computer Management ไป System Tools ซ้าย ใต้หา Local Users and Groups folder > Groups folder
- ในเมนูหลัก จะมี Groups หลายกลุ่ม เลือกกลุ่มที่ต้องการเพิ่มสมาชิก คือ Administrators
- คลิกขวา Group Administrators เลือก Add to Group
- ป๊อปอัพขึ้นถามยืนยัน คลิก Add > OK
- Dialog Select Groups ขึ้นมา ใส่ชื่อบัญชี (User หรือ Group) ที่ต้องการเพิ่ม ใน Enter the object names to select คลิก OK
หากต้องการเพิ่ม Computer Account คลิก Object Types ติ๊ก Computers OK ใส่ชื่อ Computer Account คลิก OK
- ขั้นตอนนี้จะเพิ่ม Administrator Account บน PC แต่วิธีนี้ไม่適用กับทุก Windows เช่น Windows 8 Home Edition
ส่วนที่ 2: เพิ่ม User เข้า Local Administrator Group ด้วย Command Prompt
อีกวิธีคือ Add User to Admin Group CMD เขียนคำสั่งไม่กี่บรรทัดเพื่อเพิ่มคนเข้า PC ได้ ใช้ได้กับทุก Edition ของ Windows (10/8/7/Vista) ต้องใช้ Elevated Command Prompt ไม่ใช่ CMD ปกติ
- เปิด Elevated CMD: กด Windows + X (Win 10/8) หรือ Win 7/Vista: Start > ค้นหา cmd > คลิกขวา > Run as Administrator
- พิมพ์
net localgroupเพื่อดูชื่อ Local Groups กด Enter - เพิ่ม Admin Account เข้า Administrators Group:
net localgroup Administrator [username] /addกด Enter Username = ชื่อบัญชี
ส่วนที่ 3: วิธีลบ User จาก Local Administrator Group
หลังรู้ วิธีทำให้ User เป็น Administrator Windows 10 การลบบัญชีที่ไม่ต้องการจากตำแหน่ง Admin ก็สำคัญ กระบวนการลบแตกต่างตาม Edition และ Source ของ Account Folder
ลบ User จาก Local Administrator Group ใน Local Users and Groups (Windows 10):
- Local Users and Groups มีแค่ Windows 10 Pro, Enterprise, Education
- กด Windows + R เปิด Run
- พิมพ์ lusrmgr.msc คลิก OK เปิด Local Users and Groups
- หาก Account อยู่ใน Groups ใต้ Groups Folder ใน Local Users and Groups เลือก Groups ซ้าย คลิก Group Name ที่ต้องการลบสมาชิก > Properties > เลือก Username > Remove > OK
ลบ User จาก Local Administrator Group ใน Command Prompt (สำหรับทุก Windows):
- เปิด Elevated Command Prompt ตามขั้นตอนข้างต้น
- พิมพ์คำสั่ง:
net localgroup "Group" "User" /deleteกด Enter
แทนที่ "Group" และ "User" ด้วยชื่อจริงของ Group และ User ที่ต้องการลบ
เคล็ดลับเพิ่มเติม: เพิ่ม User เข้า Remote Desktop User Group / Debugger User Group / Power User Group
วิธีดีที่สุดคือใช้ Command Prompt เปิด Elevated CMD ตามข้างต้น พิมพ์คำสั่งเพื่อเพิ่ม User เข้า Group ที่ต้องการ:
- Remote Desktop Users:
net localgroup "Remote Desktop Users" UserLoginName /add - Debugger Users:
net localgroup "Debugger Users" UserLoginName /add - Power Users:
net localgroup "Power Users" UserLoginName /add
นอกจากเพิ่ม Administrator Account แล้ว ยังมีปัญหาลืมรหัสผ่านทำให้ต้องทนทุกข์ แต่ด้วย 4WinKey ซอฟต์แวร์ง่ายๆ นี้ช่วยจัดการปัญหารหัสผ่านหายของ Windows 10 PC ได้จริง