Khi chạy lệnh sfc /scannow trong Command Prompt thường, bạn gặp lỗi: "You must be an administrator running a console session in order to use the SFC utility". Nguyên do: SFC cần quyền truy cập file hệ thống, yêu cầu CMD chạy ở chế độ Elevated (Administrator).
Cách mở Command Prompt với quyền Administrator
- Đóng CMD hiện tại (nếu đang mở).
- Tìm "cmd" trong Start menu hoặc Search.
- Chuột phải → Run as administrator.
- Nhấn Yes tại UAC.
- Gõ sfc /scannow → Enter.
Mẹo nhanh: Nhấn Ctrl + Shift + Enter khi "cmd" được highlight trong Start/Search để mở CMD Admin trực tiếp.
Thiết lập CMD luôn chạy Admin mặc định (Shortcut)
- Tìm "cmd" → chuột phải → Open File Location.
- Chuột phải shortcut CMD → Send to → Desktop (create shortcut).
- Chuột phải shortcut trên Desktop → Properties.
- Tab Shortcut → nút Advanced....
- Tích Run as administrator → OK → Apply.
- Dùng shortcut này sẽ luôn mở CMD Admin.
Nếu vẫn lỗi dù đã chạy Admin: Dùng NSudo (TrustedInstaller)
- Tải NSudo (tìm trên GitHub).
- Chạy NSudo với quyền Admin.
- Tích Enable all privileges.
- Ô Run gõ cmd → nhấn Run.
- Trong CMD mới mở, chạy sfc /scannow.
Nếu vẫn thất bại, hãy thử boot vào Safe Mode rồi chạy SFC.