I am trying to run the following command in cmd with admin mode:
psexec -u mydomain\myuser -p mypass net time /set /domain:%USERDOMAIN% /y
I am getting: 'net exited with error code 2'
this is only working when i change UAC level to 3 (instead of 4)
how can resolve this problem? how can i sync the clock of the server? maybe there is a powershell alternative?
I need your help
Thanks!