locked
W2k8R2: The net time command is deprecated. Please use w32tm.exe to configure the time service.

    Question

  • My laptop (host: d1) and is the only domain controller fro domain demo.local. I am getting:


    The net time command is deprecated. Please use w32tm.exe to configure the time service. Please help me get rid of this deprecated time issue!

    Whenever I setup a new domain/forest I set the first domain controller time as follows:

    w32tm.exe /config /syncfromflags:domhier
    w32tm.exe /config /update
    w32tm.exe /config /syncfromflags:manual /manualpeerlist:time.windows.com
    w32tm.exe /config /update
    w32tm /resync

    Here is my w32time settings:

    Windows Registry Editor Version 5.00

    [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\w32time]
    "Type"=dword:00000020
    "Start"=dword:00000002
    "ErrorControl"=dword:00000001
    "ImagePath"=hex(2):25,00,53,00,79,00,73,00,74,00,65,00,6d,00,52,00,6f,00,6f,00,\
      74,00,25,00,5c,00,73,00,79,00,73,00,74,00,65,00,6d,00,33,00,32,00,5c,00,73,\
      00,76,00,63,00,68,00,6f,00,73,00,74,00,2e,00,65,00,78,00,65,00,20,00,2d,00,\
      6b,00,20,00,4c,00,6f,00,63,00,61,00,6c,00,53,00,65,00,72,00,76,00,69,00,63,\
      00,65,00,00,00
    "DisplayName"="@%SystemRoot%\\system32\\w32time.dll,-200"
    "ObjectName"="NT AUTHORITY\\LocalService"
    "Description"="@%SystemRoot%\\system32\\w32time.dll,-201"
    "FailureActions"=hex:80,51,01,00,00,00,00,00,00,00,00,00,03,00,00,00,14,00,00,\
      00,01,00,00,00,60,ea,00,00,01,00,00,00,c0,d4,01,00,00,00,00,00,00,00,00,00
    "ServiceSidType"=dword:00000001
    "RequiredPrivileges"=hex(7):53,00,65,00,41,00,75,00,64,00,69,00,74,00,50,00,72,\
      00,69,00,76,00,69,00,6c,00,65,00,67,00,65,00,00,00,53,00,65,00,43,00,68,00,\
      61,00,6e,00,67,00,65,00,4e,00,6f,00,74,00,69,00,66,00,79,00,50,00,72,00,69,\
      00,76,00,69,00,6c,00,65,00,67,00,65,00,00,00,53,00,65,00,43,00,72,00,65,00,\
      61,00,74,00,65,00,47,00,6c,00,6f,00,62,00,61,00,6c,00,50,00,72,00,69,00,76,\
      00,69,00,6c,00,65,00,67,00,65,00,00,00,53,00,65,00,53,00,79,00,73,00,74,00,\
      65,00,6d,00,54,00,69,00,6d,00,65,00,50,00,72,00,69,00,76,00,69,00,6c,00,65,\
      00,67,00,65,00,00,00,00,00

    [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\w32time\Config]
    "FrequencyCorrectRate"=dword:00000004
    "PollAdjustFactor"=dword:00000005
    "LargePhaseOffset"=dword:02faf080
    "SpikeWatchPeriod"=dword:00000384
    "HoldPeriod"=dword:00000005
    "LocalClockDispersion"=dword:0000000a
    "EventLogFlags"=dword:00000002
    "TimeJumpAuditOffset"=dword:00007080
    "PhaseCorrectRate"=dword:00000007
    "MinPollInterval"=dword:00000006
    "MaxPollInterval"=dword:0000000a
    "MaxNegPhaseCorrection"=dword:00000e10
    "MaxPosPhaseCorrection"=dword:00000e10
    "UpdateInterval"=dword:00000064
    "AnnounceFlags"=dword:00000005
    "MaxAllowedPhaseOffset"=dword:0000012c

    [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\w32time\Parameters]
    "ServiceDllUnloadOnStop"=dword:00000001
    "ServiceMain"="SvchostEntry_W32Time"
    "ServiceDll"=hex(2):43,00,3a,00,5c,00,57,00,69,00,6e,00,64,00,6f,00,77,00,73,\
      00,5c,00,73,00,79,00,73,00,74,00,65,00,6d,00,33,00,32,00,5c,00,77,00,33,00,\
      32,00,74,00,69,00,6d,00,65,00,2e,00,44,00,4c,00,4c,00,00,00
    "Type"="NTP"
    "NtpServer"="time.windows.com"

    [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\w32time\TimeProviders]

    [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\w32time\TimeProviders\NtpClient]
    "Enabled"=dword:00000001
    "InputProvider"=dword:00000001
    "AllowNonstandardModeCombinations"=dword:00000001
    "CrossSiteSyncFlags"=dword:00000002
    "ResolvePeerBackoffMinutes"=dword:0000000f
    "ResolvePeerBackoffMaxTimes"=dword:00000007
    "CompatibilityFlags"=dword:80000000
    "EventLogFlags"=dword:00000001
    "LargeSampleSkew"=dword:00000003
    "DllName"=hex(2):43,00,3a,00,5c,00,57,00,69,00,6e,00,64,00,6f,00,77,00,73,00,\
      5c,00,73,00,79,00,73,00,74,00,65,00,6d,00,33,00,32,00,5c,00,77,00,33,00,32,\
      00,74,00,69,00,6d,00,65,00,2e,00,44,00,4c,00,4c,00,00,00
    "SpecialPollTimeRemaining"=hex(7):00,00
    "SpecialPollInterval"=dword:00000384

    [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\w32time\TimeProviders\NtpServer]
    "InputProvider"=dword:00000000
    "AllowNonstandardModeCombinations"=dword:00000001
    "EventLogFlags"=dword:00000000
    "DllName"=hex(2):43,00,3a,00,5c,00,57,00,69,00,6e,00,64,00,6f,00,77,00,73,00,\
      5c,00,73,00,79,00,73,00,74,00,65,00,6d,00,33,00,32,00,5c,00,77,00,33,00,32,\
      00,74,00,69,00,6d,00,65,00,2e,00,44,00,4c,00,4c,00,00,00
    "Enabled"=dword:00000001

    Thanks,
    Jim
    Friday, February 27, 2009 6:14 PM

Answers

  • Solved. Time was too far off to be sync'ed. I brought it closer and then it syn'ed. 
    • Marked as answer by magoo42 Monday, March 02, 2009 6:03 PM
    Monday, March 02, 2009 2:48 PM