I need to be able to set a time server via batch file.
I have made a small script
net time \\192.168.0.23 /set /yes
However, when I try to run this on one of our store computers, it says that the access is denied.
How do I get this to run with the admin username and password?
Any help will be much appreciated.