Sign in to follow this  
Followers 0
jaskaa

Change Time Zone With Elevated Rights - Script Needed

2 posts in this topic

Good afternoon,

Im looking for some assistant with autoit for a job I need to do.

We have a location which needs all the PC's times zones changing

The users do not have admin rights so I need a script which will change the time zone using pre specified admin rights

Iv tried using vbs but Microsoft does not allow the auto specify username / password so it wont work.

A colleague advised that autoit lets you do this?

Does anyone have any ideas?

I found this but not sure how to run this with specified admin rights

Run("control timedate.cpl,,/Z (GMT-02:00) Mid-Atlantic")

Many thanks

Jason

Share this post


Link to post
Share on other sites



Hi, jaskaa, welcome to the forum. Check out RunAs in the help file, the example shows how to specify domain credentials.


√-1 2^3 ∑ π, and it was delicious!

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