Report Windows 11

Questions about Wine on Linux
Locked
Thijxx
Newbie
Newbie
Posts: 1
Joined: Wed Oct 19, 2022 1:06 am

Report Windows 11

Post by Thijxx »

Hello, I'd like my Wine to report that it is Windows 11 or a certain updated version of Windows 10. I use an application that needs Windows 10 1909 or up and it will not start when I set the Windows version to 10 in winecfg.
I don't know what specific version of Windows 10 is used when I select it as the Windows version.
jkfloris
Level 12
Level 12
Posts: 3201
Joined: Thu Aug 14, 2014 10:10 am

Re: Report Windows 11

Post by jkfloris »

A program can detect the Windows version in several ways. If you are lucky, it will look at the registry.
The Windows 10 version set by Wine is 1809, but you can adjust that manually.

Set the Windows version to Windows 10

Code: Select all

winecfg -v win10
Open regedit

Code: Select all

wine regedit
and go to HKEY_LOCAL_MACHINE\Software\Microsoft\Windows NT\CurrentVersion

Change CurrentBuild and CurrentBuildNumber to 19044 or 19045
19044 is version 21H2
19045 is version 22H2
If you want to try an other version, you could find the build numbers in the Windows 11 release information.
Locked