WUGNET, the Windows User Group Network
Your Complete Resource Center for "The Best" in Shareware, Computing Tips and Support, Windows Industry News... and much more!
Home Forums Shareware Windows Tips Hot Offers FREE Newsletters Arcade Contact Us About Partners
Search WUGNET: RSS Feeds RSS Feeds Advertise with WUGNET    |    Shareware eBooks
HomeHome FAQFAQ      ProfileProfile    Private MessagesPrivate Messages   Log inLog in

Install Date of XP - Audit

 
Goto page 1, 2
   Home -> Windows -> General Discussion RSS
Next:  Altering Brightness  
Author Message
CoolGunS

External


Since: Apr 11, 2007
Posts: 2



(Msg. 1) Posted: Wed Apr 11, 2007 8:04 pm
Post subject: Install Date of XP - Audit
Archived from groups: microsoft>public>windowsxp>general (more info?)

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.
Back to top
Login to vote
CoolGunS

External


Since: Apr 11, 2007
Posts: 2



(Msg. 2) Posted: Wed Apr 11, 2007 9:32 pm
Post subject: Re: Install Date of XP - Audit [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

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
Back to top
Login to vote
Shenan Stanley

External


Since: Mar 03, 2005
Posts: 10616



(Msg. 3) Posted: Wed Apr 11, 2007 10:25 pm
Post subject: Re: Install Date of XP - Audit [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

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
Back to top
Login to vote
Bill James

External


Since: Apr 12, 2004
Posts: 332



(Msg. 4) Posted: Wed Apr 11, 2007 10:26 pm
Post subject: Re: Install Date of XP - Audit [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

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

For Each oItem in GetObject("winmgmts:{impersonationLevel=impersonate}")._
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 RemoveThis @hotmail.com> wrote in message news:1176347096.624535.33720@l77g2000hsb.googlegroups.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.
>
Back to top
Login to vote
Carey Frisch MVP2

External


Since: Aug 26, 2004
Posts: 11816



(Msg. 5) Posted: Wed Apr 11, 2007 10:27 pm
Post subject: Re: Install Date of XP - Audit [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

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.
Back to top
Login to vote
Carey Frisch MVP2

External


Since: Aug 26, 2004
Posts: 11816



(Msg. 6) Posted: Wed Apr 11, 2007 10:41 pm
Post subject: Re: Install Date of XP - Audit [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

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/sysinternals/SystemInformation/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.
Back to top
Login to vote
Shenan Stanley

External


Since: Mar 03, 2005
Posts: 10616



(Msg. 7) Posted: Wed Apr 11, 2007 11:44 pm
Post subject: Re: Install Date of XP - Audit [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

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
Back to top
Login to vote
John John

External


Since: Jun 05, 2004
Posts: 3524



(Msg. 8) Posted: Thu Apr 12, 2007 12:08 am
Post subject: Re: Install Date of XP - Audit [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

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.
>
Back to top
Login to vote
Display posts from previous:   
       Home -> Windows -> General Discussion All times are: Eastern Time (US & Canada) (change)
Goto page 1, 2
Page 1 of 2

 
You can post new topics in this forum
You can reply to topics in this forum
You can edit your posts in this forum
You can delete your posts in this forum
You can vote in polls in this forum
Categories:
  Windows XP
 Windows Vista
 Windows Other
 Office
 Office Other
 Security
 WinRAR
  • Home |
  • Shareware |
  • Windows Tips |
  • Hot Offers |
  • FREE Newsletters |
  • Arcade |
  • Forums |
  • eBooks |
  • About WUGNET |
  • Partners |
  • Contact

  • WUGNET Privacy Policy |
  • Link to WUGNET