How to find the OS installation date from Registry ?
How to find the OS installation date from Registry ?
April 16th, 2010 12:18pm

You can use vbs and query Win32_OperatingSystem InstallDate. Windows install dates are recorded in seconds starting at 1970/01/01 so you need to use the SWbemdateTime object to convert it into readable date.Dim objDateTime, objWMIService, colItems, objItemSet objDateTime = CreateObject("WbemScripting.SWbemDateTime")Set objWMIService = GetObject("winmgmts:{impersonationLevel=impersonate}!\\.\root\cimv2")Set colItems = objWMIService.ExecQuery("SELECT * FROM Win32_OperatingSystem")For Each objItem In colItems objDateTime.Value =objItem.InstallDate MsgBox objDateTime.GetVarDateNextv/r LikeToCode....Mark the best replies as answers.
Free Windows Admin Tool Kit Click here and download it now
April 16th, 2010 12:38pm

Hi, Run systeminfo in an CMD prompt line and you will get the information there. Best Regards, Vincent Hu
April 19th, 2010 4:48am

Go to help and support in windows xp use tools to viewyour computer information and diagnose problem it wll give a deatailed info about your computer in gui mode
Free Windows Admin Tool Kit Click here and download it now
May 28th, 2012 4:45am

In addition to Vincent Here is straight and direct command to know OS installed date. systeminfo |find /i "Original Install Date" Regards, Ravikumar P
May 28th, 2012 5:18am

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics