Wi-Fi connectivity issues can be among the most frustrating problems to resolve on a PC. Whether your device refuses to connect, data transfer speeds plummet, or the network drops intermittently, the root cause is often difficult to pinpoint without the right data. While many users resort to restarting their router or updating drivers blindly, Windows actually ships with a robust, built-in utility designed to diagnose these exact problems.
This hidden utility generates a comprehensive HTML report that details your network activity over the past 48 hours. It aggregates system information, adapter status, and connection logs into a single, readable file. Here is how to access and utilize this Windows Wi-Fi diagnostic tool to identify and resolve your network issues.
How to Generate the Wi-Fi Report
Accessing this diagnostic feature requires the Command Prompt or PowerShell, as it is not available through the standard Settings menu. To begin, click the Start button or press the Windows key, type Command Prompt or PowerShell into the search bar, and ensure the correct result is highlighted. Instead of simply pressing Enter, click the Run as Administrator option located on the right-hand side of the results pane. This elevated privilege is necessary for the system to compile the full network log.
Once the terminal window is open, type the following command and press Enter:
netsh wlan show wlanreport
Windows will immediately begin processing the command. This may take a few moments depending on your system’s current activity. Upon completion, the command line will display the file path where the report has been saved. By default, this file is stored at C:\ProgramData\Microsoft\Windows\WlanReport. The generated file is named wlan-report-latest.html.
To view the report, you can copy the path directly from the Command Prompt using Ctrl+C. Then, open Windows Search, paste the path into the search box, and press Enter. This will launch your default web browser and open the report instantly. If the search method does not open the file directly, you can navigate to that folder manually in File Explorer. Note that the ProgramData folder is hidden by default; you may need to enable “Hidden items” in File Explorer’s View settings to browse to it manually.
Understanding the Report Sections
Once the HTML report opens in your browser, you are presented with a structured overview of your network health. At the very top, you will find a timeline of Wi-Fi events from the last 48 hours. These events are marked with colored dots and letters to indicate status at a glance. For instance, a black X on a red background signifies a connection error, while the letter N indicates that the connection to a specific network was lost. Hovering your mouse over these markers reveals additional context for that specific moment.
Below the event timeline, the report is divided into several detailed sections:
- Report Info: Displays the exact date and time the report was generated, along with the time period it covers.
- General System Info: Provides hardware specifications, BIOS version, and the current Windows build. This is useful for verifying compatibility if you suspect driver conflicts.
- User Info: Lists basic user account data associated with the network activity.
- Network Adapters: Enumerates all installed network interfaces, including physical Wi-Fi cards, Bluetooth adapters, VPN virtual adapters, and other software-based network components.
- Script Output: This is one of the most valuable sections for technical troubleshooting. It contains the raw output from several diagnostic commands run by the system:
- ipconfig /all: Shows the complete TCP/IP configuration for all adapters, including IP addresses, subnet masks, and DHCP server details.
- netsh wlan show all: Details the installed wireless drivers, current Wi-Fi network status, and a history of access points the device has connected to.
- certutil: Runs a certificate utility check, providing information about the security profiles and certificates associated with your saved Wi-Fi networks.
Analyzing Connections and Sessions
Further down the document, the Summary section offers a high-level view of your network reliability. It categorizes Wi-Fi connections into successful and failed attempts and lists the specific reasons why connections were terminated. This allows you to quickly identify patterns, such as frequent disconnections from a specific router or errors occurring only during certain times of the day.
For a deeper technical dive, scroll to the Wireless Sessions section at the end of the report. This area maps specific Wi-Fi adapters to the networks they connected to, listing the SSID and the method of connection. Crucially, it includes the event IDs and detailed descriptions of every event that occurred while establishing or maintaining the connection. If you are working with IT support or searching Microsoft’s knowledge base for a specific error, these event IDs are the key identifiers you will need.
What This Means for You
For everyday users, this tool eliminates the guesswork from network troubleshooting. Instead of toggling airplane mode or resetting your network adapter repeatedly, you can generate evidence of what the system actually experienced. For IT professionals and power users, the inclusion of raw command outputs like ipconfig and netsh within a single HTML file streamlines the diagnostic workflow significantly.
How to Get It
This diagnostic tool requires no installation or download. It is built into all modern versions of Windows 10 and Windows 11. As long as you have administrative access to your device, you can run the netsh wlan show wlanreport command at any time to generate a fresh report.
Have you ever used this hidden report to fix a stubborn Wi-Fi issue? Share your experience in the comments below.
Source: PCWorld
Over to you: Have you used the netsh wlanreport command to fix a stubborn Wi-Fi issue, or do you prefer third-party tools?



