2021-04-12

Delete network profile / wifi connection from command prompt

Open a command prompt and run the following command:

netsh wlan delete profile name=SSID

If you get the following error:

You do not have sufficient privileges or the profile "YourProfile" on interface "wifi" is a group policy profile.
then try this:
  • stop the WlanSvc service (WLAN AutoConfig)
  • delete all files in the \Windows\wlansvc\Policies folder
  • try again to delete the profile
    • netsh wlan delete profile name=SSID
  • restart the WlanSvc service

No comments:

Post a Comment