Trusted Installer is a system account on Windows which is more powerful than Administrator and has full access to the system. This is useful when scripting installation or configuration tasks, such as removing Windows Store apps or modifying system registry keys.
TIR allows you to run any program as Trusted Installer. By default, it runs
powershell.exe
as Trusted Installer.
Caution
Be careful when running a program as Trusted Installer, as it will have full access to the system. This can compromise, damage, or destroy your system. Only run programs you trust and understand.
- Download the latest release from the Releases page.
- Right-click and run
tir.exe
as an Administrator. - A new
powershell.exe
window will open running as Trusted Installer. You can verify this by runningwhoami
in the PowerShell window and it should returnnt authority\system
.
TIR can be used to run any program as Trusted Installer. To do this, run TIR
from the command line and specify the program you want to run as a command line
argument. For example, to run cmd.exe
as Trusted Installer, run:
tir.exe cmd.exe
TIR can be built using the included Makefile
or Dockerfile
. The Makefile
requires x86_64-w64-mingw32-gcc
to be installed. On Debian, this is available
in the gcc-mingw-w64-x86-64
package.