Re: Autoit and 64 bit operating system
"valery_vi" <[email protected]>
| Newsgroups | gmane.comp.windows.autoit.user |
|---|---|
| Message-ID | <[email protected]> |
No, Sonny!
This is a result of security.
Try to start
Control Sysdm.cpl
as Guest and Administrator.
1. Set Guest password to 'g'
2. Try this:
RunAsSet("Guest", @Computername, "g")
Run("Control.exe Sysdm.cpl", "")
You will see MB:
"Unable to execute external program"
3. Try this:
RunAsSet("Administrator", @Computername, "Adminpassword")
Run("Control.exe Sysdm.cpl", "")
where "Adminpassword" is password of Administrator.
You will see 7 tabs.
4. Create new user account "User" - member of User group and
password - AutoIt.
RunAsSet("User", @Computername, "AutoIt")
Run("Control.exe Sysdm.cpl", "")
You will see 5 tabs.
This is a "head tricks" from MS but not 64/32, I think.
:-)
Valery
--- In [email protected], "Giang, Sonny" <sonny.giang@...>
wrote:
>
>
> The trick is when running from actual windows (ie Click on Start -
Run
> "Control Sysdm.cpl") the System Properties windows appears with 6
tabs in it
> (Advanced - Automatic Updates - Remote - General - Computer Name -
Hardware)
>
> When run inside the AutoIt Script it has only 4 tabs (General -
Computer
> Name - Hardware - Advanced)
>
> I guess there are two different file name Control.exe's on a 64
bit OS. One
> for 32 and 64 bit
>
> Regards
> Sonny Giang
> _____
>
> From: [email protected]
[mailto:[email protected]] On
> Behalf Of valery_vi
> Sent: Thursday, 19 October 2006 5:21 PM
> To: [email protected]
> Subject: [AutoIt] Re: Autoit and 64 bit operating system
>
>
>
> What is about this "trick"?
> File RunSysdm.au3:
>
> Run("Control.exe Sysdm.cpl", "")
>
> Valery
>
> --- In AutoItList@yahoogro <mailto:AutoItList%40yahoogroups.com>
ups.com,
> "Giang, Sonny" <sonny.giang@>
> wrote:
> >
> >
> > Guys,
> >
> > On a 64 bit system, If you select Start - Run "Control.exe
> Sysdm.cpl", you
> > can see a system property windows
> >
> > But if you do that the same command on in side an Autoit.exe
file
> it has a
> > different windows.
> >
> > Can you guy give me some hints on this?
> >
> > How to make them the same?
> >
> > Regs
> > Sonny Giang
> >
> >
> > Australia Post is committed to providing our customers with
> excellent service. If we can assist you in any way please
telephone
> 13 13 18 or visit our website.
> >
> > The information contained in this e-mail communication may be
> proprietary, confidential or legally professionally privileged. It
> is intended exclusively for the individual or entity to which it
is
> addressed. You should only read, disclose, re-transmit, copy,
> distribute, act in reliance on or commercialise the information if
> you are authorised to do so. Australia Post does not represent,
> warrant or guarantee the integrity of this e-mail communication
has
> been maintained nor that the communication is free of errors,
virus
> or interference.
> >
> > If you are not the addressee or intended recipient please notify
> us by replying direct to the sender and then destroy any
electronic
> or paper copy of this message. Any views expressed in this e-mail
> communication are taken to be those of the individual sender,
except
> where the sender specifically attributes those views to Australia
> Post and is authorised to do so.
> >
>
>
>
>
>
>
> Australia Post is committed to providing our customers with
excellent service. If we can assist you in any way please telephone
13 13 18 or visit our website.
>
> The information contained in this e-mail communication may be
proprietary, confidential or legally professionally privileged. It
is intended exclusively for the individual or entity to which it is
addressed. You should only read, disclose, re-transmit, copy,
distribute, act in reliance on or commercialise the information if
you are authorised to do so. Australia Post does not represent,
warrant or guarantee the integrity of this e-mail communication has
been maintained nor that the communication is free of errors, virus
or interference.
>
> If you are not the addressee or intended recipient please notify
us by replying direct to the sender and then destroy any electronic
or paper copy of this message. Any views expressed in this e-mail
communication are taken to be those of the individual sender, except
where the sender specifically attributes those views to Australia
Post and is authorised to do so.
>
> [Non-text portions of this message have been removed]
>
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/