Sign in to follow this  
Followers 0
jruelan

Elevation?

7 posts in this topic

Hello, i have a script i made in xp and it ran very well, when i tried to run it in vista...

a popup window shows and here's what it says

Autoit Error

Line -1:

Error: Unable to execute the external program. The request operation requires elevation.

What is this all about...?

Tnx... :)

Share this post


Link to post
Share on other sites



the external application is also an autoitscript.. by the way, it is made on AutoIt v3.2.8.1

Share this post


Link to post
Share on other sites

the external application is also an autoitscript.. by the way, it is made on AutoIt v3.2.8.1

We can't help if we don't see the code :)

Share this post


Link to post
Share on other sites

i made my script in AutoIt 3.2.8.1 and it runs perfectly. When i downloaded the Autoit 3.2.10.0, a lot of errors occurred. is 3.2.10.0 not compatible with 3.2.8.1?

tnx

Share this post


Link to post
Share on other sites

#5 ·  Posted (edited)

Hi,

I have the same error when i run a little code as :

RunAsSet('RayAdministrateur', @Computername, 'yalmdp')
MsgBox(0, 'Message', 'Now running with admin rights.')

Run ("C:\Program Files\_Securite\_AV_PF\ESEtSmartSecurity\egui.exe")

If you can help us, i shall be happy!

Regards

RayMan

Edited by RayMan29

Share this post


Link to post
Share on other sites

Between 3.2.8.1 and 3.2.10.0 there were alot of changes - you have to change your script. In one of the forums there is a sitcky note (on top of all threads) which will show you what to do.

The request operation requires elevation.

means: to execute that program you need to have admin privileges.

Also - 3.2.12.0 Release Note:

- Removed: RunAsSet(). (Replaced with RunAs() and RunAsWait())

Conclusion: read the help file to figure how to make your scripts work.


SNMP_UDF ... for SNMPv1 and v2c so far, GetBulk and a new example script

wannabe "Unbeatable" Tic-Tac-Toe

Paper-Scissor-Rock ... try to beat it anyway :)

Share this post


Link to post
Share on other sites

Hi jruelan,

Please create descriptive topics.

Using one word topics makes it really difficult to use the search feature, and those that could probably answer your question will probably not even read your thread.

Doing it enough could cause your posting privileges to be taken away all together, and we don't want that :P .

Thanks.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0