Open Owned67 opened 8 months ago
Hello,
downloaded and placed RunAsTI.bat file in to %windir%/system32 restarting computer, open a cmd elevated:
call RunAsTI.bat mybatchfile.cmd or call %windir%/system32/RunAsTI.bat mybatchfile.cmd
call RunAsTI.bat mybatchfile.cmd
call %windir%/system32/RunAsTI.bat mybatchfile.cmd
`@echo off setlocal EnableDelayedExpansion
whoami /user | find /i "S-1-5-18" > nul 2>&1 || ( call RunAsTI.cmd "%~f0" "%*" exit /b )
del /q/f/s !windir!\temp*.*`
file are not deleted.
if opening a cmd and execute the command, it work fine del /q/f/s !windir!\temp\*.*
del /q/f/s !windir!\temp\*.*
Hello,
downloaded and placed RunAsTI.bat file in to %windir%/system32 restarting computer, open a cmd elevated:
call RunAsTI.bat mybatchfile.cmd
orcall %windir%/system32/RunAsTI.bat mybatchfile.cmd
`@echo off setlocal EnableDelayedExpansion
whoami /user | find /i "S-1-5-18" > nul 2>&1 || ( call RunAsTI.cmd "%~f0" "%*" exit /b )
del /q/f/s !windir!\temp*.*`
file are not deleted.
if opening a cmd and execute the command, it work fine
del /q/f/s !windir!\temp\*.*