How to Fix BSODs caused by aswNetSec.sys

Several Windows users are reporting that they are unable to boot up normally anymore. During the booting sequence, the startup sequence is interrupted by a BSOD (Blue Screen of Death) pointing towards aswNetSec.sys as the file responsible for the critical system crash. Some users are reporting that they can boot in Safe Mode without networking. The issue is mostly reported on Windows 10, but it’s not exclusive to this Windows version as we also managed to find occurrences on Windows 7 and Windows 8.1.

What is causing the aswNetSec.sys BSOD?

We investigated this particular issue by looking at various user reports and analyzing the most popular fixes that affected users have been using to resolve this particular error message. As it turns out, several different scenarios might trigger this type of BSOD. Here’s a list of culprits that might cause this type of critical crash:

  • Avast file is causing the crash –  In the vast majority of reported cases, the issue is caused by Avast. It will conflict with a kernel application which will produce a critical system crash. In this case, you should be able to resolve the issue by uninstalling the 3rd party antivirus (Avast)
  • System file corruption – If Avast is not responsible for the crash, the BSOD is likely caused by some underlying system corruption problem. If this scenario is applicable, you should be able to fix the problem by performing a repair install (in-place repair).

If you’re currently struggling to resolve the same aswNetSec.sys BSOD crash, this article will provide you with a couple troubleshooting guides that have been confirmed to be effective. Down below, you’ll find several different potential fixes that other users in the same situation have successfully used to stop the BSOD crashes from happening.

To remain as efficient as possible, we encourage you to follow the methods below in the same order that we arranged them in. Eventually, you should stumble upon a fix that will resolve the issue regardless of the culprit that’s causing it.

Method 1: Uninstalling 3rd party antivirus (if applicable)

As it turns out, the number one cause why this issue is occurring is due to a problematic Avast driver that ends up conflicting with some kernel files used dooring the booting sequence. Unfortunately, if you encounter this issue, the only way you’re going to resolve the issue is likely by getting rid of the 3rd party security scanner and moving towards the built-in antivirus (Windows Defender).

Whether is Avast or a different 3rd party AV client, you’ll need to boot in Safe Mode without networking to bypass the BSOD crash triggered by aswNetSec.sys. 

If you’re ready to get rid of your 3rd party antivirus, follow the steps below to boot in Safe Mode and uninstall the 3rd party antivirus suite completely (without leaving behind any remnant files):

  1. Restart or power your computer on and press the F8 key repeatedly as soon as you see the initial screen. You should be taken directly into the Advanced Boot Options.
  2. Once you’re inside the Advanced Boot Options menu, use the arrow key to select Safe Mode. You can also press the corresponding Num key (4).
    Press 4 or F4 to boot into Safe Mode

    Note: It’s important to boot in regular Safe Mode – not with Networking. We are trying to prevent the aswNetSec.sys file from communicating with Avast’s servers.

  3. Wait patiently until your computer boots into Safe Mode. You should no longer encounter the BSOD.
  4. Once the booting sequence is complete, press Windows key + R to open up a Run dialog box. Next, type “appwiz.cpl” inside the text box and press Enter to open up the Programs and Features window.
    Type appwiz.cpl and Press Enter to Open Installed Programs List
  5. Once you’re inside the Programs and Features screen, scroll down through the list of installed applications and locate the avast installation. When you see it, right-click on it and choose Uninstall from the newly appeared context menu.
    Select Avast and Click Uninstall
  6. Follow the on-screen prompts on the uninstallation menu to complete the process.
  7. Once the security suite is uninstalled, visit this link (here) and follow the steps appropriate to Avast to ensure that you’re not leaving behind any files that could still cause the BSOD.
  8. After any remnant files have been removed, restart your computer and see if the same BSOD is still occurring when you attempt to boot up your computer normally.

If the same BSOD crash is still occurring, move down to the next method below.

Method 2: Performing a Repair install

If the method above didn’t allow you to resolve the issue, chances are the issue is occurring due to some underlying system file corruption that will not go away so easily. In this case, chances are you will be able to stop the aswNetSec.sys BSODs by resetting every WIndows component along with all booting data.

The most popular way of doing this is with a clean install. But this procedure is quite destructive since it will make you lose all your data including applications, games and personal media (photos, videos, audio files, etc.).

A better and more efficient way is to do a repair install. This will reset all Windows components and boot data while allowing you to preserve your files, applications, and games. If you decide to go for a repair install (in-place repair), follow the steps outlined in this article (here).

ABOUT THE AUTHOR

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.