ShellExecute question

  • Follow


I have a script that uses the ShellExecute function to run wscript.exe in 
Windows 7 as an elevated user (with the "runas" verb). When it runs, a UAC 
window pops up and the user must click "Other User" and then enter the 
username and password of an administrative account to continue. Is there a 
parameter I can include in the script which will pre-populate the username 
box in the UAC window so the user only needs to enter the password?

Thanks... 

0
Reply D 3/2/2010 10:47:15 PM


0 Replies
671 Views

(page loaded in 0.033 seconds)

8/3/2012 6:46:09 PM


Reply: