Uptime.exe Reporting Error

Discussion in 'Windows Server' started by John Bradbury, Jul 26, 2007.

  1. Guys,
    we run a nightly batch job to check uptime on around 300 servers. Recently
    we have had a few reporting errors where uptime.exe shows the uptime as say
    10 days when we know for a fact the server was rebooted that evening before
    the batch ran.

    I know from what little linformation I've been able to find that uptime
    generates the calculations from the event logs. Any thoughts?
    John Bradbury, Jul 26, 2007
    1. Advertisements

  2. Hi John,

    Are your event logs full? If they are then new logs cannot be written and
    the uptime utility will continue to read the existing older event log files.

    Coraleigh Miller
    Coraleigh Miller, Jul 27, 2007
    1. Advertisements

  3. I've checked this and new logs are being generated for other events just not
    the reboots. Given that uptime.exe uses these events [1074 etc] to calculate
    the uptime this is why the results are inaccurate.
    John Bradbury, Jul 29, 2007
  4. Check to see if the Shutdown Event Tracker in your group policy on the
    problem servers (Computer Configuration->Administrative Templates-> System)
    is disabled, if it is then no event id's for a shutdown or reboot would be
    recorded, and subsequently uptime.exe would be inaccurate.

    Coraleigh Miller, Jul 30, 2007
  5. Thanks for all your help
    John Bradbury, Jul 30, 2007
    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.