0
The scheduled time synchronisation task does not seem to work, probably due to some kind of privilege issue. Running w32tm /resync
only works when I run the Command Prompt as Administrator
.
To be honest, I do not think it can be harmful to let anyone synchronise the time with the correct time (though it might be harmful to let them set the time to an arbitrary value). Can I allow non-administrator users to synchronise time (but possibly, not to an arbitrary value)? This is my personal computer, so my user is the only user and it belongs to the Administrator group, but since it is not actually the Administrator
, it requires UAC elevation to run the time synchronisation command. I would like to avoid this and be able to synchronise time without fuss.
Is this supposed to allow the user to run the time synchronisation command without UAC elevation? My user account already belonged to
Administrators
, and I added my account there as your instructions (also, restarted the PC), but running the command in the Command Prompt still showed 'Access is denied' when the Command Prompt was not as Administrator. – Damn Vegetables – 2016-12-27T15:20:41.030@DamnVegitables I'm not sure, as I can't test it. I only run as a real admin here. And I use the ntp service to auto sync the time. – DavidPostill – 2016-12-27T15:26:15.230
@DamnVegitables I see you've accepted the answer (thanks). Does that mean you have got it working? – DavidPostill – 2016-12-27T16:37:56.687
Yes and no. I created a normal user that does not belong to the
Administrators
group, and added it to the allowed list. With that account, I could run the w32tm command without running the Command Prompt as the Administrator. But if I added the account to theAdministrators
group, the w32tm command also showed 'Access is denied' when the Command Prompt was not run as the Administrator. I thought perhaps this was the closest answer I could ever get, and if I do not mark it as the answer now, I may forget to do so later, which is not a polite way to thank your effort. – Damn Vegetables – 2016-12-27T18:00:07.680