Technology Questions

Go Back   Technology Questions > Software Questions > Operating System Questions > Windows XP

Windows XP Discuss the Microsoft Windows XP Operating System

Reply
 
LinkBack Thread Tools
  #1 (permalink)  
Old 04-11-2007, 08:15 PM
CoolGunS
Newsgroup Contributor
 
Posts: n/a
Install Date of XP - Audit

Hi,

I need to audit all the Windows XP Pro machines in our organisiation
and determine when XP was install on each computer. I'm kind of stuck
for a way to do this. One suggestion was to use systeminfo | find /I
"install date" however this doesn't work on XP, only on our servers.

Has anyone got any bright ideas? I want to pipe the results out to a
common shared file that also appends the machine name alont with the
install date.

Thanks in advance.

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

 
Old 04-11-2007, 08:15 PM
  #2 (permalink)  
Old 04-11-2007, 08:30 PM
Shenan Stanley
Newsgroup Contributor
 
Posts: n/a
Re: Install Date of XP - Audit

CoolGunS wrote:
> Hi,
>
> I need to audit all the Windows XP Pro machines in our organisiation
> and determine when XP was install on each computer. I'm kind of
> stuck for a way to do this. One suggestion was to use systeminfo |
> find /I "install date" however this doesn't work on XP, only on our
> servers.
>
> Has anyone got any bright ideas? I want to pipe the results out to a
> common shared file that also appends the machine name alont with the
> install date.



systeminfo | find /i "install date"

Works fine in Windows XP Professional.

Somewhat messy - but it should get tyou started... If you use PSEXEC to run
on each machine (third party app) or a startup script or maybe you could
just use PSINFO on each machine - whatebver...

all one line... (batch)

systeminfo | For /f "usebackq Tokens=2 delims=[:]" %%j in (`find /i
"Original Install Date"`) do echo %computername%, "%%j" >>
path:\to\text.txt

You could clean that up and even use \\servername\sharename for the path to
file if the share is open to authenticated users/computers for writing.

--
Shenan Stanley
MS-MVP
--
How To Ask Questions The Smart Way
http://www.catb.org/~esr/faqs/smart-questions.html


Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

  #3 (permalink)  
Old 04-11-2007, 08:30 PM
Carey Frisch [MVP]
Newsgroup Contributor
 
Posts: n/a
Re: Install Date of XP - Audit

Belarc Advisor: http://www.belarc.com/free_download.html

--
Carey Frisch
Microsoft MVP
Windows Client

--------------------------------------------------------------------------------------------------

"CoolGunS" wrote:

| Hi,
|
| I need to audit all the Windows XP Pro machines in our organisiation
| and determine when XP was install on each computer. I'm kind of stuck
| for a way to do this. One suggestion was to use systeminfo | find /I
| "install date" however this doesn't work on XP, only on our servers.
|
| Has anyone got any bright ideas? I want to pipe the results out to a
| common shared file that also appends the machine name alont with the
| install date.
|
| Thanks in advance.

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

  #4 (permalink)  
Old 04-11-2007, 08:30 PM
Bill James
Newsgroup Contributor
 
Posts: n/a
Re: Install Date of XP - Audit

Copy the following code, paste it into Notepad, save with a .vbs extension.

For Each oItem in GetObject("winmgmts:{impersonationLevel=impersonat e}")._
ExecQuery("Select CurrentTimeZone, InstallDate From Win32_OperatingSystem")
With CreateObject("WbemScripting.SWbemDateTime")
.Value = oItem.InstallDate
WScript.Echo "OS Installed: " & DateAdd("n", _
-oItem.CurrentTimeZone, .GetVarDate)
End With
Next

--

Bill James


"CoolGunS" <coolguns********.com> wrote in message news:1176347096.624535.33720@l77g2000hsb.googlegro ups.com...
> Hi,
>
> I need to audit all the Windows XP Pro machines in our organisiation
> and determine when XP was install on each computer. I'm kind of stuck
> for a way to do this. One suggestion was to use systeminfo | find /I
> "install date" however this doesn't work on XP, only on our servers.
>
> Has anyone got any bright ideas? I want to pipe the results out to a
> common shared file that also appends the machine name alont with the
> install date.
>
> Thanks in advance.
>

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

  #5 (permalink)  
Old 04-11-2007, 08:45 PM
John John
Newsgroup Contributor
 
Posts: n/a
Re: Install Date of XP - Audit

The installation date is recorded in the InstallDate value at
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion The
value represents the number of seconds since January 1st 1970. Luckily
you don't have to calculate the value, John Savill has made some nifty
utilities that will do it for you Cmd Info, or Win Info. The tools can
be used to query any machine on the domain.
http://www.savilltech.com./download.html

John


CoolGunS wrote:

> Hi,
>
> I need to audit all the Windows XP Pro machines in our organisiation
> and determine when XP was install on each computer. I'm kind of stuck
> for a way to do this. One suggestion was to use systeminfo | find /I
> "install date" however this doesn't work on XP, only on our servers.
>
> Has anyone got any bright ideas? I want to pipe the results out to a
> common shared file that also appends the machine name alont with the
> install date.
>
> Thanks in advance.
>

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

  #6 (permalink)  
Old 04-11-2007, 08:45 PM
Carey Frisch [MVP]
Newsgroup Contributor
 
Posts: n/a
Re: Install Date of XP - Audit

PsInfo is a command-line tool that gathers key information about the local
or remote Windows NT/2000 system, including the type of installation,
kernel build, registered organization and owner, number of processors and
their type, amount of physical memory, the install date of the system, and if
its a trial version, the expiration date.
http://www.microsoft.com/technet/sys...on/PsInfo.mspx

