Net Time Access Denied

Discussion in 'Windows Server' started by Dean Halter, Dec 15, 2008.

  1. Dean Halter

    Dean Halter Guest

    Getting "System error 5 has occurred" and "Access is denied" when I run the
    command "net time" as an administrator on a (non domain, non AD) Windows 2003
    R2 SP1 server. Running "net time \\<local IP or computer name>†works fine.
    "Net time /querysntp" returns the correct server IP. "W32tm /resync
    /rediscover /nowait" show from the event logs that the server is getting the
    right time from the right server. However, it doesn't sync to the time
    server on its own. Any ideas why I get the access denied error?
     
    Dean Halter, Dec 15, 2008
    #1
    1. Advertisements

  2. Event logs?
    Has anyone made any group policy changes thatmight affect this? This should
    be working now, without any futzing.
     
    Lanwench [MVP - Exchange], Dec 15, 2008
    #2
    1. Advertisements

  3. Dean Halter

    kj [SBS MVP] Guest

    another thought - is the name of this servers workgroup the same as that of
    an available active directory domain or perhaps there's another server in
    the same workgroup?
     
    kj [SBS MVP], Dec 15, 2008
    #3
  4. Dean Halter

    Dean Halter Guest

    Event logs?
    nothing in hte event logs. if i use w32tm it logs that its getting valid
    ntp time and can sync.
    the ntp client and ntp server are not in a domain, but are in the same
    workgroup. i can run both net time \\client (dns, netbios or localhost) and
    net time \\server from the machine in question and the comman completes, but
    if i use net time without parrameters, I get the access denied message.
     
    Dean Halter, Dec 15, 2008
    #4
  5. Dean Halter

    kj [SBS MVP] Guest

    It's been a while, but I think this 'as expected'.

    from possibly faulty recolection;
    ntp uses tcp 123 and "net time" looks for a netbios advertising time server
    but attempts connects using windows authentication

    try a net time /querysntp
     
    kj [SBS MVP], Dec 15, 2008
    #5
    1. Advertisements

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.