KAG

spruce....

All Posts..

How to know the date of OS installed

Posted by Aditya on June 22, 2011 at 7:43 AM Comments comments (0)

To run the script, copy the following lines to a Notepad document, and save as a file with .VBS extension (use double-quotes) and double-click the file. The installation date and time would be displayed.

 



strComputer = "."

Set dtmInstallDate = CreateObject( _

  "WbemScripting.SWbemDateTime")

Set objWMIService = GetObject("winmgmts:" _

  & "{impersonationLevel=impersonate}!\\" _

  & strComputer &am...

Read Full Post »