This question is not a duplicate of other questions that have to do with running programs as TrustedInstaller or SYSTEM, because this one is specifically about not using external programs.

Using only the Command Prompt and/or PowerShell, but without external programs or commands, how can you run an application as TrustedInstaller or SYSTEM?

  • 1
    TrustedUser or TrustedInstaller??? I've never heard of TrustedUser as a unique principal. – Keith Miller Apr 20 at 18:19
  • @KeithMiller TrustedUser was an error in the title, I've updated my post. Thanks for pointing that out. – Anonymous Apr 20 at 18:20

AFAIK, there is no simple way to log in as SYSTEM or as TrustedUser without using third-party tools such as Microsoft's own (well, actually Russinovich's Sysinternals') PsExec, Nirsoft's NirCmd or Sordum's PowerRun.

It is easy, however, to make use of these tools appear to be native to Windows GUI, i.e., as a context menu item for executables, with a Registry tweak that adds the particular tool to the right-click menu.

[Even with those privileges, at times it may be impossible to perform simple tasks, such as using Regedit to modify a key owned by TrustedUser, without taking ownership.]

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.