kitlosa.blogg.se

Total Registry 0.9.7.5 instal the last version for windows
Total Registry 0.9.7.5 instal the last version for windows









Total Registry 0.9.7.5 instal the last version for windows

PS > $os.ConvertToDateTime($os.InstallDate) -f "MM/dd/yyyy"īy using WMI ( Windows Management Instrumentation) In Windows PowerShell script, you could just type: PS > $os = get-wmiobject win32_operatingsystem Shave 5 characters off with systeminfo|find "Original" If Windows was updated to a newer version, this seems to give the date on which Windows was RE-installed.Īs Sammy comments, find /i "install" gives more than you need.Īnd this only works if the locale is English: It needs to match the language.įor Swedish this would be " ursprungligt" and " ursprüngliches" for German. not the number of seconds )īut ( caveat), as noted in the 2021 comments by Salman A and AutoMattTick

Total Registry 0.9.7.5 instal the last version for windows

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.











Total Registry 0.9.7.5 instal the last version for windows