I'm trying to simulate a different date/time on an Azure VM to test an application, but the time keeps resetting itself to the current date/time. Is there a way to force the server to stay at a specific date/time until I manually change it back?
I have disabled the Windows Time service, the Hyper-V Time Synchronization Service and changed the time settings to not synchronize with an internet time server. Before doing this the server would immediately revert to the correct date/time. Now it will stay for an hour or more but then still reverts to the current date/time.
What causes this and is there a way to stop it?