WMI 필터링을 사용하여 그룹정책으로 인증된 시간 서버 구성하기
?? : Configuring an Authoritative Time Server with Group Policy Using WMI Filtering
?????? ???, ????(Brian Singleton)???. Windows ??? ?? ?????? ?? ?? ??? ????.
"????? ?? Windows ??? ??? ??? ? ?? ??? ???? ??? PDC FSMO ??? ?? ?? ??? ?????? ??????"
? ??? ?? ??? ???? ? ??? ????.
?? PDC ????? ??? ?? ??? ????? ????? ?????, ?? ?????? ???? ?? ??? ?????.
?? PDC ?????? ????, ??? ??? ???? ???, ??? ??? ?? ???? ?? ?? ???, ????? ???? ?? ??? ??? ?? ????. ???? ?? ?? ? ??? ???? ??? ???, ? ???? ?? ??? ??? ??, WMI ??????.
WMI(Windows Management Instrumentation)? Windows? ??? ???? ???? ??? ?? ???? ?? ??? ??? ????? ? ? ????. ????? ?? WMI? ???? ???? ??? ??? ? ?? ?? ???, ????? ???? ???? ??? ?? ??? ??? ?? ????.
?? ? ??? ???? ?? ?? ??? WMI? ?? ?? ?? ?? ????? ?? ??? ?? ??? ??? ? ?? ?????.
??? ?? ??? ???? ?? W32Time ??? ??? ??? ???? OU? GPO? ??? ? ????. ??? ?? ???? ??? ?? ????? ??? ????? PDC ????? ??? ???? ???, WMI ???? ??? ? ????.
WMI ???? Windows XP/Windows Server 2003 ?? ??? ?????? ?????. ?, Windows 2000?? WMI ???? ??? ? ??? ?? ?????.
??? ??? ???.
? ??? ??? ???? Windows Server 2003???, ?? ??? Windows Server 2008?? ?????. ?? ???? ?? ??(GPMC : Group Policy Management Console)? ?????? ??? ? ????. Windows Vista? ???? ??? GPMC? RSAT(Microsoft Remote Server Administration Tools)? ???? ??? ???.
WMI ??? ????????.
?? ??? ??? ?????.
?? ???? ??? ??? ??????.
Select * from Win32_ComputerSystem where DomainRole = 5
WMIC? ???? DomainRole ??? ?? ?? ??? ? ????. ??? ???? ??? ??? ???? ??? ?? ?? ????? ?? ??? ?????.
???? DomainRole ?? ?? ???? :
wmic computersystem get domainrole
???? DomainRole ?? ?????? (??? M1? ?? ??????) :
wmic /node:”M1” computersystem get domainrole
WMI?? ????? ?? ??? ???? ??? ????? ????. Win32_ComputerSystem ???? Windows ????? ???? ??????. ????? ??? ?? WMI ???? ?? ??? MSDN ??? ?????.
WMI ???
https://msdn.microsoft.com/en-us/library/aa394554(VS.85).aspx
Win32_ComputerSystem ???? ?????? ??? ????? ?? ????? ??? ? ?? ??? ???? ??? ????. ??? ? ?? ??? ?? ??? DomainRole? ???????.
MSDN ?????? :
DomainRole
??? ??? ??????? ??? ??. ??? ????? ?? ????? ?? ???? ????. ?? ??, DomainRole ??? ???? ?? ???????? ????. ? ??? CIM_ManagedSystemElement???? ????.
? ??
0 Standalone Workstation
1 Member Workstation
2 Standalone Server
3 Member Server
4 Backup Domain Controller
5 Primary Domain Controller
?? ??? ? ? ??? 5? Primary Domain Controller? ?????. ??? ??? ??, Select * from Win32_ComputerSystem where DomainRole = 5, ? DomainRole? 5? ??? ???? ?? ?????. ?? ?? ??? ????? Windows ?? GPO? ???? ???, DomainRole=4? ??? ???.
?? ?? ??? ?? ?? GPO? ??? WMI ??? ??? ??????.
????? ???? ?? ??? ?? ?? GPO? FSMO ??? ?? PDC ?????? ??? ????? ???? ????. ? ???? ??? ????, PDC ??? ?? ??? ????? ??? ? ?? ??? ??? ??? ????. ??, PDC? ???? ??? ??? ????? ???? PDC ????? ??? ??? ??? ????? ???, ??? ?? ?? ???? ????? ??? ???? ??? ????.
??? WMI ??? ?? ???? ??? WMI??? ???? ????? ??? ????? ???? ????.
??? ???? ??????.
Windows Management Instrumentation
https://msdn.microsoft.com/en-us/library/aa394582(VS.85).aspx
WMI Classes
https://msdn.microsoft.com/en-us/library/aa394554(VS.85).aspx
WMI filtering using GPMC
https://technet.microsoft.com/en-us/library/cc779036.aspx
Windows Management Instrumentation Command-line
https://technet.microsoft.com/en-us/library/cc784189.aspx
- Brian Singleton