How to stop the ntp server in Windows?

How to stop the ntp server in Windows?

Stop the W32time service:

net stop W32Time

Select a NTP server:

net time /setsntp:ntp.server.example.com

Start the W32time service:

net start W32Time

You will need to enter these commands in the Command Prompts. For any IT specialists, the “net” tool is a very useful tool to use once you mastered it. You can use it to automate service startup or shutdown by adding it into your scripts.