教你Win11怎么获取Trustedinstaller权限( 二 )


sc.exe start TrustedInstallerSet-NtTokenPrivilege SeDebugPrivilege$p =
Get-NtProcess -Name TrustedInstaller.exe$proc = New-Win32Process cmd.exe
-CreationFlags NewConsole -ParentProcess $p
并回车 。

教你Win11怎么获取Trustedinstaller权限


接下来系统会打开一个命令提示符,该命令提示符就具有 Trustedinstaller 权限,可以直接修改系统文件 。我们可以通过:
whoami /groups /fo list
进行测试:

教你Win11怎么获取Trustedinstaller权限


可以看到我们已经获得 Trustedinstaller 权限了,现在就可以通过一些命令修改系统文件了 。如果想要更加方便操作,可以通过此 CMD 运行
taskmgr、notepad 等应用,在运行新任务、打开文件的浏览窗口下,进行文件编辑 。编辑结束后直接关闭即可 。
注意!不要使用 CMD 运行 explorer,因为 explorer 无法在当前用户下正常使用 。在这之后如果,想要重新获得
Trustedinstaller 权限重新执行以下命令即可:
sc.exe start TrustedInstallerSet-NtTokenPrivilege SeDebugPrivilege$p =
Get-NtProcess -Name TrustedInstaller.exe$proc = New-Win32Process cmd.exe
-CreationFlags NewConsole -ParentProcess $p
【教你Win11怎么获取Trustedinstaller权限】以上就是给大家分享Win11怎么获取Trustedinstaller权限的全部内容,更多精彩尽在本站!

推荐阅读