Hard drive initiation date

  • Thread starter Thread starter C.J.
  • Start date Start date
It doesn't have a label. It is a custom built computer. I need some way of
finding the date internally.
 
No, look at the label on the harddrive. The computer is immaterial. If
not then rephrase your question and ask what you really mean.
 
On some (but not all!) PCs you can get the disk installation date with the
script below:

Set objWMIService = GetObject("winmgmts:\\.\root\CIMV2")
Set colItems = objWMIService.ExecQuery( _
"SELECT * FROM Win32_DiskDrive",,48)
For Each objItem in colItems
msgbox "InstallDate: " & objItem.InstallDate
Next

Copy and paste the code into c:\DiskDate.vbs, then save and double-click the
file. If you do not get a date then your PC does not support this method.
 
C.J. said:
It doesn't have a label. It is a custom built computer. I need some
way of finding the date internally.

Yes it does - look on the label on the hard disk drive itself. It's inside
the computer - open the case. The box the hard disk drive is in may not
have stickers - but the hard disk drive does.

Or download the hard disk drive manufacturer's utility disk and use it.
 
C.J. said:
How can I find the date the hard drive was created/initiated?

Shenan said:
Look on the label.

C.J. said:
It doesn't have a label. It is a custom built computer. I need some
way of finding the date internally.

Shenan said:
Yes it does - look on the label on the hard disk drive itself.
It's inside the computer - open the case. The box the hard disk
drive is in may not have stickers - but the hard disk drive does.

Or download the hard disk drive manufacturer's utility disk and use
it.

C.J. said:
What I am looking for is the date that Windows XP was installed on
the harddrive.

Wow - I would not have pulled that from your original or follow up
postings.. ;-)
Didn't, either. *grin*

Easy enough:

Start button --> RUN --> type in:
cmd /c systeminfo.exe > "%USERPROFILE%\Desktop\SysInfo.txt"
--> Click OK.

(Exactly as shown.)

Then open the new text document that appeared on your desktop - SysInfo.txt.

Look for the line "Original Install Date:"...

It may have changed if you did a repair installation.

Helpful? Come back and let everyone know.
 
C.J. said:
What I am looking for is the date that Windows XP was installed on the
harddrive.

Ok, that's something quite different. Here you go - same recipe as before:

Set OSSet = GetObject("winmgmts://./root/cimv2"). _
ExecQuery("select * from Win32_OperatingSystem")
For Each OS In OSSet
msgbox "Install Date: " & Format(OS.InstallDate)
next
Function Format(S)
Format = Mid(S, 7, 2) & "." & Mid(S, 5, 2) & "." & Mid(S, 3, 2) _
& " " & Mid (S, 9, 2) & ":" & Mid(S, 11, 2)
End Function
 
What I am looking for is the date that Windows XP was installed on the
harddrive.

One way to find out when XP thinks it was installed (and other
interesting information) is by getting to a command prompt and
entering:

systeminfo
 
Back
Top