Login
New User

Welcome to destr0yr's asylum
Thursday, August 07 2008 @ 01:04 PM PDT

Windows: The current time on this computer and the current time

WindowsAttempting to login to a member server, I received the following error:

The current time on this computer and the current time on the network are different. For more information about Date/Time Properties, see Help and Support. To log on, contact your system administrator.

I love error messages that tell me to refer to myself. Anyways, the Date/Time on this particular server is controlled via Group Policy and updates to a local NTP server. The time on that machine was reporting properly, as were all other machines within the domain. After fighting the 1U out of its home in the rack and connecting a CDROM, I booted with the "Offline NT Password & Registry Editor CD" and reset the admin password. Once logged in, I saw that the time was set a full month ahead. I can only assume a Domain Admin accidentally clicked a month ahead in the calendar and rather than clicking Cancel, clicked Ok.

I attempted to change the Date/Time using a couple different methods:
  1. Control Panel -> Date/Time
  2. Start -> Run, "cmd /k date"
  3. Right-click time in bottom right corner -> Adjust Date/Time
Each of these let me know that I did not have sufficient privileges. Checking the Local Security Policy (Admin Tools -> Local Security Policy -> Local Policies -> User Rights Assignment -> Change the system time) seemed to verify this was the case. Much to my chagrin, I was not able to add the admin user to the group as the option was grayed out. Googling suggested various fixes such as stopping the w32time service, running w32tm /config /update, or simply running the appropriate "net time" command. Again, each of these resulted in errors and Access Denied messages. To add more fuel to my already burning fire, the w32time service did notice that the time was incorrectly set ahead and refused to set the time properly as it was "too far" ahead. Here's the appropriate event id info:

Event Type: Error
Event Source: W32Time
Event Category: None
Event ID: 34
Date: 19/12/2006
Time: 8:26:31 PM
User: N/A
Computer: FOO
Description:
The time service has detected that the system time needs to be changed by -2591999 seconds. The time service will not change the system time by more than -54000 seconds. Verify that your time and time zone are correct, and that the time source 1.2.3.4 (ntp.m|0x0|1.2.3.5:123->1.2.3.4:123) is working properly.

For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp.


I was not able to do any "runas" commands since Kerberos wouldn't allow authentication - the time was too far ahead! So, I did what any good sysadmin would do - I got a coffee and went home. I figured the answer would come to me eventually, and it did later that evening as I was laying in bed. It was so simple! Reset the damned time through the BIOS! I picked up my phone and had one of the support drones reboot and reset the time. Sure enough, disaster had been averted.

Story Options

Trackback

Trackback URL for this entry: http://www.destr0yr.com/trackback.php/Windows_Current_Time_on_Computer

No trackback comments for this entry.
Windows: The current time on this computer and the current time | 5 comments | Create New Account
The following comments are owned by whomever posted them. This site is not responsible for what they say.
Windows: The current time on this computer and the current time
Authored by: Anonymous on Tuesday, April 03 2007 @ 11:16 AM PDT
Very helpful. I was beginning to pull my hair out. Nice simple solution.
Windows: The current time on this computer and the current time
Authored by: Anonymous on Thursday, April 05 2007 @ 11:57 AM PDT
Thank you! Thank you! Thank you!
Windows: The current time on this computer and the current time
Authored by: Anonymous on Wednesday, May 02 2007 @ 04:59 AM PDT
I am the administrator, but next time when it says.. contact your admin.. im gonna contact u.. Thank you, you are the boss!
Windows: The current time on this computer and the current time
Authored by: Anonymous on Tuesday, July 24 2007 @ 02:56 AM PDT
Same problem, only i had it on a VMware ESX server with virtual Windows 2003 server domain. Happend after reboot of ESX server and some movement of files on the server, seemed that some wrong configuration settings of the virtual machine destroyed the Windows NTP configuration.

I solved this issue by connecting the virtual server with an internal LAN without any other servers. Tried to login, and after approximately 10 -20 seconds i connected the server with the normal LAN, (before the login gave time-out, because it could not find a domain controller). Now the login went ok, and i could manually change the time settings, and did a NTP resync after that. Probably happens because first authentication happens via kerberos, and then NTLM?