-
-
Save bao3/729a3ca796d846cc277de8159f57c5dc to your computer and use it in GitHub Desktop.
Starts the Windows NTP-Server
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
reg add "HKLM\SYSTEM\CurrentControlSet\Services\W32Time\Config" /v "AnnounceFlags" /t REG_DWORD /d 5 /f | |
reg add "HKLM\SYSTEM\CurrentControlSet\Services\W32Time\TimeProviders\NtpServer" /v "Enabled" /t REG_DWORD /d 1 /f | |
net stop w32time && net start w32time |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment