I'm talking about enable network Discovery And file sharing in Windows. I don't know what's the register key to activate this option. Thank you.Most RDP settings are separately applied using a GPO policy file, or registry keys. If you're in a personal environment, creating a .reg file is the simplest answer.
By network detection, are you talking about session connection speed or enabling UDP support? Outbound RDP connections don't require disabling firewall rules, unless you want go back in the reverse direction.