| |||||||
| Windows XP Discuss the Microsoft Windows XP Operating System |
![]() |
| | LinkBack | Thread Tools |
| |||
| 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. |
| |||
| 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 |
| |||
| 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. |
| |||
| 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. > |
| |||
| 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. > |
| |||
| 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. |
| |||
| 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 |
| |||
| 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 |
| |||
| 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. > |
| |||
| 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 |
![]() |
| Bookmarks |
| Thread Tools | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Audit internet connection | leobis | Windows XP | 1 | 03-29-2007 05:45 AM |
| Install date | MrB | Windows XP | 5 | 02-09-2007 02:47 AM |
| Insert date adds numeric date | gcrossland | Microsoft Office | 1 | 01-15-2007 11:33 AM |
| modified date vs. created date | Andy Siegel | Windows XP | 1 | 01-04-2007 06:27 AM |
| audit | Pedro Lerma | Windows XP | 0 | 01-04-2007 03:30 AM |