Wmic os install date
Another failed attempt is to use the date of the oldest event log entry as can be seen from the following screen shot:. There is more information you can get by running the systeminfo command like System Boot Time. Unofficially, I usually use the date the first updates were installed. Check those, and you may get a good idea of when the system was installed. Since Windows Vista release, Microsoft changed the installation type of Windows to image based which means the setup installer just extracts the required files to your hard drive.
So many times the date and time of folder creation will not be the installation date and time of Windows but it'll be the date and time when Microsoft created the Windows image for the setup. You can check out the folder creation date of your user account folder which is present in "Documents and Settings" or "Users" folder. Since this folder is created by Windows setup at the time of installation, its creation date and time will be almost the same as of Windows installation.
I may have found a great way. Even Windows 10 still does this under the hood. Sign up to join this community. The best answers are voted up and rise to the top. Stack Overflow for Teams — Collaborate and share knowledge with a private group. Create a free Team What is Teams?
Learn more. Determine when Windows was installed on a computer Ask Question. Asked 9 years, 3 months ago. Active 5 years, 5 months ago. Viewed 41k times.
Is it possible to check the date when Windows was installed on a PC and if so how? Improve this question. Add a comment. Active Oldest Votes. You can easly read the above output adding the relevant markup: Improve this answer. Zuul Zuul 3, 2 2 gold badges 22 22 silver badges 33 33 bronze badges. According to this reference, you have a several ways to do that, just choose that one that you love more: How to Determine the Windows Installation Date with and without PowerShell Systeminfo The systeminfo tool displays a lot of interesting information about the computer and the operating system, among them the installation date.
InstallDate Thursday, September 17, PM What does not work I first came up with the idea of querying the creation time of the Windows folder. Diogo Diogo Running the SystemInfo command in Powershell provides at least a more human-readable output compared to the one given by the accepted answer.
When I tried it, I got something like Isxek It is an accurate date, contrary to my results with SystemInfo or the timestamp from folders that for the last one presents a timestamp of ish for an installation performed early this year.
Nonetheless , it's pretty much human readable: Your becomes , you just need to add markup! Using Windows Explorer : Open Windows Explorer and go to the drive containing the installed operating system. Generally its C: drive in most of the systems. Now either change the folder view type to details or right-click on a folder such as Program Files or Windows and select Properties.
Improve this question. Add a comment. Active Oldest Votes. ToString ; Console. Improve this answer. Arshad Arshad 9, 6 6 gold badges 34 34 silver badges 60 60 bronze badges.
I will buy a windows license to test it, i think this date changes after licensekey is entered. Sign up or log in Sign up using Google. Sign up using Facebook. Sign up using Email and Password. Post as a guest Name.
Email Required, but never shown. The Overflow Blog. Podcast Making Agile work for data science. Stack Gives Back Featured on Meta. New post summary designs on greatest hits now, everywhere else eventually.
Related Hot Network Questions.
0コメント