T
Tony
Hi,
I'm in urgent need of help. We know that if we want to
run a executable as a differet user, we shift-right click
and then say 'run as' and specific different parameters.
I need to automate this. So, How do I execute an
executable by passing the 'Run as User' username and
password, domain etc, as commandline ? How do I do that
in VB, or VB Script or Windows Script or by using any
other commandline tool to invoke the executable with a
different username and password. The reason why we need
this is, we need to provide access for users to run an
executable, but when they invoke it we don't want it to be
run using their logon id. Instead we wanted to give it
permanantly a different logon userid with higher
privileges which is actually transparent to the user. But
we don't want the user to know the password of that id.
For e.g if the executable to be run is XX.EXE I want to
do something like one of the following:
a)
XX.EXE /RUSER myusername, /Rpass mypass /RDomain mydomain
(or)
b)MYVBprogram.exe /executable XX.EXE /RUSER
myusername, /Rpass mypass /RDomain mydomain
Thanks much
I'm in urgent need of help. We know that if we want to
run a executable as a differet user, we shift-right click
and then say 'run as' and specific different parameters.
I need to automate this. So, How do I execute an
executable by passing the 'Run as User' username and
password, domain etc, as commandline ? How do I do that
in VB, or VB Script or Windows Script or by using any
other commandline tool to invoke the executable with a
different username and password. The reason why we need
this is, we need to provide access for users to run an
executable, but when they invoke it we don't want it to be
run using their logon id. Instead we wanted to give it
permanantly a different logon userid with higher
privileges which is actually transparent to the user. But
we don't want the user to know the password of that id.
For e.g if the executable to be run is XX.EXE I want to
do something like one of the following:
a)
XX.EXE /RUSER myusername, /Rpass mypass /RDomain mydomain
(or)
b)MYVBprogram.exe /executable XX.EXE /RUSER
myusername, /Rpass mypass /RDomain mydomain
Thanks much