View Full Version : How to find out when the XPSP2 was started
mt
January 11th 05, 04:28 PM
Ho to find out when was the last reboot of the XPsp2? Or say how long the XP
has been up.
Thanks in adv.
Lanwench [MVP - Exchange]
January 11th 05, 04:37 PM
mt wrote:
> Ho to find out when was the last reboot of the XPsp2? Or say how long
> the XP has been up.
>
> Thanks in adv.
Look in your system event log - you'll see events with the source being
"event log" and the event ID 6006 (shutdown) and 6009 (startup)
Torgeir Bakken \(MVP\)
January 11th 05, 08:02 PM
mt wrote:
> Ho to find out when was the last reboot of the XPsp2?
> Or say how long the XP has been up.
Hi
A)
Uptime.exe here should work fine for Windows XP as well:
http://www.microsoft.com/ntserver/nts/downloads/management/uptime/default.asp
B)
Or you can e.g. use PsInfo.exe for this:
Local computer: Psinfo.exe uptime
Remote computer: Psinfo.exe uptime \\somecomputer
PSInfo.exe is in the in the free PsTools suite found at
http://www.sysinternals.com/
C)
Or you can use VBScript/WMI for this:
http://groups.google.com.au/groups?selm=umV1L6kcEHA.2520%40TK2MSFTNGP12.phx.gb l
--
torgeir, Microsoft MVP Scripting and WMI, Porsgrunn Norway
Administration scripting examples and an ONLINE version of
the 1328 page Scripting Guide:
http://www.microsoft.com/technet/scriptcenter/default.mspx
vBulletin® v3.6.4, Copyright ©2000-2012, Jelsoft Enterprises Ltd.