Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/zoicware/runtrusted
Run PowerShell Commands as TrustedInstaller Silently
https://github.com/zoicware/runtrusted
Last synced: 19 days ago
JSON representation
Run PowerShell Commands as TrustedInstaller Silently
- Host: GitHub
- URL: https://github.com/zoicware/runtrusted
- Owner: zoicware
- Created: 2024-07-18T18:49:08.000Z (6 months ago)
- Default Branch: main
- Last Pushed: 2024-07-25T21:39:42.000Z (6 months ago)
- Last Synced: 2024-11-05T15:33:56.694Z (2 months ago)
- Language: PowerShell
- Size: 4.88 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## Run Trusted
#### How it Works
Gaining TrustedInstaller privileges can be done multiple ways but all methods require the use of the TrustedInstaller service in windows. This function exploits the binary path of this service to run powershell commands instead of the default TrustedInstaller.exe [Read More](https://www.tiraniddo.dev/2017/08/the-art-of-becoming-trustedinstaller.html)
#### Features
- Run any powershell commands silently
- Pass commands that contain spaces in the path without issues
- all commands are ran as Base64 strings to escape these spaces##### Tip: to troubleshoot errors redirect the error to a txt doc using the built in $Error variable in PowerShell