Forum     

Go Back   Digit Technology Discussion Forum > Community > Tutorials
Register FAQ Calendar Mark Forums Read

Tutorials This section offers tutorials and How to's on just about anything related to computers and IT. Note: All tutorials are courtesy the posters and not verified by Digit

Closed Thread
 
LinkBack Thread Tools Display Modes
Old 02-01-2008, 08:07 PM   #1 (permalink)
Fast 'N' Furious
 
topgear's Avatar
 
Join Date: Jul 2006
Location: Geek's Heaven
Posts: 9,119
Default Know Your Operating System Install Date

Here is a simple script that will tell you your OS install date & Time

Open Notepad. Just copy and paste the below mentioned codes into that notepad

file and save it with .vbs extension ( eg. OSINSTALLDATE.vbs ). Double

click that file & it will show your OS install date & time. Have Fun.

Code:
' © 2006 Ramesh Srinivasan.
'Returns the Operating System installation date.
strComputer = "."
Set dtmInstallDate = CreateObject( _ 
  "WbemScripting.SWbemDateTime")
Set objWMIService = GetObject("winmgmts:" _
  & "{impersonationLevel=impersonate}!\\" _
  & strComputer & "\root\cimv2")
Set colOperatingSystems = objWMIService.ExecQuery _
  ("Select * from Win32_OperatingSystem")
For Each objOperatingSystem in colOperatingSystems
  MsgBox "Install Date: " & getmydat (objOperatingSystem.InstallDate)
Next 

Function getmydat(wmitime)
  dtmInstallDate.Value = wmitime
  getmydat = dtmInstallDate.GetVarDate
End function
Source : I've found this code a long time back. So I could not remeber where.
But I'm mentioning it in here with the copyright information intact .
Don't remove that copyright information if you would like and use this code.

Other method :

Also you can also know your OS install date with this command. Just type it in
a command prompt window and press enter. Only for newbies. geeks stay apart
Code:
systeminfo
__________________
ToPsPeEeD = FaSt BuT StEaDy

AMD Radeon HD 6850 OverClocked to 1 Ghz !!!

Blog : http://topgeartopspeed.wordpress.com/
----------------------------------------------------
Never buy viewsonic products : http://tinyurl.com/ykwx4oa
topgear is offline  
Advertisements. Register and be a member of the community to get rid of them.
Advertisement

Old 02-01-2008, 08:26 PM   #2 (permalink)
>:)I-):(|)8-X
 
Charan's Avatar
 
Join Date: Sep 2004
Location: ಬೆಂಗಳೂರು (Bengaluru)
Posts: 3,511
Default Re: Know Your Operating System Install Date

Here is the original site

Link

you can also use this

Code:
systeminfo | find /i "install date"
Charan is offline  
Old 02-01-2008, 08:29 PM   #3 (permalink)
-----ATi-----
 
nvidia's Avatar
 
Join Date: May 2007
Location: Bangalore
Posts: 2,317
Default Re: Know Your Operating System Install Date

Nice...
__________________
http://twitter.com/akshayms
nvidia is offline  
Old 02-01-2008, 08:39 PM   #4 (permalink)
vaibhavtek
Guest
 
Posts: n/a
Default Re: Know Your Operating System Install Date

Nice trick.
 
Old 02-01-2008, 08:48 PM   #5 (permalink)
Wise Old Owl
 
Join Date: Jul 2006
Location: India
Posts: 1,259
Default Re: Know Your Operating System Install Date

good job
Rockstar11 is offline  
Old 03-01-2008, 05:26 AM   #6 (permalink)
Fast 'N' Furious
 
topgear's Avatar
 
Join Date: Jul 2006
Location: Geek's Heaven
Posts: 9,119
Default Re: Know Your Operating System Install Date

Thanks Charan For The Link
Thanks guys for all of your praises
__________________
ToPsPeEeD = FaSt BuT StEaDy

AMD Radeon HD 6850 OverClocked to 1 Ghz !!!

