Re: runas - ERROR?
"valery_vi" <[email protected]>
| Newsgroups | gmane.comp.windows.autoit.user |
|---|---|
| Message-ID | <[email protected]> |
What is about this?
Run("regedit.exe")
It should be exotic case to use here runwait, I think.
Valery
--- In [email protected], Stefan Lubitz <stefan@...> wrote:
>
> Hi Carsten,
>
> I had this error also and solved it like this:
> RunWait("regedit.exe","path")
> It was realy necessary to include the path into the command. It
was not
> working like this:
> RunWait("c:\windows\regedit.exe")
> And the error only happens if I have used RunAsSet...... It was
realy
> strange.........
>
> Regards,
> Stefan
>
> Lüth, Carsten schrieb:
> > 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:c.lueth@...
> >
> >
> >
> >
> > Yahoo! Groups Links
> >
> >
> >
> >
> >
> >
> >
>