Hi Daisy Zhou,
Seems the correct answer is
- as you pointed out
- PLUS the same for changing time zone - because they are sort of joined at the hip
- PLUS Replace a process level token
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
As per previous post:
In my application it is IMPERITIVE that Users be able to change the system time.
This has been available in Windows 2000, Windows XP, Windows Vista, Windows 7.
What is the means of accomplishing this?
Windows 10IOT is an embedded system. There is no "request Administrator Password" capability.
Please advise.
Hi Daisy Zhou,
Seems the correct answer is
Hello @Boyd Mills ,
By default, the normal user can not be able to change the system time.
If you can edit the following policy via local group policy editor and add the regular users or user group.
Computer Configuration\Windows Settings\Security Settings\Local Policies\User Rights Assignment\Change the system time
Then check if the the regular user can change the system time.
Hoep the information above is helpful.
Best Regards,
Daisy Zhou
Hi Daisy Zhou
Thank you for the response.
The Win10IOT machine is run as an industrial controller.
GUI is not guaranteed.
The applications must run as a regular user for security purposes.
However, the applications MUST be able to change the system time without human intervention.
This was easily done in Windows 2000, XT, Vista and 7 by allowing USERS to change time in the Local Security Policy.
They run in WORKGROUPS, not in a DOMAIN.
There is no guarantee of a "INTERNET TIME SERVER" to synch with.
Please advise.
Boyd
From the command prompt:
And the following source code:
int _tmain(int argc, _TCHAR* argv[])
{
SYSTEMTIME SystemTime;
GetLocalTime(&SystemTime);
if (!SetLocalTime(&SystemTime))
{
printf("setltime error %d", GetLastError());
}
return 0;
}
YIELDS:
Hello @Boyd Mills ,
Thank you for posting here.
Have you tried the method in the link you provided via UI?
If so, can you change the system time on Windows 10IOT?
I am sorry, I did not know the code you mentioned.
Should you have any question, please feel free to let us know.
Best Regards,
Daisy Zhou
Hello @Boyd Mills ,
How are things going on your end? Please keep me posted on this issue.
If you have any further questions or concerns about this question, please let us know.
I appreciate your time and efforts.
Best Regards,
Daisy Zhou
Hello @Boyd Mills ,
I just want to confirm the current situations.
Please feel free to let us know if you need further assistance.
Best Regards,
Daisy Zhou