diff --git a/AutoTx/Resources/Create-ElevatedCmdShortcut.ps1 b/AutoTx/Resources/Create-ElevatedCmdShortcut.ps1 deleted file mode 100644 index 246aa7aff6ceb0915cf717be771173bb3615fe1a..0000000000000000000000000000000000000000 --- a/AutoTx/Resources/Create-ElevatedCmdShortcut.ps1 +++ /dev/null @@ -1,10 +0,0 @@ -$lnkfile = ".\elevated-cmd.lnk" - -$WshShell = New-Object -comObject WScript.Shell -$Shortcut = $WshShell.CreateShortcut($lnkfile) -$Shortcut.TargetPath = "%windir%\system32\cmd.exe" -$Shortcut.Save() - -$bytes = [System.IO.File]::ReadAllBytes($lnkfile) -$bytes[0x15] = $bytes[0x15] -bor 0x20 #set byte 21 (0x15) bit 6 (0x20) ON -[System.IO.File]::WriteAllBytes($lnkfile, $bytes) \ No newline at end of file