I've been working on detecting Windows 11 machines, which I have successfully done by looking at the CurrentBuild registry value for anything above the build 22000+. However, when it comes to determining Windows 11 editions such as Home, Pro, Enterprise, etc. the only thing I can think of is parsing the ProductName registry value and looking for key words that correspond to the Windows 11 editions. I have tried to look through the Registry to find anything resembling 'Windows 11 Home/Pro/Enterprise' but I have not been able to find anything. Has anyone been able to find a registry value that corresponds to the edition other than in the way I'm currently doing?
How can I identify different Window's Editions in Windows 11 without using the ProductName registry value?
69 Views Asked by kutulo At
1
There are 1 best solutions below
Related Questions in WINDOWS
- how to play a sounds in c# forms?
- Echo behaviour of Microsoft Windows Telnet Client
- Getting error while running spark-shell on my system; pyspark is running fine
- DirectX 9 With No SDK Installed - How To Translate a D3DMATRIX?
- Gradle 8.7 cannot find installed JDK 22 in IntelliJ
- 'IOException: The cloud file provider is not running', when trying to delete 'cloud' folder
- Cannot load modules/mod_dav_svn.so into server
- Issue with launching application after updating ElectronJs to version 28.0.0 on Windows and Linux
- 32-bit applications do not display some files in Windows 10
- 'bun' is not recognized as an internal or external command
- mkssecreenshotmgr taking a screenshot
- Next js installation in windows 7 os
- Can't resize a partition using Mini Tool?
- Is there any way to set a printer as default according with Active Directory Policy Security Group and PC hostname?
- Electron Printing not working on Windows (Works on Mac)
Related Questions in REGISTRY
- Set req query output to a variable
- Windows 2019 Registry Values Keep Reverting (Windows Defender)
- Cargo patch to redirect registry to local path without having to call cargo login
- OpenSubKey() in Windows 11
- How to read Virtualized Registry values from MSIX packaged Electron App
- podman ignoring private registry tls verification
- Explorer.exe keep writes registry entry silently upon right click on certain file types
- Windows registry dump in InstallShield prerequisite
- Windows batch file REG ADD not working sometimes, but not all the time
- Remove-ItemProperty does not seem to work with -LiteralPath
- How do I write a hexadecimal value to the registry?
- Powershell to change Registry Key
- How can I have an application associate with a file type?
- How to store text variable to file and retrieve it in PowerShell?
- Reading / Enumerating registry path fails "SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Telephony\\Country/region List"
Related Questions in WINDOWS-11
- How to immediately apply DISPLAYCONFIG_SCALING display scaling mode with SetDisplayConfig and DISPLAYCONFIG_PATH_TARGET_INFO
- OpenSubKey() in Windows 11
- Is there an easy way to open PowerShell in admin mode for the current folder on Windows 11?
- What is going on?
- MAUI App needs double clicks to open from task bar when minimized on Windows 11, need to open it in single click like other apps
- How to Fix C# WinForms Application Not Loading correctly on Windows 11?
- Explorer.exe keep writes registry entry silently upon right click on certain file types
- Open apps on main monitor even when the main monitor reassigned windows 11
- Open files in new tabs in Kate
- Python - Subprocess Output on Windows
- "I can't install the SDK file for the DigitalPersona 4500 fingerprint reader on Windows 11
- How do I write a hexadecimal value to the registry?
- A way to directly open 'Cleanup recommendation' settings GUI, from Command prompt (or) powershell
- Issues setting up LibTorch on Windows 11
- Windows 11 - How to modify the title of a group of items in the Windows Explorer context menu?
Related Questions in REGISTRYKEY
- Powershell to change Registry Key
- Is there a good way using Powershell to filter from a multi-string value on a Windows 2019 Server?
- Intune vs Registry key and spaces in path
- Set SQL Server Management Studio Settings via the Registry
- Procedurally solve winreg access denied error
- Registry modifications not taking effect when executing PowerShell script with admin rights
- Hide registry entry from application
- How can I identify different Window's Editions in Windows 11 without using the ProductName registry value?
- How to get the file link from a SharePoint/OneDrive Sync location
- Why is the Registry Key showing null in C# even if it is present in Registry Editor?
- How do I fix - A parameter cannot be found that matches parameter name 'RegSetting'
- Why does RegOpenKeyEx return "0" value?
- how do i run the script to modify registry changes, not sure if the script is not working or the command to call the file is incorrect
- Locate Registry Key and delete value
- Powershell - Accessing data within Properties from Get-ChildItems
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
From code, you can make use of GetProductInfo assuming you have the proper manifest in your EXE.
Alternatively, look at the WMI API using OperatingSystemSKU in Win32_OperatingSystem.