Jump to content
roman

RunAs "by hand" works, "RunAs()" command fails?

Recommended Posts

roman

Hello
My AutoIt-Script starts an executable (*.exe) file with "RunAs()". This worked for a long time, but from on day to the next, the executable fails to do its job, probably due to permission issues (there were some Windows 10 updates running on my workstation, may be the IT guys of my company added some securtiy policies?...)

If I start this same executable by hand, using Run As... with the same, identical user account in the Windows context menu, all works perfect.

Can anyone imagine, why a "manual" Run As.. in Windows 10 works, but the AutoIt "RunAs()" fails?

Regards

Share this post


Link to post
Share on other sites
david1337

Hi roman

Can you please show your code?

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

×