Automatically detect LAN Settings in Windows 11/10