고일대로 고여버린 IT 고인물

  • 홈
  • 태그

NTP 2

윈도우 시간 동기화 명령어

부팅 시 혹은 일정 간격으로 강제 시간동기화가 필요한 경우가 있다. 그럴 경우 윈도우 시간 동기화 배치(Batch) 파일을 제작하여시작프로그램이나 윈도우 스케줄러에 등록하여 활용한다.  아래는 윈도우 시간 동기화 명령어이다.※ 192.168.0.1에 NTP 서버 IP 입력※ pause 명령어 추가 시 키를 입력해야 창이 닫힘 w32tm /config /syncfromflags:manual /manualpeerlist:"192.168.0.1" /reliable:yes /update w32tm /dumpreg /subkey:parameters net stop w32time net start w32time w32tm /resync w32tm /query /status echo %date% %time% pause

IT/Windows 2024.09.21

NTP 서버 구축

1. gpedit.msc 실행 2. Local Computer Policy > Computer Configuration > Administrative Templates > System > Windows Time Service > Time Providers 클릭3. Enable Windows NTP Server 더블 클릭 4. Enabled 클릭5. OK 클릭 6. Local Computer Policy > Computer Configuration > Administrative Templates > System > Windows Time Service 클릭7. Global Configuration Settings 클릭 8. Enabled 클릭9. AnnounceFlags에 5 입력 10. services...

IT/Windows 2024.09.21
이전
1
다음
더보기

Copyright © Kakao Corp. All rights reserved.

티스토리툴바