Changes

Jump to: navigation, search

Talk:Check Version (Windows)

794 bytes added, 10:56, 2 February 2018
Why not using version of ntoskrnl.exe ?: new section
All my Windows 10 installations (Build 1709 installed from scratch, NO update) have the value "6.3" in the "CurrentVersion" registry entry.
 
== Why not using version of ntoskrnl.exe ? ==
 
What about using the version of "%SystemRoot%\system32\ntoskrnl.exe"
 
This would make it possible to check for "versiongreaterthan" or "versionsmallerthan", which could make some situations easier.
 
<source lang="xml">
<!-- windows 7 or newer -->
<check type="file" condition="versiongreaterthan" path="%SystemRoot%\system32\ntoskrnl.exe" value="6.1" />
<!-- windows 8.1, Server 2012 or newer -->
<check type="file" condition="versiongreaterthan" path="%SystemRoot%\system32\ntoskrnl.exe" value="6.3" />
<!-- windows 10 or newer -->
<check type="file" condition="versiongreaterthan" path="%SystemRoot%\system32\ntoskrnl.exe" value="10.0" />
</source>
 
[https://en.wikipedia.org/wiki/List_of_Microsoft_Windows_versions Wikipedia Windows Versions]
6
edits

Navigation menu