Sign in to follow this  
Followers 0
cjwallace

RUNAS TIMEDATE.CPL

2 posts in this topic

Hi guys. i have been using autoit to run applications as other users and it is working ok.

I now need to run an control panal app timedate.cpl as another user who has admin rights.

I get the following error

Line 0 (File "D:\timedate.exe")

RunWait("C:\winnt\system32\timedate.cpl")

Error: unable to execute the external program

Any ideas how i could do this?

Share this post


Link to post
Share on other sites



Dont worry, i found out i need to use control.exe timedate.cpl :">

All is ok now

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