Windows 타임 동기화 설정하기
Windows 2011/07/12 15:13
Filename : TimeServerSync.bat
@echo off
REM Windows Server Time Sync
REM Windows Time Service 시작
sc config w32time start= auto
sc stop w32time && sc start w32time
REM Time Sync Server Setting
w32tm /config /syncfromflags:manual /manualpeerlist:타임서버IP(또는 도메인주소) /update
REM 1일마다 타임동기화설정
reg add HKLM\SYSTEM\CurrentControlSet\Services\W32Time\TimeProviders\NtpClient /f /v SpecialPollInterval /t REG_DWORD /d 86400
------------------------------------------------------------------------------------------------------------------
현재 설정된 타임서버 확인
net time /queyrsntp
시간대 확인
w32tm /tz
타임서버와 시간차이 확인
w32tm /monitor /computers:타임서버IP(도메인주소)
w32tm /stripchart /computer:타임서버IP(도메인주소)
w32tm /stripchart /computer:타임서버IP(도메인주소)
시간 동기화 바로 하기
w32tm /resync /nowait
## 참고
windows xp(sp3), windows 2003 은 기본 시간 동기화 기간이 7일(604800 초)이다
windows 2008 은 기본 시간 동기화 기간이 1시간(3600 초)이다.
# 오류
날짜에 차이가 있을 경우, 타임동기화가 안될 수 있으므로 날짜를 맞추어 줘야 함
'Windows' 카테고리의 다른 글
| Windows 7, MS-Office 2003, 2007 최근 문서 목록 지우기 (0) | 2012/02/28 |
|---|---|
| 클라우드로 동기화할 데이터가 여기저기 흩어져 있는 경우, 보다 쉽게 동기화하기 (0) | 2011/10/26 |
| Windows 타임 동기화 설정하기 (2) | 2011/07/12 |
| [Windows] 파일, 폴더 날짜 그대로 복사하기 (0) | 2011/06/21 |
| cmd 창에서 프롬프트의 경로가 길어서 불편할 경우 (0) | 2011/04/21 |
| Windows XP 설치 시간 반으로 줄이기 (0) | 2011/04/18 |


