Resolve Error 0x3A98 when Generating WlanReport via CMD

The 0x3A98 error code occurs when users try to run a full WlanReport via a Command Prompt window. This investigation is typically done by users that are experiencing problems with their wireless network connection.

Error code 0x3A98 when running WlanReport

What’s causing the Error code 0x3A98?

  • Insufficient privileges – If you’re encountering this issue while attempting to generate a WlanReport, it’s probably because you’re trying to do it from a regular Command Prompt. In this case, you can fix the issue by running the WlanReport again from an elevated Command Prompt.
  • Common Network glitch – As it turns out, a glitched network component can also be responsible for the apparition of this error message. If this scenario is applicable, you can fix the issue by running the Windows Network troubleshooting and applying the recommended repair strategy.
  • 3rd party AV interference – If you’re using a 3rd party security suite, it’s possible that it’s overly controlling with the data exchange that goes around in your local network. To fix the problem in this case, you’ll need to either disable the 3rd party protection or to uninstall the security suite altogether.
  • Router inconsistency – As it’s been confirmed by several affected users, this issue can also occur due to an issue that’s entirely created by your router or modem. In this case, you can fix the problem by either resetting or refreshing your network device.

Method 1: Running WlanReport with admin access

If you don’t have any underlying issues with your Internet connection and you only get the 0x3A98 error code while trying to run a complete WlanReport, it’s probably because the CMD window that you are using doesn’t have admin access.

A lot of affected users that encountered this issue have reported that they managed to resolve the issue after they made sure that they ran the command from an elevated Command Prompt.

Here’s a quick guide on running the WlanReport from an elevated Command Prompt:

  1. Press Windows key + R to open up a Run dialog box. Next, type ‘cmd’ inside the text box and press Ctrl + Shift + Enter to open up an elevated Command Prompt. If you see the UAC (User Account Control), prompt, click Yes to grant administrative privileges.
    Running the Command Prompt
  2. Once you’re inside the elevated Command prompt, type the following command to generate a Wlan Report:
    netsh wlan show wlanreport
  3. Run the command and see if the report is generated without the apparition of the error message.

If the same 0x3A98 error code is still occurring, move down to the next potential fix below.

Method 2: Running the Network Troubleshooter

As it turns out, this particular 0x3A98 error code can also occur due to a software issue that appears due to a glitched network component that is causing general instability. Several Windows 10 users that were also struggling with this error code have confirmed that in their case, the issue was resolved entirely after they ran the Windows Network troubleshooter.

This built-in utility contains a selection of repair strategies that can be applied automatically if the initial scan reveals a documented inconsistency that Microsoft is already aware of.

Here’s a quick guide on running the network troubleshooter on Windows 10:

  1. Press Windows key + R to open up a Run dialog box. next, type ‘ms-settings:troubleshoot’ and press Enter to open up the Troubleshooting app fo the Settings app.
  2. Once you’re inside the Troubleshooting tab, scroll down to the left-hand section of the screen and scroll down to the Find and Fix other problems.
  3. When you get there, click on Network Adapter, and then click on Run the troubleshooter from the extended menu.
    Running the Network Adapter troubleshooter
  4. Once you start the utility, wait patiently until the initial prompt comes up. When you see it, select the network adapter that you’re having issues with. If the problem only occurs with your Wi-Fi adapter, select that only and click Next.
    Troubleshooting your Network adapter

    Note: If you are receiving the same 0x3A98 error regardless if you’re wired or wireless, select the All Network adapters to toggle and click on Next.

  5. Wait patiently until the scan is complete. If a viable fix is found, simply click on Apply this fix to apply it on your computer.
    Apply this fix

    Note: Depending on the fix that gets recommended, you might need to follow a series of additional steps to complete the process.

  6. Once the operation is complete, restart your computer and see if the issue is resolved at the next system startup.

If the same problem is still occurring even after you followed the instructions above, move down to the next method below.

Method 3: Disabling 3rd party interference (if applicable)

As several affected users have reported, you can also see the 0x3A98 error in situations where a 3rd party security suite is overly controlling with the data exchange that is going back and forth on your local or work network.

In the vast majority of cases, McAfee and Comodo are reported as being responsible for the apparition of this issue. If this scenario is applicable, you can resolve the issue by disabling the real-time protection of the security suite, or, in more serious cases, you can fix it by uninstalling it and ensuring that you also remove any leftover files that might cause this behaviour.

If this scenario is applicable, start by disabling the rea-time protection and seeing the issue is resolved. With most 3rd party security suites, you will be able to do this directly from the taskbar menu.

Disabling the real-time protection on Avast Antivirus
Disabling the real-time protection on Avast Antivirus

However, if that’s not enough or you’re using a 3rd party tool with an included firewall, you will need to uninstall the security suite altogether and ensure that you’re not leaving behind any leftover files that might still cause the same behaviour. If you’re looking for step by step instructions, use this step-by-step guide on removing any 3rd party security program along with any remnant file.

If this scenario is not applicable to your particular scenario, move over to the next potential fix below.

Method 4: Refreshing / Reset modem

If the methods above didn’t allow you to run the WlanReport successfully without encountering the 0x3A98 error code, it’s likely due to the fact that that you’re dealing with an underlying router or modem issues (depending on what you’re using.

Several affected users that were also struggling with this particular issue have confirmed that they managed to fix the error and restore the Internet connection to the normal functionality after they’ve forced a network refresh.

If you don’t want to revert any settings to the default, the ideal way to start is by performing a simple network restart. This procedure is completely non-intrusive and will refresh your network without resetting your credentials.

With the vast majority of modern or router modems, you can do this easily by pressing the On or Off button once, then wait for 20 seconds or more before pressing the button again to restart.

Restarting your router/modem

If this doesn’t work, you should consider doing a reset. But before you go through with this, keep in mind that this procedure will reset any custom credentials you’ve previously established as well as any settings that you’ve previously altered from their default values.

Note: With most manufacturers, the router settings login credentials will be reverted back to admin/admin (for user and password).

To reset your modem, simply press the Reset button and keep it pressed for at least 10 seconds or until you see the front LEDs flashing all at once. But keep in mind that with most manufacturers, you will need a sharp object like a toothpick or a needle in order to be able to press the reset button.


Kevin Arrows

Kevin Arrows is a highly experienced and knowledgeable technology specialist with over a decade of industry experience. He holds a Microsoft Certified Technology Specialist (MCTS) certification and has a deep passion for staying up-to-date on the latest tech developments. Kevin has written extensively on a wide range of tech-related topics, showcasing his expertise and knowledge in areas such as software development, cybersecurity, and cloud computing. His contributions to the tech field have been widely recognized and respected by his peers, and he is highly regarded for his ability to explain complex technical concepts in a clear and concise manner.