I need to set the time on a Windows 2008 server via an internet clock server from a command line, and ensure that Windows 2008 doesn't do it by itself.
I will use this for a .cmd file which looks like this:
:start RunApp SetSystemTimeViaInternet goto start
The purpose is to ensure, that the server has the correct time, but that the time doesn't change while the app is running.
I tried to look at w32tm and "net time", but none of those seem to work. Any ideas?