Resetting network settings reinstalls all adapters, erases saved Wi-Fi networks, and custom DNS settings. To perform a network reset, head into Settings > Network & Internet > Advanced Network ...
There is only one way to achieve this. You can use the netsh command to give propriety or set the preferred WiFi network on Windows 11. You will also need admin permission to execute these suggestions ...