Windows 10 version number?

#1
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
214
1
#2
This seems to work:

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

samintz

Scott Mintz
May 20, 2008
1,312
11
Solon, OH, USA
#4
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
285
2
#5
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
495
3
#6
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?