To get started, ensure the WiFi SSID is visible when you click the network or internet icon in the system tray. If so, right-click on the desired network name and select the Forget option.
If you want to forget a Wi-Fi network on Windows 11, you can follow these instructions: Click on the Wi-Fi icon in the Action Center (towards the right of the Taskbar). Click on the arrow (chevron ...