I want to configure Windows Time Settings as a non-administrator user and without using an elevated command prompt. I gave permission to user to change the system time from User Rights Assignments. Also I gave full control to user in registry for W32Time keys.
I can run commands such as:
- w32tm /query /peers
- w32tm /query /status
- w32tm /query /configuration
- w32tm /query /source
- w32tm /resync
- w32tm /config
without any problem but when I try to run:
- w32tm /config /update
- w32tm /unregister or /register
I encounter with Access Denied problem.
In order to run these commands as user, which permissions should I give to user?
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\w32time\Config
?