How to Use Netsh WLAN Show Wlanreport in Windows 11

Published by Ryan Tan - Updated on

Windows 11 doesn’t tell you why your Wi-Fi keeps disconnecting, but it does record each connection, drop and error in the event log. The netsh wlan show wlanreport command turns that log into a report you can open in your browser, with the reason Windows recorded for each disconnect. This guide will explain how to run the report, how to read it, and what to do when the command doesn’t work.

Also see: PC Keeps Disconnecting from WiFi but Other Devices Are Fine

How to Use Netsh WLAN Show Wlanreport in Windows 11

What does netsh wlan show wlanreport do?

The command builds a report from the event log. By default it covers the last three days of Wi-Fi activity and groups everything into connection sessions, so you can see when each session started, how long it lasted and why it ended. It works the same on Windows 11 and 10.

It’s a diagnostic tool only. It won’t fix anything by itself, but it can show whether your drops line up with the adapter going to sleep, a driver reset or the router, and that tells you which fix to try.

How to run netsh wlan show wlanreport

The command needs an administrator Command Prompt (or an admin Terminal), otherwise it refuses to run.

  1. Click the search box on the taskbar and type “Command prompt“.
  2. Select “Run as administrator” on the right (or right-click “Command Prompt” and select it there).Command Prompt Run as Administrator
  3. Click “Yes” when Windows asks for permission.
  4. Type the following command and press Enter:
    netsh wlan show wlanreport

    netsh wlan show wlanreport command in Windows 11

  5. Wait for “done.” to appear. The line before it says where the report was saved, which is normally:
    C:\ProgramData\Microsoft\Windows\WlanReport\wlan-report-latest.html

The report doesn’t open by itself. Copy that path into the address bar of File Explorer and press Enter, and it opens in your default browser. The ProgramData folder is hidden by default, so pasting the path is quicker than browsing to it.

The command also saves a dated copy in the same folder (for example wlan-report-2026-12-04.html), along with wlan-report-latest.cab and wlan-report-latest.xml.

WlanReport folder in ProgramData Windows 11

How to read the wlan report

The chart at the top shows your recent sessions, with a letter for each event: C for a started connection, D for a disconnect, S and W for the adapter going into a low power state and waking up again, and I, L and N for internet, limited and no connectivity. A red circle is an error. Hover over an event to see a summary, or click it to jump to that session further down. The chart only covers the last 48 hours; older sessions are listed under “Wireless Sessions“.

Wlan report session chart Windows 11

Below the chart you’ll find your PC’s details, your network adapters (including hidden ones) and the output of a few commands such as ipconfig /all. The Summary part comes next, and it’s the one to look at:

  • Session Success/Failures: how many connections worked, how many failed and how many had warnings.
  • Disconnect Reasons: each reason Windows recorded, with how many times it happened.
  • Session Durations: how long your connections usually last before dropping.
  • Wireless Sessions: every session in detail, with its network name, duration, disconnect reason and events.

Disconnect Reasons in wlan report Windows 11

Start with “Disconnect Reasons” and look for the one with the highest count. Reasons people often see there include:

  • “The network is disconnected by the driver”, “The driver disconnected while associating” or “The driver disconnected”: the Wi-Fi adapter’s driver ended the connection. Updating or reinstalling the Wi-Fi driver and stopping Windows from turning the adapter off to save power are the first things to try.
  • “Failed to connect because no connectable Access Point was visible” or “The specific network is not available”: your PC couldn’t see the network at that moment, which can mean a weak signal or the router dropping out.

It also helps to look at what happened right before a red circle or a D. A disconnect that keeps coming right after an S (the adapter going into a low power state) suggests power saving or sleep. The fixes for driver, power saving and signal drops are in PC Keeps Disconnecting from WiFi but Other Devices Are Fine.

The report also lists your computer name, username, IP and MAC addresses, and saved Wi-Fi network names (passwords and keys aren’t shown). If you post it on a forum to ask for help, share only the part you need and blank out the personal details.

Pro tip: How to Install or Update Driver in Windows 11

Change how many days the report covers (duration)

Three days can miss drops that only happen once or twice a week. The command takes an optional duration parameter, a number of days:

netsh wlan show wlanreport duration=7

The “Report duration” line near the top of the report confirms how many days it covers.

netsh wlan show wlanreport duration 7 days Report Info

A few things to know about it:

  • It counts in whole days. There’s no way to ask for a few hours, and duration=0 or a value that isn’t a number is refused with “Invalid value“.
  • The report is built from the event log, so a long duration can only show what the log still holds.
  • Only the Wi-Fi events follow the duration. The computer name, system details and Wi-Fi profiles always show how your PC is right now.

netsh wlan show wlanreport not working?

The command can refuse to run, or run fine and give you an empty report.

“You must run this command from a command prompt with administrator privilege”

This is the message you get when you run the command in a normal Command Prompt or Terminal window. Close it and open Command Prompt with “Run as administrator” as shown above, then run the command again.

You must run this command from a command prompt with administrator privilege

The report says no events were found

A chart that says “No events from the last 48 hours to display” and a sessions part that says “No WLAN events were found on this system” mean Windows has no Wi-Fi activity on record for that time. This happens on a PC that hasn’t used Wi-Fi in that period, or one with no working Wi-Fi adapter at all. You may also see “The Wireless AutoConfig Service (wlansvc) is not running.” while the command runs; the report is still written, just without the Wi-Fi parts.

What does 0x5B4 mean?

0x5B4 is Windows’ general timeout error (error 1460, “This operation returned because the timeout period expired.“). If you see it next to a failed connection in the report, a part of connecting, most likely signing in to the network, didn’t finish in time. That points to the signal or the router, so the usual Wi-Fi drop fixes apply. If the command itself stops with 0x5B4, run it again from an admin Command Prompt.

Run the wlan report on a remote computer

The usual way to run netsh on another PC, netsh -r <computer>, doesn’t work for this command. It answers with “The following command was not found: wlan show wlanreport.”

PowerShell remoting works instead. It needs remoting turned on for the other PC (Enable-PSRemoting run as admin on it) and an account that’s an administrator there. Open an admin PowerShell window on your own PC and replace PC-NAME with the other computer’s name.

To run the report on the remote PC only (it’s saved there, not on your PC):

Invoke-Command -ComputerName PC-NAME -ScriptBlock { netsh wlan show wlanreport }

To run it and copy the report back to your PC, type the following commands one by one, and press Enter after each:

$s = New-PSSession -ComputerName PC-NAME
Invoke-Command -Session $s -ScriptBlock { netsh wlan show wlanreport }
Copy-Item -FromSession $s -Path C:\ProgramData\Microsoft\Windows\WlanReport\wlan-report-latest.html -Destination C:\Users\Public\remote-wlan-report.html
Remove-PSSession $s

The copied report then sits in C:\Users\Public on your PC, ready to open in your browser.


Ryan Tan
Ryan Tan is a writer and editor at WindowsDigitals.com with a background in software engineering. He loves coding and playing with new tech, and Windows is what he uses most. Ryan is a problem solver at heart when it comes to PCs. He would rather find the real cause of an issue than settle for a quick workaround.