CodePlex Uptime vs. Microsoft Uptime?

Aug 8, 2009 at 6:55 PM
Edited Aug 9, 2009 at 4:15 AM

I was wondering what's the difference between this CodePlex version of "Uptime" versus the version that Microsoft distributes??

Aug 11, 2009 at 8:52 AM
Edited Feb 27, 2012 at 7:05 PM

Thanks for the link. I didn't know about Microsofts uptime.

I downloaded it and it seems it do a good job. Maybe I could save some lifetime if I knew about it a bit earlier.

Here are the differences I see:

  • License: This version is free and open source. Microsoft's version is proprietary.
  • Security/Requirements: This version is running in a managed environment (.NET). MS version seems to be native.
  • Size: This version is ~28% smaller than Microsoft's version (12.5KB compared to 44.6 KB).
  • Speed: Microsoft's version is analytical ~35% faster. But both complete there tasks immediately.
  • Responsibility: This version is following the single responsibility principle. It just displays the current uptime and exits. Microsoft's version offers more features. It can also be used to display system events and statistics or application failure events.
  • Managed .NET vs. native non .NET
  • free and open source vs. proprietary and closed source
  • Taste: Finally it depends on your own taste witch version you prefer.

For me the speed and size difference doesn't matter. Both are small and printing the result immediately to stdout.

Aug 11, 2009 at 3:07 PM

The main difference: MS uptime is correct, even if the computer is running for more than 25 days...


It is a very bad idea to use "Environment.TickCount" for determine the uptime of a system... you should use the eventlog.

Aug 11, 2009 at 3:21 PM
Edited Aug 11, 2009 at 3:21 PM

I didn't noticed the overflow reset of "Environment.TickCount".  I'll update the project description to deliver this information to the possible users. Thank you for the hint.

Aug 12, 2009 at 10:04 AM

I updated the calculation. Now it is based on the date of the current eventlog start and the TickCount property. So the 25 day limitation is removed.

Dec 14, 2013 at 10:19 PM
Microsoft KB232243 now points to this program.
Jan 23, 2014 at 9:31 AM
The Microsoft version allows you to query remote machines - provided it's run under an account with admin rights on the target.

This is the only reason I use this tool, so the codeplex version is not a complete replacement.

(I'm not knocking this version - it does what it does well - it's just missing the functionality I need!)