Video Screencast Help
Endpoint Virtualization Community Blog

How to find the system uptime in a Windows Server

Created: 11 Dec 2009 • Updated: 29 Jul 2010 • 2 comments
riva11's picture
+9 9 Votes
Login to vote

Sometimes, for some reason (apply patches, schedule maintenance, installations, etc. ) you may need to know the uptime in a Windows server.

A quick way to discover this information is by using Systeminfo. This utility provides information about a local or remote machine from the command line. And the interesting information shown is the "System Up Time" where to see how many time the server is up and running.

How to use :

  • Launch the Command Prompt (Start - Run, cmd)
  • Type “systeminfo“ and you will see various system information like installation date, hotfixes etc.
  • The system uptime is on the “System boot time” as follows:

systeminfo.jpg

Also Systeminfo is helpful for Windows Vista/Server 2008/XP/2003 machine to investigate the system hardware and software information using only a command line.

Documentation : Microsoft Technet - Systeminfo 

Comments 2 CommentsJump to latest comment

JeffDG's picture

Is there anywhere in the registry to read this?  I would love to gather it as a custom inventory item, and while I could make this work with Perl (parsing the systeminfo data out), that's not the most elegant solution I can think of.

+2
Login to vote
riva11's picture

Jeff, it should be the GetTickCount Function ( http://msdn.microsoft.com/en-us/library/ms724408%2... ).

Regards,
Paolo

+5
Login to vote