TrustedInstaller 和 SYSTEM 是 Windows 10 里最高权限用户。
Windows 10 里的 administrators 没有最高权限,即使彻底禁用了 UAC,也不能执行某些操作。
以 TrustedInstaller 用户执行命令
需要用第三方程序。
SuperCMD
用 SuperCMD 这个小工具。
Process Hacker
需要 Process Hacker 这个第三方工具。
Manually create processes with TrustedInstaller privileges using Process Hacker:
- Select the Services tab and start the TrustedInstaller service.
- Go back to the Processes tab and right-click TrustedInstaller.exe (也可以直接在 services 里右击 TrustedInstaller, 选择 go to process)
- In the context menu, select the Miscellaneous > “Run as this user…”
推荐以 TrustedInstaller 用户身份启动 cmd 以执行系统管理和维护操作。