![]() Will you find a VBScript that anyone can execute on his/her computer, with the expected result? with PowerShell: (Get-Item "C:\Windows\system.ini").CreationTimeĪnother question eligible for a ' code-challenge': here are some source code executables to answer the problem, but they are not complete. You get the installation date by checking the creation time of the file system.ini which seems to stay untouched. Method 2 This seems to work correctly even after a major update. Here's an example to check the version by running systeminfo from PowerShell: systeminfo | sls "original" if windows was upgraded to a new major version this method unfortunately gives you the date of installation of the new major version. You can get the same version by querying WMI and by looking at the registry. You execute the command systeminfo and look for a line beginning with "Original Install Date" (or something like that in your local language). ![]() Method 1 works if windows haven't been upgraded to a new major version (e.g. ![]() IMPORTANT NOTE if Windows was "installed" using a disk image both methods fail. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |