Computer >> Hướng Dẫn Máy Tính >  >> Hệ Thống >> Windows

Cách cấp và lấy quyền Admin (Elevated Privileges) trên Windows 11/10

Nhiều chương trình cần quyền Admin để chạy. UAC (User Account Control) thông báo trước khi cho phép thay đổi cấp hệ thống. Bài viết tổng hợp các cách mở quyền cao (Elevated Privileges) an toàn.

Các phương pháp cấp/nhận quyền cao

  1. Mở Command Prompt/Admin (PowerShell/Admin) nâng cao
  2. Thiết lập chương trình luôn chạy as Administrator
  3. Tắt Admin Approval Mode qua Local Security Policy (secpol.msc)
  4. Cấp quyền nâng cao (User Rights Assignment) cho người dùng/nhóm

1. Mở CMD/PowerShell Admin

Win+X (Win 10/11) → chọn Windows Terminal (Admin) hoặc Command Prompt (Admin) / PowerShell (Admin).

2. Chạy chương trình luôn với quyền Admin

Chuột phải file .exe → Properties → tab Compatibility → tick Run this program as an administrator → Apply > OK.

3. Tắt Admin Approval Mode (UAC) – GIẢM BẢO MẬT

  1. secpol.msc → Local Policies > Security Options.
  2. Tìm User Account Control: Turn on Admin Approval Mode → Double-click → Disabled.
  3. Restart máy.
Cảnh báo: Tắt UAC làm giảm bảo mật tổng thể. Security Center sẽ cảnh báo.

4. Cấp quyền nâng cao (User Rights Assignment)

User thường (Standard) không có quyền: thêm/xóa user, tắt server, quản lý GPO, sửa quyền file, backup/restore, load driver, quản lý audit log, take ownership...

Thêm user vào nhóm: Local Server, Domain, Forest → nhận User Rights tương ứng.

35+ user rights phổ biến:

  • Shut down the system / Force shutdown remote
  • Log on as batch job / as service
  • Backup/Restore files and directories
  • Enable trusted for delegation
  • Generate security audits
  • Load/unload device drivers
  • Manage auditing and security log
  • Take ownership of files/objects

Triển khai qua Group Policy (Local/AD). Mỗi file/thư mục/khóa Registry có ACL (Access Control List) với quyền: Full control, Modify, Read.

Bài liên quan: Take ownership registry keys, Take full ownership files/folders.