2 Ways to determine the Windows Feature Version / Release ID, check this :-
windows-get-windows-feature-version-release-id
Check Windows 10 Release ID
Hey,
I need to check if my Windows 10 Release ID is, for example (1809 and newer) or (older)?
Is the best way checking the "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ReleaseId" or there is some better .NET (4.6) built-in functions to do so?
Thanks for the advise.
VB
2 answers
Sort by: Most helpful
-
AddWebSolution 171 Reputation points
2021-05-31T07:30:19.373+00:00 -
Xingyu Zhao-MSFT 5,381 Reputation points
2021-06-01T01:43:54.91+00:00 Hi @OSVBNET ,
Is the best way checking the "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ReleaseId"
Yes, for example:
Dim releaseId As String = Registry.GetValue("HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion", "ReleaseId", "").ToString()
Hope it could be helpful.
Best Regards,
Xingyu Zhao
*
If the answer is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.