i tried these steps , it seems to be after i cleared the registry anyone who have ran into the issue maybe a fix for registry or to detect the rdp port, the issue started after using the commands above , restoring windows did not help
:: Clear entries from RDC Cumputer box
REG DELETE "HKCU\Software\Microsoft\Terminal Server Client" /F
:: Delete last connection history to not show in RDC Computer box
DEL /F /S /Q /A "%UserProfile%\Documents\Default.rdp"
:: Clear RDC jump list
DEL /F /S /Q /A...