This project is read-only.

CodePlex Uptime vs. Microsoft Uptime?

Aug 8, 2009 at 7:55 PM
Edited Aug 9, 2009 at 5: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 9:52 AM
Edited Feb 27, 2012 at 8: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 4: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 4:21 PM
Edited Aug 11, 2009 at 4: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 11: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 11:19 PM
Microsoft KB232243 now points to this program.
Jan 23, 2014 at 10: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!)
Jul 6 at 2:45 PM
If you want or need to download the Microsoft uptime.exe program, it is available at

The direct Microsoft download link is:

The documentation page can be found at:

I hope this helps someone.

Oh, What are you doing about the Codeplex shutdown?