Hi @Ramesh Arumugam ,
Welcome to Microsoft Q&A forum.
VS will generate eight random characters to be identified in Registry when you install them. The Registry path you are looking for should be Computer\HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Microsoft\VisualStudio_XXXXXXXX, as XXXXXXXX is randomly generated, they will not be the same.
You can also find the installed VS instances and their eight characters in C:\ProgramData\Microsoft\VisualStudio\Packages\_Instances. If you can locate and confirm this characters, then in this path Computer\HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Uninstall\XXXXXXXX, you can match the eight characters, and find the DisplayName and DisplayVersion there.

Best Regards,
Tianyu
- If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
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.