Skip to content

Instantly share code, notes, and snippets.

View billmathews's full-sized avatar

Billy Mathews billmathews

View GitHub Profile
@billmathews
billmathews / gist:44e92874abfd877127499c6da8746a41
Created September 25, 2017 12:05
Open Command Window Here Registry Entries
[-HKEY_CLASSES_ROOT\Directory\shell\runas]
[HKEY_CLASSES_ROOT\Directory\shell\runas]
@="ElevatedCMD"
"HasLUAShield"=""
[HKEY_CLASSES_ROOT\Directory\shell\runas\command]
@="cmd.exe /s /k pushd \"%V\""
[-HKEY_CLASSES_ROOT\Directory\Background\shell\runas]