sTe Posted May 27, 2007 Share 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? Link to comment Share on other sites More sharing options...
#rootworm Posted May 27, 2007 Share 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 Link to comment Share on other sites More sharing options...
sTe Posted May 27, 2007 Author Share Posted May 27, 2007 I was looking to get away from using the DOS version of RunAs, thanx for the reply though. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now