Windows Enterprise Desktop

May 12 2017   10:18AM GMT

Clean Up Old Wireless Profiles in Windows 10

Ed Tittel Ed Tittel Profile: Ed Tittel

Tags:

I have five mobile PCs at my disposal. At various times, I’ve taken all of them on the road with me. Earlier this week, I took at look at the various wireless profiles defined on each of those machines. I found no less than 18 entries on any given machine. My trusty Lenovo T520 — the machine I take with me most often, thanks to its 15.6″ display, comfortable keyboard, and capacious storage (3 drives for 2.75 TB) — had 25! Looking at what I found when running netsh wlan show profiles quickly led me to clean up old wireless profiles on all of those machines. PowerShell makes that pretty easy, so I’ll show what I found, then explain how I cleaned it up.

Clean Up Old Wireless Profiles

Aside from numerous client office networks and my home WAPs, this list features lots of hotels and miscellany (25 entries!).

How to Clean Up Old Wireless Profiles in Windows 10

PowerShell happily fields 99.9% of the commands that cmd.exe accommodates, and thousands of cmdlets besides that. I turned to the standard network management command netsh to get my work done in this case. The basic sequence of activities flowed like this:

  1. netsh wlan show profiles produced the list of profiles shown in the preceding screen capture. These include numerous client locations, my iPhone and home WAP networks, plus lots of hotels and other remote networks, many of whose generic names ring no bells with me at all.
  2. netsh wlan delete profile name=”<name>” is the syntax for removing old, obsolete or unwanted profiles from that list, where one must substitute <name> with an actual profile name (e.g. TSI or Ft.Marcy Wifi, both of which were among the 15 targets I removed). [Note: the quotation marks enclosing the value of the name attribute are mandatory.]
  3. PowerShell lets you use cut-n-paste operations with commands, so I used the output from netsh wlan show profiles to capture the strings I used in the subsequent delete commands to clean up the entries I didn’t want or need any longer. Took me less than two minutes on any given PC to clean up my list.

For those of us who take their PCs with them on the road, and who tie into lots of  “away” wireless LANs, this kind of clean-up is worth doing at least once a year, if not more often than that. Good thing that PowerShell makes it fast and dead simple!

 Comment on this Post

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when other members comment.

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

Share this item with your network: