Windows 10 version number?

May 20, 2008
9,144
58
Syracuse, NY, USA
VER says "Windows 10 [Version 10.0.17134.320]". "About your PC" says the version is 1803 and the build is 17134.320. Can I get that version number, 1803, with TCC?
 
May 30, 2008
215
1
This seems to work:

%@RegQuery["HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ReleaseId"]
 

samintz

Scott Mintz
May 20, 2008
1,322
12
Solon, OH, USA
If you just want to see the version information, run WINVER. If you need to use that information in a script, then use the @RegQuery approach.
 
Aug 23, 2010
307
2
Unfortunately, starting with Windows Vista, Microsoft trying hard to lie to programs about the Windows version they run in.
Registry read is not fool-proof, the key can be edited by anyone with enough access permissions.
 
May 26, 2008
497
3
Microsoft trying hard to lie to programs about the Windows version they run in.
Yeah, because most programs don't handle it properly. Some programs incorrectly change their functionality or assume they won't work on newer versions of Windows. That's why MS had to basically start lying to software. Heck even back in DOS days this was the case...remember SETVER?
 
Aug 23, 2010
307
2
They've already had the system in place to change behavior of such applications. Lying on a global scale was just an asshole move.