Blog : http://topgeartopspeed.wordpress.com/
----------------------------------------------------
Never buy viewsonic products : http://tinyurl.com/ykwx4oa
topgear is offline  
Old 03-01-2008, 01:16 PM   #7 (permalink)
ax3
Cool as a CUCUMBAR ! ! !
 
ax3's Avatar
 
Join Date: Dec 2003
Posts: 5,002
Default Re: Know Your Operating System Install Date

@charan ka info ..... short & quick hai .......
__________________
... W H O T ...
ax3 is offline  
Old 03-01-2008, 01:58 PM   #8 (permalink)
Deadman Walking
 
Batistabomb's Avatar
 
Join Date: Feb 2007
Location: Visakhapatnam
Posts: 879
Default Re: Know Your Operating System Install Date

Thanks top gear it was displaying on a single Click
__________________
What looks to be nothing,finally that becomes everything...
and what is everything suddenly that changes to nothing...
Learn to live... &
Live to learn...
Batistabomb is offline  
Old 03-01-2008, 02:01 PM   #9 (permalink)
D i s t i n c t l y Ahead
 
saurabh kakkar's Avatar
 
Join Date: Sep 2006
Location: New delhi
Posts: 494
Default Re: Know Your Operating System Install Date

Nice one Dude
saurabh kakkar is offline  
Old 03-01-2008, 02:32 PM   #10 (permalink)
18 Till I Die............
 
Join Date: Jul 2004
Location: India, Mumbai, Marine Lines
Posts: 5,792
Default Re: Know Your Operating System Install Date

Doesn't tell me anything.
__________________
http://www.bash.org/?258908
mehulved is offline  
Old 03-01-2008, 05:21 PM   #11 (permalink)
Fast 'N' Furious
 
topgear's Avatar
 
Join Date: Jul 2006
Location: Geek's Heaven
Posts: 9,119
Default Re: Know Your Operating System Install Date

Hey Mr. Linux Expert . Are you using it on windows and saved the file with .vbs extension.
I've checked it with win xp and vista only. don't know about other oses.
__________________
ToPsPeEeD = FaSt BuT StEaDy

AMD Radeon HD 6850 OverClocked to 1 Ghz !!!

Blog : http://topgeartopspeed.wordpress.com/
----------------------------------------------------
Never buy viewsonic products : http://tinyurl.com/ykwx4oa
topgear is offline  
Old 03-01-2008, 06:41 PM   #12 (permalink)
Banned
 
sukhi420's Avatar
 
Join Date: Dec 2007
Posts: 9
Default Re: Know Your Operating System Install Date

it shows me system install date 05/07/2005 08:54:00PM, whereas i have installed XP 15 days back. system date and time are correct
sukhi420 is offline  
Old 03-01-2008, 06:55 PM   #13 (permalink)
NP : Crysis
 
xbonez's Avatar
 
Join Date: Mar 2007
Location: City 17
Posts: 1,415
Default Re: Know Your Operating System Install Date

^^same with me..same date 5/7/2005 whereas i installed about 4months back
__________________
Gaming: Phenom II x4 965BE @ 3.6Ghz/Corsair H50 Liquid Cooling/MSI 790FX-GD70/2x2GB GSkill Ripjaws 7-7-7-24/3 x GTX 470 w/Zalman VF3000F/Corsair 850W PSU/Antec 1200/2xSpinpoint F3 500Gb RAID 0
xbonez is offline  
Old 03-01-2008, 06:59 PM   #14 (permalink)
>:)I-):(|)8-X
 
Charan's Avatar
 
Join Date: Sep 2004
Location: ಬೆಂಗಳೂರು (Bengaluru)
Posts: 3,511
Default Re: Know Your Operating System Install Date

no problem here, both script and command shows same date.
Charan is offline  
Old 03-01-2008, 07:00 PM   #15 (permalink)
Wise Old Owl
 
Join Date: Jul 2006
Location: India
Posts: 1,259
Default Re: Know Your Operating System Install Date

