Jump to content
Sign in to follow this  

Change Time Zone With Elevated Rights - Script Needed

Recommended Posts

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


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.

"Profanity is the last vestige of the feeble mind. For the man who cannot express himself forcibly through intellect must do so through shock and awe" - Spencer W. Kimball

How to get your question answered on this forum!

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  

  • Recently Browsing   0 members

    No registered users viewing this page.

  • Create New...