Welcome!

By registering with us, you'll be able to discuss, share and private message with other members of our community.

SignUp Now!

Windows 10 version number?

May
13,190
180
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?
 
This seems to work:

%@RegQuery["HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ReleaseId"]
 
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.
 
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.
 
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?
 
They've already had the system in place to change behavior of such applications. Lying on a global scale was just an asshole move.
 
Back
Top
[FOX] Ultimate Translator
Translate