Skip to content
Snippets Groups Projects
Commit dcbbb282 authored by Niko Ehrenfeuchter's avatar Niko Ehrenfeuchter :keyboard:
Browse files

Remove leftover script from outdated installation method.

parent aca092f4
No related branches found
No related tags found
No related merge requests found
$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
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment