why console log shows older version of windows?
#1
hi, just curious why is the console log shows me a "Operating System = Microsoft (build 9200), 64-bit"
instead off showing me "Microsoft (build 10240), 64-bit"?
just want it to be updated like my new windows hhh. Tongue
Reply

Sponsored links

#2
Run dxdiag and see your Windows version there.
[Insert Witty Sig Here.]
Reply
#3
It's to do with a change in Windows 10, you can no longer query the version without having UAC elevation and authorization and certification from Microsoft. Everything else gets Windows 8.1 reported to it as the Windows version.

Nothing we can do about it Tongue
[Image: ref-sig-anim.gif]

Reply
#4
Dat some BS.

YOU WANT TO KNOW WHAT VERSION?! YOU NEED ADMIN! YOU NO HAVE ADMIN!? THEN ***** YOU! 8.1 8.1 8.1 8.1 8.1 8.1 8.1 8.1 8.1 8.1 8.1 8.1 8.1 8.1 8.1 8.1 8.1 8.1 8.1 8.1
[Image: XTe1j6J.png]
Gaming Rig: Intel i7 6700k @ 4.8Ghz | GTX 1070 TI | 32GB RAM | 960GB(480GB+480GB RAID0) SSD | 2x 1TB HDD
Reply
#5
Just made a patch for windows 10 detection on the log file, could be identified by the minimum and maximum OS version variables given at Microsoft.
We're supposed to be working as a team, if we aren't helping and suggesting things to each other, we aren't working as a team.
- Refraction
Reply
#6
I'll upload it to dropbox right now
[Image: gmYzFII.png]
[Image: dvedn3-5.png]
Reply
#7
Nice.
[Image: XTe1j6J.png]
Gaming Rig: Intel i7 6700k @ 4.8Ghz | GTX 1070 TI | 32GB RAM | 960GB(480GB+480GB RAID0) SSD | 2x 1TB HDD
Reply
#8
Does reading from the registry need admin privileges?
If not,the key that has the info is the same on all windows versions
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion
Reply
#9
yeah reading with regedit is fine cos its a microsoft program, but using the winapi get windows version wont report it
[Image: ref-sig-anim.gif]

Reply
#10
Here's an Orphis build with <supportedOS> added to the manifest.

Code:
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0">
<compatibility xmlns="urn:schemas-microsoft-com:compatibility.v1">
<application>
    <!-- Windows Vista -->
    <supportedOS Id="{e2011457-1546-43c5-a5fe-008deee3d3f0}"/>
    <!-- Windows 7 -->
    <supportedOS Id="{35138b9a-5d96-4fbd-8e2d-a2440225f93a}"/>
    <!-- Windows 8 -->
    <supportedOS Id="{4a2f28e3-53b9-4441-ba9c-d69d4a4a6e38}"/>
    <!-- Windows 8.1 -->
    <supportedOS Id="{1f676c76-80e1-4239-95bb-83d0f6d0da78}"/>
    <!-- Windows 10 -->
    <supportedOS Id="{8e0f7a12-bfb3-4fe8-b9a5-48fd50a15a9a}"/>
</application>
</compatibility>
</assembly>

To any interested developer save that to a .manifest file and add to project.
Reply




Users browsing this thread: 1 Guest(s)