--
Carey Frisch
Microsoft MVP
Windows Client

--------------------------------------------------------------------------------------------------

"CoolGunS" wrote:

| Hi,
|
| I need to audit all the Windows XP Pro machines in our organisiation
| and determine when XP was install on each computer. I'm kind of stuck
| for a way to do this. One suggestion was to use systeminfo | find /I
| "install date" however this doesn't work on XP, only on our servers.
|
| Has anyone got any bright ideas? I want to pipe the results out to a
| common shared file that also appends the machine name alont with the
| install date.
|
| Thanks in advance.

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

  #7 (permalink)  
Old 04-11-2007, 09:45 PM
CoolGunS
Newsgroup Contributor
 
Posts: n/a
Re: Install Date of XP - Audit

Thanks for your responses. They are all helpful. I do still have one
issue tho. When I run systeminfo on any of our XP machines I get this

c:\systeminfo
ERROR: Not found.

this is what made me think systeminfo didn't work on XP????? This is
my preferred option because I can pipe this out and append machine
names and results all into one file. We have 500 machines to audit.
Any ideas why all the XP machines Ive tried this on return an error?
The other tools work fine eg:


Output from CMDinfo =

Version type Full Version
Installation date 07 April 2005, 07:48:01
Owning Org Knight Frank Australia
Owner name Information Technology
Build number 2600
System root C:\WINDOWS
OS type Microsoft Windows XP
Plus version Not Available
Service Pack Service Pack 2
Processor Type Multiprocessor Free
Product Type Windows NT Workstation
Source Path C:\I386
Expiry date Not Applicable




Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

  #8 (permalink)  
Old 04-11-2007, 10:00 PM
Shenan Stanley
Newsgroup Contributor
 
Posts: n/a
Re: Install Date of XP - Audit

CoolGunS wrote:
> Thanks for your responses. They are all helpful. I do still have one
> issue tho. When I run systeminfo on any of our XP machines I get
> this
>
> c:\systeminfo
> ERROR: Not found.
>
> this is what made me think systeminfo didn't work on XP????? This is
> my preferred option because I can pipe this out and append machine
> names and results all into one file. We have 500 machines to audit.
> Any ideas why all the XP machines Ive tried this on return an error?
> The other tools work fine eg:
>
>
> Output from CMDinfo =
>
> Version type Full Version
> Installation date 07 April 2005, 07:48:01
> Owning Org Knight Frank Australia
> Owner name Information Technology
> Build number 2600
> System root C:\WINDOWS
> OS type Microsoft Windows XP
> Plus version Not Available
> Service Pack Service Pack 2
> Processor Type Multiprocessor Free
> Product Type Windows NT Workstation
> Source Path C:\I386
> Expiry date Not Applicable


Then your PATH is screwed up...

Start button --> RUN --> CMD --> OK --> PATH --> <ENTER>

C:\WINDOWS\system32 in there?

try this:

Start button --> RUN --> CMD --> OK -->

%SystemRoot%\system32\systeminfo.exe | find /i "install date"

--> <ENTER>

--
Shenan Stanley
MS-MVP
--
How To Ask Questions The Smart Way
http://www.catb.org/~esr/faqs/smart-questions.html


Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

  #9 (permalink)  
Old 04-12-2007, 12:15 AM
BigJim
Newsgroup Contributor
 
Posts: n/a
Re: Install Date of XP - Audit

from the run command, run "command" then systeminfo
"CoolGunS" <coolguns********.com> wrote in message
news:1176347096.624535.33720@l77g2000hsb.googlegro ups.com...
> Hi,
>
> I need to audit all the Windows XP Pro machines in our organisiation
> and determine when XP was install on each computer. I'm kind of stuck
> for a way to do this. One suggestion was to use systeminfo | find /I
> "install date" however this doesn't work on XP, only on our servers.
>
> Has anyone got any bright ideas? I want to pipe the results out to a
> common shared file that also appends the machine name alont with the
> install date.
>
> Thanks in advance.
>



Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

  #10 (permalink)  
Old 04-12-2007, 01:15 AM
Detlev Dreyer
Newsgroup Contributor
 
Posts: n/a
Re: Install Date of XP - Audit

"CoolGunS" <coolguns********.com> wrote:

> Thanks for your responses. They are all helpful. I do still have one
> issue tho. When I run systeminfo on any of our XP machines I get this
>
> c:\systeminfo
> ERROR: Not found.


First, "Systeminfo.exe" is available under WinXP Pro only. Although
running under WinXP Home as well, it's not present there by default.

Second, "Systeminfo.exe" (if present) is located in %windir%\System32
rather than the C:\ root directory.

--
d-d
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

Reply

Bookmarks

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Control Panel - Sort by install date pbl Windows Vista 0 11-12-2008 04:56 AM
Audit Project Manager - Audit, Risk, Settlement TPC Tablet PC Jobs 0 09-01-2008 03:30 AM
Date Problem when marging Excel date into Word Richard Territt Microsoft Office 2 09-19-2007 03:11 AM
Date Problem when marging Excel date into Word Richard Territt Microsoft Office 10 09-19-2007 03:11 AM
Install date MrB Windows XP 5 02-09-2007 02:47 AM


New To Technology Questions? Do You Need Help with Your Computer or Device? Do You Need Help with this site?

All times are GMT -8. The time now is 02:48 AM.


2003 - 2009 All Rights Reserved. Technology Questions

Search Engine Friendly URLs by vBSEO 3.3.0