(this post short url: https://git.io/JfvEl)
WindowsKey + R
type in the run prompt: powershell start-process powershell -verb runAs
Hit the keys Alt + y
iex (new-object system.net.webclient).DownloadString("https://git.io/JfvET")
iex (new-object system.net.webclient).DownloadString("https://gist.githubusercontent.com/elreydetoda/d53e11fc0dfc8a017fca549a2347560c/Set-WindowsUTCTime.ps1")
Invoke-WebRequest -OutFile Set-WindowsUTCTime.ps1 "https://gist.githubusercontent.com/elreydetoda/d53e11fc0dfc8a017fca549a2347560c/raw/d98d424f60479f69ad891ebe1a666fd0102e48d9/Set-WindowsUTCTime.ps1"
thank you @jaredhaight
Set-ExecutionPolicy Bypass -Scope Process
./Set-WindowsUTCTime.ps1
just run the following after you have run the script once. That will resync the time service to the proply configured time. NOTE: you will need to execute the command as Admin. So look here for that.
w32tm /resync
once you have executed the command, you should be able to go back by just hitting the up arrow in your powershell terminal
- You can hit
Ctrl + r
to start searching through your history. - start typing
w32
and it should show up - Then hit Enter to execute again.