

If you look at the top of MainForm.psf in the project you will see variables that have theirĭefault value statically defined, however these values can be overridden by creating string values in the 'Toolbox' registry key. Toolbox stores its configuration under the registry key HKCU:\Software\intrntpirate\Toolbox.

If you want more verbose logging to occur you can enableĭebug mode from the 'Help' menu in Toolbox.

The log file name is the username running Toolbox. Toolbox has some basic logging that writes to 'C:\Temp\intrntpirate\Logs'. After confirming, the shortcut is removed. Once Toolbox is launched you can remove shortcuts by right clicking any shortcut in the window and selecting 'Remove Shortcut'. The PowerShell prompt opened will not use any profiles. Additionally with the -noprofile argument The above will result in a shortcut called 'PowerShell -NoProfile' in the Toolbox that when launched will not force a UAC prompt. If the user you launched the Toolbox as is not in the local Administrators group on the system then you will get a credential input UAC prompt.Įxecute: C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe 'Run as different user' option and the user that you ran the Toolbox as if in the local Administrators group on the system, then you should get a simple 'Yes/No' UAC prompt. The above will result in a shortcut called 'Command Prompt (RunAs)' in the Toolbox that when launched will force a UAC prompt. The above will result in a shortcut called 'Command Prompt' in the Toolbox that when launched will not force a UAC prompt. By default Toolbox will use the icon of the item you specify for the Execute parameter.

Cleaned up the project to remove references to components that were removed in the public release.Once to launch Toolbox and then don't have to enter the credentials again.īelow is a screenshot of Toolbox setup with a Command Prompt and two PowerShell shortcuts: From that point on you enter your administrative ID credentials Items you want to launch using the administrative ID that you launched Toolbox as. From there you can create shortcuts within Toolbox that point to Toolbox using the 'Run as different user' option with a administrative ID. One logs into their workstation using a standard user login (that doesn't have elevated permissions to any systems) and then launches the
SAPIEN POWERSHELL STUDIO RUNAS ADMINISTRATOR WINDOWS
Toolbox was designed with the intent of being used in a Windows domain to assist with the implementation of least privilege. This repo contains the PowerShell Studio project files along with a PS1 export and a x86 and 圆4 compiled executable of the project. Toolbox is a PowerShell based Windows Form tool developed using Sapien PowerShell Studio 5.8.196.
