Created
January 9, 2020 20:25
-
-
Save JonathanMH/0d8e52d8983cdde222a105f907d1c8d8 to your computer and use it in GitHub Desktop.
unfuck windows time
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
net stop w32time | |
net start w32time | |
w32tm /resync /nowait | |
# $trigger = New-JobTrigger -AtStartup -RandomDelay 00:00:30 | |
# Register-ScheduledJob -Trigger $trigger -FilePath C:\Users\jonat\ntp-trigger.ps1 -Name StartupTriggerNTP |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment