Wrox Home  
Search P2P Archive for: Go

  Return to Index  

pro_vb thread: RUNAS programmatically driven WIN 2000


Message #1 by andrew.c.watts@b... on Thu, 6 Jul 2000 16:29:38
I need to run RUNAS for an alternate user -
When I enter at the command line -
C:\runas /env /user:NTMRTN1/watXYZ "h:\test.exe"
I get prompted for NTMRTN1/watXYZ password

Is there an environmental variable that can be set with the password so 
that this will happen discretely !!??

Such capability was available using the SU Utility made by Scott Field
of Microsoft for WIN NT.

Thanks !

  Return to Index