Sign in to follow this  
Followers 0
4Eyes

How to set system time under Vista with UAC on?

2 posts in this topic

#1 ·  Posted (edited)

Folks,

Is there a known working method to set the system time under Vista with UAC enabled?

I've tried _SetTime(), Jennico's method of DllCall("Kernel32.dll", "int", "SetSystemTime", "ptr", DllStructGetPtr($tSystemTime)), and _Date_Time_SetSystemTime() which is documented as 'may not work' ... well, it certainly does not work.

And just for record I hate Vista and UAC both! Don't start me....

4Eyes

PS Sorry for double post, the forums had a 'database error' just while I was trying to post.

Edited by 4Eyes

Share this post


Link to post
Share on other sites



Try disable uac before run script for know why it does'nt work...


AutoIt 3.3.14.2 X86 - SciTE 3.6.0WIN 8.1 X64 - Other Example Scripts

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