|
Re: Runas problem (kind of....): msg#00246windows.autoit.user
try this... (uncomment lines for stealth mode) SetEnv,user,UserNoDomain SetEnv,password,your_password_here SetEnv,your_program,c:\\my program\\here.exe SetTitleMatchMode,2 Run,%comspec% /c runas /user:%user% "%your_program%",,hide WinWait,cmd.exe,,30 IfEqual,errorlevel,1,Goto,noGood ;WinMove,cmd.exe,,-2000,-2000 Sleep,1000 WinActivate,cmd.exe WinWaitActive,cmd.exe,,30 IfEqual,errorlevel,1,Goto,noGood Send,%password%{ENTER} Exit noGood: MsgBox,4096,Error,Script Error Exit --- In AutoItList@xxxxxxxxxxxxxxx, "Kenneth M. Hargis" <stiletto@xxxx> wrote: > > Well, right now I'm actually testing it on my network at home, which is > /not/ on a domain model. I'm just trying to get it to run as local > Admin. If I can even get that much working, it would be fine for my purposes. > > -Ken > > > >Run,Runas.exe /user:username@xxxx "your exe.exe" > > > >are you using the domain name... > > > > > > > > > >Yahoo! Groups Sponsor > ><http://rd.yahoo.com/M=249982.3179269.4495679.1261774/D=egroupweb/S=1 705144708:HM/A=1524963/R=0/SIG=12ongbbsq/*http://hits.411web.com/cgi- bin/autoredir? camp=556&lineid=3179269&prop=egroupweb&pos=HM>aa97d1.jpg > > > >aa9818.jpg > > > >To unsubscribe from this group, send an email to: > >AutoItList-unsubscribe@xxxxxxxxxxxxxxx > > > > > > > >Your use of Yahoo! Groups is subject to the > ><http://docs.yahoo.com/info/terms/>Yahoo! Terms of Service. ------------------------ Yahoo! Groups Sponsor ---------------------~--> Looking for the latest Free IT White Papers? Visit SearchMobileComputing.com to access over 500 white papers. Get instant access at SearchMobileComputing.com Today http://us.click.yahoo.com/ZyjvfD/PLNGAA/uitMAA/EGnolB/TM ---------------------------------------------------------------------~-> To unsubscribe from this group, send an email to: AutoItList-unsubscribe@xxxxxxxxxxxxxxx Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ |
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: Re: Runas problem (kind of....): 00246, Kenneth M. Hargis |
|---|---|
| Next by Date: | Re: Runas problem (kind of....): 00246, Private Name |
| Previous by Thread: | Re: Re: Runas problem (kind of....)i: 00246, Kenneth M. Hargis |
| Next by Thread: | Re: Runas problem (kind of....): 00246, Private Name |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |