Advertisement
easternnl

uaccmd.vbs - Generate an UAC prompt from VBS

May 27th, 2015
636
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. ' save this file as uaccmd.vbs in the Windows directory
  2. ' launch the file and an UAC prompt will be generated
  3. set oSh = CreateObject("Shell.Application")
  4. oSh.ShellExecute "C:\windows\system32\cmd.exe","", "", "runas", 1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement