

If there are more than one PStart.exe running, the script will wait until all instances of PStart.exe are closed before continuing.If PStart.exe is not found, execution will stop.If you are already running TrueCrypt.exe when you launch this script, it will time out after 15 seconds and not complete execution.If TrueCrypt.exe is not found, execution will stop.Here are some ways you can crash this script. This script unfortunately relies on a lot of conditions being true for it to function. \SandboxiePortable\App\Sandboxie\Start.exeĬommand line parameters = "Path to the program you wish to launch"Įxample Command line: "\PortableApps\FirefoxPortable\FirefoxPortable.exe" Edit all programs that you want to sandbox using the following launch scheme.Īpplication / file path =.Right click SandboxiePortable's entry and on the Advanced tab enable autostart on startup.In addition, you'll have to do the following from inside pstart.exe ShellExecute($drive&"\PortableApps\True Crypt\TrueCrypt.exe","/d t /q") While ProcessExists("SandboxiePortable.exe") MsgBox(0,"Drive Launcher","Unable to find PStart.exe") If ShellExecute("T:\PortableApps\PStart\PStart.exe")=0 Then MsgBox(0,"Drive Launcher","TrueCrypt did not close after 15 seconds") If ProcessWaitClose("TrueCrypt.exe",15)=0 Then MsgBox(0,"Drive Launcher","Unable to find TrueCrypt.exe") If ShellExecute($drive&"\PortableApps\True Crypt\TrueCrypt.exe","/v "&$drive&'\tc /l t /p "'&$password&'" /q')=0 Then

#Sandboxie portable full code#
$password = InputBox("Password", "Please input the unlock code for "&$drive,"","*",225,110) $volumefile = $drive&"\tc" Location of the volume file, in this example it points to PDRIVE:\tc
