Check Windows 10 Release ID

OSVBNET 1,391 Reputation points
2021-05-31T05:43:06.157+00:00

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
VB
An object-oriented programming language developed by Microsoft that is implemented on the .NET Framework. Previously known as Visual Basic .NET.
2,881 questions
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. AddWebSolution 171 Reputation points
    2021-05-31T07:30:19.373+00:00

    2 Ways to determine the Windows Feature Version / Release ID, check this :-
    windows-get-windows-feature-version-release-id


  2. 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.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.