sTe Posted May 27, 2007 Posted May 27, 2007 I have some code that runs in VBSCript.Runas.vbsSet objShell = CreateObject("Shell.Application")strApplication="CMD.EXE"strArguments=""objShell.ShellExecute strApplication, strArguments, "", "runas"Does anyone know if I can pre-populate the box that appears "The following user" with a specific username?
#rootworm Posted May 27, 2007 Posted May 27, 2007 (edited) oops, sorry.i read your post too quickly. i thought you were just running "cmd.exe /c runas" Edited May 29, 2007 by #rootworm
sTe Posted May 27, 2007 Author Posted May 27, 2007 I was looking to get away from using the DOS version of RunAs, thanx for the reply though.
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now