Sign in with
Sign up | Sign in
Your question

How to find out when the XPSP2 was started

Last response: in Windows XP
Share
January 11, 2005 1:28:35 PM

Archived from groups: microsoft.public.windowsxp.security_admin (More info?)

Ho to find out when was the last reboot of the XPsp2? Or say how long the XP
has been up.

Thanks in adv.

More about : find xpsp2 started

Anonymous
a b 8 Security
January 11, 2005 1:37:05 PM

Archived from groups: microsoft.public.windowsxp.security_admin (More info?)

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)
Anonymous
a b 8 Security
January 11, 2005 11:02:00 PM

Archived from groups: microsoft.public.windowsxp.security_admin (More info?)

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/managem...


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.252...



--
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.m...
!