OS install date - 26/02/2006, Time -06:57:14
Rockstar11 is offline  
Old 04-01-2008, 12:52 PM   #16 (permalink)
Deadman Walking
 
Batistabomb's Avatar
 
Join Date: Feb 2007
Location: Visakhapatnam
Posts: 879
Default Re: Know Your Operating System Install Date

but for me it show all correct, august 15 2007
__________________
What looks to be nothing,finally that becomes everything...
and what is everything suddenly that changes to nothing...
Learn to live... &
Live to learn...
Batistabomb is offline  
Old 04-01-2008, 03:12 PM   #17 (permalink)
Be CoOl rAp RuLeZ !!!
 
krates's Avatar
 
Join Date: Feb 2007
Posts: 1,968
Default Re: Know Your Operating System Install Date

good one
__________________
iPhone 3G 16GB + Samsung I450 + Sennheiser CXL 400 + PSP Phat + Samsung NC10

Previous phones: N73ME , W810I , Asus P320
krates is offline  
Old 06-01-2008, 12:45 PM   #18 (permalink)
Let the music play.....
 
djmykey's Avatar
 
Join Date: Dec 2003
Location: Pune
Posts: 665
Default Re: Know Your Operating System Install Date

Nice mine shows as
Code:
Original Install Date:     10/21/2007, 8:17:03 AM
__________________
Long back, a person who sacrificed his sleep, forgot his family, forgot his food, fogot laughter were called "Saints"
But now they are called.."IT professionals"
djmykey is offline  
Old 06-01-2008, 01:24 PM   #19 (permalink)
ico
.
 
Join Date: Jun 2007
Location: New Delhi
Posts: 8,126
Default Re: Know Your Operating System Install Date

I knew when I had installed on 1st January, 2008.
Thanx topgear for the script. I already knew about systeminfo in CMD.
__________________
Won't be replying to PMs for a while. Stay in touch with e-mail.

Read before asking / messaging any moderator for any query: FAQ + answers for new members

Read all the sticky threads before asking any type of query. Most basic questions are answered in those.
ico is online now  
Old 06-01-2008, 02:55 PM   #20 (permalink)
Wise Old Owl
 
clmlbx's Avatar
 
Join Date: Aug 2006
Location: Indore
Posts: 1,416
Default Re: Know Your Operating System Install Date

it shows 5/7/2005 .........using both ( script and command )

anyone know's why
__________________
Athlon II X4 635 @ 2.9Ghz   Gigabyte GA-MA785GMT-US2H   Kingston 2x2 Gb 1333Mhz DDR3   WDC 500Gb Green   Palit GTS 250 512mb   Tagan 500W   Samsung B2030   Lg DVD Writer
clmlbx is online now  
Old 06-01-2008, 05:27 PM   #21 (permalink)
Net007
Guest
 
Posts: n/a
Default Re: Know Your Operating System Install Date

Thanks.
 
Old 06-01-2008, 05:40 PM   #22 (permalink)
left this forum longback
 
praka123's Avatar
 
Join Date: Sep 2005
Location: -
Posts: 7,513
Default Re: Know Your Operating System Install Date

I dont know much about window$.but if u go to windows folder>system32>and some random file click properties and u can see the date
In Linux,i can see by this way though with seeing the properties of /boot/kernel
__________________
left this forum long back.Admin Can Delete this Account and posts Permanantly.Thank You
Get GNU/Linux - http://getgnulinux.org
praka123 is offline  
Old 07-01-2008, 03:41 AM   #23 (permalink)
http://eitwebguru.com
 
maxmk's Avatar
 
Join Date: Sep 2006
Location: Nashik
Posts: 116
Default Re: Know Your Operating System Install Date

Hello,

Thanks for the info..... It shows following date for my machine....

Code:
C:\>systeminfo | find /i "install date"
Original Install Date:     9/22/2007, 2:50:54 AM
maxmk is offline  
Old 07-01-2008, 04:10 AM   #24 (permalink)
18 Till I Die............
 
