Lệnh chạy phần mềm với quyền admin

 local-pc-name: tên máy tính

"C:\Program Files (x86)\HTKK\HTKK.exe" : đường dẫn đến file thực thi

Lần đầu chạy sẽ cần nhập tài khoản admin và tự lưu lại credential, lần sau ko cần nhập lại nữa.

runas /user:local-pc-name\Administrator /savecred "C:\Program Files (x86)\HTKK\HTKK.exe"

No comments:

Post a Comment

Full các trường data có thể lấy từ AD on-prem

Mail Presence PermissionGrants Department ImAddresses Responsibilities AppRoleAssignments ...