#127716 - 2004-10-11 09:11 PM
runas scripting
|
RonM
Fresh Scripter
Registered: 2004-10-11
Posts: 16
|
I have a command here that works form a command line perfectly but i cant get kixtart to run it. it gives me the runas options help when it runs.
RUN "runas /u:sssnt\username \\avalanche\fx\fx\msjavx86.exe | SANUR password
Sanur is a little util to pass the password to the runas command. any ideas?
|
|
Top
|
|
|
|
#127720 - 2004-10-12 02:14 AM
Re: runas scripting
|
Incognito
Getting the hang of it
Registered: 2001-07-09
Posts: 66
|
Greeting Ron,
If you need an alternative to runas, the CPAU utility works quite nicely:
http://www.joeware.net/win/free/tools/cpau.htm
You can compile jobs and encrypt the job information to pass passwords. I believe this may be a better utility to use then the RUNAS since it has better password handling.
|
|
Top
|
|
|
|
#127721 - 2004-10-12 02:33 PM
Re: runas scripting
|
RonM
Fresh Scripter
Registered: 2004-10-11
Posts: 16
|
appreciate the answer. that worked nicely. also, right now i need something quick and dirty to use as we are in a bind. 145 machines to attend to and only 2 it staff. job needs to be completed by friday. I will look at the cpau util though. thanks.
btw i intend to only have these people run this script for maybe and hour before disabling the account used.
|
|
Top
|
|
|
|
#127724 - 2004-10-14 11:37 PM
Re: runas scripting
|
Anonymous
Anonymous
Unregistered
|
Hi there, did you ever get this to work?
|
|
Top
|
|
|
|
#127725 - 2004-10-14 11:48 PM
Re: runas scripting
|
Anonymous
Anonymous
Unregistered
|
Hi Shawn, could you take a look at this and let me know what I'm doing wrong. I can't seem to get this command working correctly...
RUN "runas /user:domain\support \\mainfileserver\setuprmt.exe | sanur password"
Thank you.
|
|
Top
|
|
|
|
Moderator: Jochen, Allen, Radimus, Glenn Barnas, ShaneEP, Ruud van Velsen, Arend_, Mart
|
0 registered
and 616 anonymous users online.
|
|
|