Jump to content

Recommended Posts

Posted

I have some code that runs in VBSCript.

Runas.vbs


Set 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?


Posted

I was looking to get away from using the DOS version of RunAs, thanx for the reply though.

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...