runas - ERROR?

"Lüth, Carsten" <[email protected]>
Newsgroups gmane.comp.windows.autoit.user
Message-ID <[email protected]>
Hi Group!

; Set the RunAs parameters to use local adminstrator account
RunAsSet("Administrator", @Computername, "secret")
; Run registry editor as admin
RunWait("regedit.exe")
~~~~~~~~~~~~~~~~~~~~~

Don't work!
I get always back the folwing message: 
"unable to execute the external program. the directoryname is invalid"

Any ideas?
What's wrong?



Mit freundlichem Gruß / With kind regards 

Fielmann AG 

Carsten Lüth 
IT - Desktop Services
Weidestraße 118a 
22083 Hamburg 
Telefon: +49 - (0) 40 - 2 70 76 - 199 
mailto:[email protected] 



 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/AutoItList/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/AutoItList/join
    (Yahoo! ID required)

<*> To change settings via email:
    mailto:[email protected] 
    mailto:[email protected]

<*> To unsubscribe from this group, send an email to:
    [email protected]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.