Monday, December 31, 2012

w32tm time config

On one of the Domain Controllers : 
  • w32tm /configure /manualpeerlist: nl.pool.ntp.org /syncfromflags:manual /update
  • net stop w32time && net start w32time
  • w32tm /resync /rediscover

On member servers:
  • W32tm /config /syncfromflags:domhier /update
  • net stop w32time && net start w32time
  • W32tm /resync /rediscover 
Test :
  • w32tm /query /status
  • w32tm /query /source
  • w32tm /monitor

KMS Keys

To enable Key Management Service (KMS) or use Active Directory Based Activation (ADBA), a special key is used that tells the OS to use the organization's KMS or ADBA to activate, instead of the Microsoft online clearing service

slmgr.vbs /ipk <the KMS product key>

slmgr.vbs -skms <ip of you KMS> if you don't have a srv record or different domain
slmgr /ato