Starting TIMS in SYSTEM context
Sometimes you may need to develop and test your instructions in SYSTEM context, in order to replicate how the Tachyon client runs actually runs.
You can do this by starting TIMS using Microsoft SysInternal's PSEXEC utility.
Copy PSEXEC utility to a known path, eg. Windows\System32 folder, or to the same folder as TIMS.
In the TIMS folder, create a command file called StartTIMS.cmd containing the instructions shown below
Create a shortcut to the cmd file, and use this to start TIMS using Run As Administrator
If you are using PSEXEC64 then edit the cmd file accordingly.
Click here to view StartTIMS.cmd ...
Download...
StartTIMS.cmd
:: Used to start TIMS in SYSTEM security context :: PSEXEC.EXE should exist in local folder or a system path :: This script should exist in the TIMS folder :: Create shortcut and use Advanced to set as Run as administrator @pushd %~dp0 :: create default folder for SYSTEM to avoid popups @md "%SYSTEMROOT%\system32\config\systemprofile\Desktop" 2>nul :: Set folder option to see file extensions @reg add HKEY_USERS\S-1-5-18\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced /v HideFileExt /t REG_DWORD /d 0 /f :: Start TIMS in SYSTEM context PsExec.exe -s -i -d "%~dp0Tachyon.InstructionManagementStudio.exe" :: Stop and display error if Psexec not found, or not admin @if %ERRORLEVEL% == 9009 @pause>nul @if %ERRORLEVEL% == 5 @pause>nul