Resync time with NTP server after system restore.

I just wanted to write with a really simple solution to a very simple problem.

You have just restored a server from a backup or a snapshot taken a day or two ago and now when you try to log in through remote desktop you get a message saying that because the time difference on the server is greater than a certain amount unable to authenticate.

It’s quite a logical problem.

Simply go into a command prompt on the server using a physical connection or if it’s a virtual machine, connect to the console. Then run this command:

w32tm /resync

That’s all there is too it. assuming your network is set up to use an NTP server your servers time will be updated and you can log in right away.

Of course, if your patient, you could just wait for this to happen automatically after some time but I hate waiting for things to just happen.