How Do You Use PowerShell to Correct the Time on Your Windows Machine?

Problem scenario
You are trying to correct the time of your Windows machine. You run "w32tm /resynch", but you get "The following error occurred: The service has not been started. (0x80070426)". What should you do?

Solution

  1. Open PowerShell as administrator.
  2. Run these five commands:
net stop w32time
w32tm /unregister
w32tm /register
net start w32time
w32tm /resync /nowait

If you wanted a non-PowerShell method, see this posting.

Leave a comment

Your email address will not be published. Required fields are marked *