Last active
January 30, 2026 15:50
-
-
Save Sopor/57f21eaa12be62b3592b0fdcf2477799 to your computer and use it in GitHub Desktop.
Revisions
-
Sopor revised this gist
Dec 31, 2024 . 1 changed file with 1 addition and 3 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -4,7 +4,7 @@ SETLOCAL if /i %1==scheduler goto SCHEDULER echo %1 >%TEMP%\tcelevatedcmd.tmp "%SystemRoot%\System32\schtasks.exe" /run /tn "TotalCMDRunAdm" @@ -15,6 +15,4 @@ set /P startcmdpath=<%TEMP%\tcelevatedcmd.tmp "%APPDATA%\GHISLER\Command_Prompt.lnk" /K cd /d "%startcmdpath%" :END -
Sopor revised this gist
Dec 31, 2024 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -6,7 +6,7 @@ if /i %1==scheduler goto SCHEDULER echo %1 >%temp%\tcelevatedcmd.tmp "%SystemRoot%\System32\schtasks.exe" /run /tn "TotalCMDRunAdm" goto END -
Sopor revised this gist
Dec 31, 2024 . No changes.There are no files selected for viewing
-
Sopor revised this gist
Dec 31, 2024 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -6,7 +6,7 @@ if /i %1==scheduler goto SCHEDULER echo %1 >%temp%\tcelevatedcmd.tmp C:\Windows\System32\schtasks.exe /run /tn "TotalCMDRunAdm" goto END -
Sopor created this gist
Dec 31, 2024 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,20 @@ @echo off SETLOCAL if /i %1==scheduler goto SCHEDULER echo %1 >%temp%\tcelevatedcmd.tmp C:\Windows\System32\schtasks.exe /run /tn "MyApps\TotalCMDAsAdmin" goto END :SCHEDULER set /P startcmdpath=<%TEMP%\tcelevatedcmd.tmp "%APPDATA%\GHISLER\Command_Prompt.lnk" /K cd /d "%startcmdpath%" if EXIST "%temp%\tcelevatedcmd.tmp" DEL "%temp%\tcelevatedcmd.tmp" :END