Join Date: Jul 2004
Location: India, Mumbai, Marine Lines
Posts: 5,792
Default Re: Know Your Operating System Install Date

Quote:
Originally Posted by topgear View Post
Hey Mr. Linux Expert . Are you using it on windows and saved the file with .vbs extension.
I've checked it with win xp and vista only. don't know about other oses.
I was j/k. don't take that too seriously. I know it won't work with other OS'es.
__________________
http://www.bash.org/?258908
mehulved is offline  
Old 07-01-2008, 01:09 PM   #25 (permalink)
हॉर्न ओके प्लीज़
 
victor_rambo's Avatar
 
Join Date: Sep 2007
Posts: 1,490
Default Re: Know Your Operating System Install Date

All those who are being shown the wrong date of 2005, are you a victim of rampant piracy in India?
__________________
विक्टर रॅंबो - चाणकया प्रभावित व्यक्ति

गीक होना माँगता
victor_rambo is offline  
Old 09-01-2008, 04:44 PM   #26 (permalink)
Fast 'N' Furious
 
topgear's Avatar
 
Join Date: Jul 2006
Location: Geek's Heaven
Posts: 9,119
Default Re: Know Your Operating System Install Date

Quote:
Originally Posted by mehulved View Post
I was j/k. don't take that too seriously. I know it won't work with other OS'es.
I am taking that lightly
__________________
ToPsPeEeD = FaSt BuT StEaDy

AMD Radeon HD 6850 OverClocked to 1 Ghz !!!

Blog : http://topgeartopspeed.wordpress.com/
----------------------------------------------------
Never buy viewsonic products : http://tinyurl.com/ykwx4oa
topgear is offline  
Old 09-01-2008, 10:58 PM   #27 (permalink)
In The Zone
 
Join Date: Feb 2005
Posts: 347
Default Re: Know Your Operating System Install Date

nice bit
__________________
Experience Is not Counted in Years.. But in the Countless Effort
www.kolasib.com www.zoram.org
valtea is offline  
Old 10-01-2008, 04:39 AM   #28 (permalink)
Loading . . . please d'nt
 
CINTEL ENTRINO's Avatar
 
Join Date: Aug 2006
Location: IMC
Posts: 235
Default Re: Know Your Operating System Install Date

nice tip....
CINTEL ENTRINO is offline  
Old 10-01-2008, 09:32 AM   #29 (permalink)
New
Alpha Geek
 
New's Avatar
 
Join Date: Jun 2007
Location: Bangalore
Posts: 779
Default Re: Know Your Operating System Install Date

Useful tip.Thanks....
__________________
++
New is offline  
Old 12-01-2008, 04:41 PM   #30 (permalink)
Fast 'N' Furious
 
topgear's Avatar
 
Join Date: Jul 2006
Location: Geek's Heaven
Posts: 9,119
Default Re: Know Your Operating System Install Date

thanks guys.
__________________
ToPsPeEeD = FaSt BuT StEaDy

AMD Radeon HD 6850 OverClocked to 1 Ghz !!!

Blog : http://topgeartopspeed.wordpress.com/
----------------------------------------------------
Never buy viewsonic products : http://tinyurl.com/ykwx4oa
topgear is offline  
Closed Thread

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
how to install 3 operating system smile Software Q&A 11 12-05-2008 08:43 AM
Which operating system? bigdaddy486 Internet & WWW 27 22-10-2007 05:26 PM
to install 3 operating systems Pepsi™ Hardware Q&A 15 09-05-2006 06:53 PM
How to Install the Amiga Operating System..... ECE0105 Internet & WWW 3 13-03-2006 01:04 AM
operating system srinivasan Software Q&A 1 19-01-2005 07:36 PM


All times are GMT +5.5. The time now is 04:01 PM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2012, vBulletin Solutions, Inc.

Search Engine Optimization by vBSEO 3.3.2