
your laptop // remembers everywhere you've been
netsh wlan show profilesyour laptop is basically a diary of everywhere you've had wifi
you don't think about it, but your laptop has been quietly keeping receipts since the day you got it. every hotel, every coffee shop, every airport lounge, that one hostel in barcelona with the sketchy router name. windows saves a profile for every network you've ever joined, and that profile sticks around long after you've forgotten the wifi even existed.
this isn't some hidden hacker trick. it's a built in windows command that anyone with access to your machine (or your login) can run in about two seconds. let's break down what it actually shows and why that matters.
the command
open command prompt and type this:
netsh wlan show profiles
this spits out a list of every wifi network name (the ssid) your device has ever saved a connection profile for. no admin rights needed for this part, it just lists names.
want to see more detail on a specific one, including whether the password is stored and viewable in plaintext? that requires an admin prompt:
netsh wlan show profile name="networkname" key=clear
the key=clear flag is the part that matters. it reveals the saved password for that network if you have local admin access. so if someone gets into your machine, even briefly, they're not just seeing where you've been, they can potentially get into networks you've connected to before.
why a list of wifi names is a bigger deal than it looks
a wifi profile list isn't just clutter. it's a timeline. someone looking at it can reasonably guess your commute, your favorite coffee shop, the hotel chain you always book, the city you visited last month, maybe even your home network name if you named it something personal like "smiths_house_2ndfloor."
this is the kind of thing that matters a lot in domestic abuse situations, stalking cases, or if your laptop is ever lost, stolen, seized, or handed off for repair without you thinking to check what's on it first. it's also exactly the kind of artifact forensic investigators pull during device analysis, which is why it shows up in dfir workflows constantly.
how to actually check and clean up your own list
run the first command and actually read through what comes back. you'll probably be surprised how far back it goes and how many networks you don't even recognize anymore.
to delete a saved profile you don't need anymore:
netsh wlan delete profile name="networkname"
do this for anything tied to a place you no longer go, a device you no longer own, or a network you connected to once and never needed again (looking at you, random airbnb router).
if you want to nuke everything and start fresh, you can delete all profiles and just let windows rebuild the list as you reconnect to places you actually use regularly.
locking this down for real
clearing the list helps, but the bigger fix is limiting who can even get to that command prompt in the first place.
make sure your laptop requires a login every time it wakes up, not just on cold boot. an unlocked machine sitting on a coffee shop table is an open book. enable full disk encryption (bitlocker on windows, filevault on mac) so if the device is lost or stolen, the data on it isn't just sitting there for anyone to read.
if you're on a shared or work managed device, don't assume you're invisible either. this same command works on any windows machine with a local account, which means it's worth knowing what your own device is exposing before someone else finds it for you.
on the network naming side, avoid ssids that include your name, address, or anything identifiable, since that information gets baked into every device that ever connects and remembers it.
the takeaway
your laptop's wifi history is a quiet little logbook of your life, and most people have never once looked at it. take five minutes, run the command, see what's in there, and clear out what you don't need. it's a small habit, but it's the difference between your device being a diary anyone can flip through and one that actually keeps your business to yourself.