w32tm access denied

Ahmed Maher Abdelsalam 21 Reputation points
2022-03-07T07:01:36.227+00:00

I already created GPO before long time to sync all servers and domain machines with my PDC, but after while servers unable to update time and whene i try to resync with domain using my account which is enterprice admin and local admin on all machines, i facing this error:

PS C:\Windows\system32> w32tm /resync
Sending resync command to local computer
The following error occurred: Access is denied. (0x80070005)

Windows for business | Windows Server | User experience | Other
0 comments No comments
{count} votes

4 answers

Sort by: Most helpful
  1. Anonymous
    2022-03-07T13:32:23.387+00:00

    Might try

    w32tm /unregister
    net stop w32time
    w32tm /register
    net start w32time
    w32tm /config /manualpeerlist:<ntp ip address> /syncfromflags:manual /reliable:yes /update
    net stop w32time
    net start w32time
    then check
    w32tm /query /source
    w32tm /query /configuration

    many can be found here.
    https://tf.nist.gov/tf-cgi/servers.cgi

    --please don't forget to upvote and Accept as answer if the reply is helpful--

    1 person found this answer helpful.

  2. Anonymous
    2022-03-09T13:47:50.08+00:00

    Then it sounds badly broken. May need to transfer roles to another healthy one and stand up a new one for replacement.

    --please don't forget to upvote and Accept as answer if the reply is helpful--

    1 person found this answer helpful.

  3. Anonymous
    2022-03-08T22:46:12.567+00:00

    Try this below exactly.

    net stop w32time
    w32tm /unregister

    ----------------------------------

    mandatory reboot

    ----------------------------------

    regsvr32 /u w32time.dll
    w32tm /register
    sc query w32time

    SERVICE_NAME: w32time
    TYPE : 20 WIN32_SHARE_PROCESS <----- check for shared process-------
    STATE : 1 STOPPED
    WIN32_EXIT_CODE : 1077 (0x435)
    SERVICE_EXIT_CODE : 0 (0x0)
    CHECKPOINT : 0x0
    WAIT_HINT : 0x0

    ---------------------------------------

    mandatory reboot

    ---------------------------------------

    net start w32time
    w32tm /config /manualpeerlist:132.163.96.3 /syncfromflags:manual /reliable:yes /update

    C:\Users\Administrator>w32tm /query /source
    132. 163.96.3

    C:\Users\Administrator>w32tm /query /configuration
    [Configuration]

    EventLogFlags: 2 (Local)
    AnnounceFlags: 5 (Local)
    TimeJumpAuditOffset: 28800 (Local)
    MinPollInterval: 6 (Local)
    MaxPollInterval: 10 (Local)
    MaxNegPhaseCorrection: 54000 (Local)
    MaxPosPhaseCorrection: 54000 (Local)
    MaxAllowedPhaseOffset: 1 (Local)

    FrequencyCorrectRate: 4 (Local)
    PollAdjustFactor: 5 (Local)
    LargePhaseOffset: 50000000 (Local)
    SpikeWatchPeriod: 900 (Local)
    LocalClockDispersion: 10 (Local)
    HoldPeriod: 5 (Local)
    PhaseCorrectRate: 1 (Local)
    UpdateInterval: 100 (Local)

    [TimeProviders]

    NtpClient (Local)
    DllName: C:\Windows\SYSTEM32\w32time.DLL (Local)
    Enabled: 1 (Local)
    InputProvider: 1 (Local)
    AllowNonstandardModeCombinations: 1 (Local)
    ResolvePeerBackoffMinutes: 15 (Local)
    ResolvePeerBackoffMaxTimes: 7 (Local)
    CompatibilityFlags: 2147483648 (Local)
    EventLogFlags: 1 (Local)
    LargeSampleSkew: 3 (Local)
    SpecialPollInterval: 1024 (Local)
    Type: NTP (Local)
    NtpServer: 132.163.96.3 (Local)

    VMICTimeProvider (Local)
    DllName: C:\Windows\System32\vmictimeprovider.dll (Local)
    Enabled: 1 (Local)
    InputProvider: 1 (Local)

    NtpServer (Local)
    DllName: C:\Windows\SYSTEM32\w32time.DLL (Local)
    Enabled: 0 (Local)
    InputProvider: 0 (Local)

    181164-image.png


  4. Florencio Sepulveda 1 Reputation point
    2022-06-15T01:33:57.427+00:00

    I don't know if it helps much, but I had the same problem even when I enter Windows 10 with my administrator account. When executing CMD, the following commands gave me an error:
    C:\Users\Florencio>w32tm /query /source
    Error: Access denied. (0x80070005)
    or
    C:\Users\Florencio>w32tm /query /configuration
    Error: Access denied. (0x80070005)
    but running cmd as administrator the above commands worked.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.