Replies: 1 comment
-
I can Do That, Adding to my Pull request now... |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
PowerShell.exe " sc.exe pause rpcss > $null ; if ($LASTEXITCODE -eq 5) {Start-Process -Verb 'RunAs' '%~0' %* ; exit 0 } " && goto :end0
with this line, you can run your script into admin mode,
it will trigger the UAC.
Beta Was this translation helpful? Give feedback.
All reactions