As you can notice in Blue Screen errors, most of them point out a file that’s related to the errors. One of these files is the Storport.sys file which is a system file related to the storage of data in the storage unit of a computer. This file is created by the Microsoft Storage Port Driver. So if this file ends up getting dragged on Blue Screen errors, there can be a number of reasons for why it’s happened. Blue Screen errors related to the Storport.sys file may include conflicts with the hardware, incompatible firmware issues, corrupted drivers, missing or corrupted system files, to name a few.
Here are some of the common Blue Screen errors related to the Storport.sys file:
- KERNEL DATA INPAGE
- PAGE FAULT IN A NONPAGED AREA
- SYSTEM THREAD EXCEPTION NOT HANDLED
- IRQL NOT LESS OR EQUAL
- SYSTEM SERVICE EXCEPTION
Microsoft Windows is the one that provides the Storport.sys file a storage port driver that is suited especially for the use of high-performance buses like fiber channel buses and RAID adapters. There are a number of advantages in using Storport instead of the SCSI Port, according to Microsoft:
- “Improved performance, both in terms of throughput and the system resources that are utilized.
- Improved Miniport driver interface that addresses the needs of high-end storage vendors, particularly host-based RAID and fiber channel vendors.”
If you encounter any of the above-mentioned Blue Screen of Death errors, then here are some troubleshooting options that might help but before you get to them, you can try to perform a System Restore first especially if you have the habit of creating System Restore points. This might fix the problem. To perform a system restore, refer to these steps:
- First, tap the Win + R keys to open the Run dialog box.
- After that, type in “sysdm.cpl” in the field and tap Enter.
- Next, go to the System Protection tab then click the System Restore button. This will open a new window where you have to select your preferred System Restore point.
- After that, follow the on-screen instructions to finish the process and then restart your computer and check if the problem is fixed or not.
If System Restore didn’t help in fixing the Blue Screen error, now’s the time for you to resort to the troubleshooting tips provided below but before you get started, make sure that you create a System Restore point first. In addition, you also have to boot into Safe Mode with Networking before you carry out the troubleshooting steps below.
Option 1 – Try to update or rollback your device drivers
The first thing you can try to fix the Storport.sys Blue Screen error is to either update or roll back the device drivers. It is most likely that after you updated your Windows computer that your driver also needs a refresh. On the other hand, if you have just updated your device drivers then you need to roll back the drivers to their previous versions. Whichever applies to you, refer to the steps below.
- Open the Devices Manager from the Win X Menu.
- Then locate the device drivers and right-click on them to open the Properties. Note that the main drivers that might be the cause behind the Storport.sys Blue Screen error will be listed under the “ID ATA/ATAPI controllers” section as well as the “Storage controllers” section.
- After that, switch to the Driver tab and click on the Uninstall Device button.
- Follow the screen option to completely uninstall it.
- Finally, restart your computer. It will just reinstall the device drivers automatically.
You can also directly download the relevant drivers of your computer from the manufacturers’ website. So if you have an SSD, the issue might be due to an old storage driver.
Option 2 –
Try to recreate the Storport.sys file
If the first option didn’t work, the next thing you can do is to recreate the Storport.sys file. Every time your Windows 10 PC boots up, it looks for all the system drivers in place and if it is unable to find them, it tries to create them. This is why if you remove your corrupt driver file, chances are, you might get a fixed file recreated just for you. How? Refer to the steps below.
- Boot your Windows 10 PC in Safe Mode.
- Then open File Explorer and navigate to this location: C:/Windows/System32/drivers
- From there, look for the file named sys and rename it to Storport.old.
As you can see, the file’s extension has changed from .sys to .old.
- Now restart your computer and check if the Storport.sys Blue Screen error is now fixed.
Option 3 – Run System File Checker or SFC scan
System File Checker or SFC is a built-in command utility that helps in restoring corrupted files as well as missing files. It replaces bad and corrupted system files to good system files. To run the SFC command, follow the steps given below.
- Tap Win + R to launch Run.
- Type in cmd in the field and tap Enter.
- After opening Command Prompt, type in sfc /scannow
The command will start a system scan which will take a few whiles before it finishes. Once it’s done, you could get the following results:
- Windows Resource Protection did not find any integrity violations.
- Windows Resource Protection found corrupt files and successfully repaired them.
- Windows Resource Protection found corrupt files but was unable to fix some of them.
Reboot your PC.
Option 4 – Try to run the DISM commands
You might want to repair potentially corrupted files in your system as having them could also trigger the Storport.sys Blue Screen error. To repair these corrupted system files, you can run the DISM commands:
- Tap the Win + X keys and click on the “Command Prompt (Admin)” option.
- After that, input each one of the commands listed below sequentially to execute them:
- Dism /Online /Cleanup-Image /CheckHealth
- Dism /Online /Cleanup-Image /ScanHealth
- Dism /Online /Cleanup-Image /RestoreHealth
- Once you’ve executed the commands given above, restart your computer and check if the dxgkrnl.sys Blue Screen error is now fixed.
Option 5 – Run the Blue Screen Troubleshooter
Troubleshooting Blue Screen of Death errors wouldn’t be complete without the Blue Screen troubleshooter. As you know, it is a built-in tool in Windows 10 that helps users in fixing BSOD errors like Storport.sys. It can be found on the Settings Troubleshooters page. To use it, refer to these steps:
- Tap the Win + I keys to open the Settings panel.
- Then go to Update & Security > Troubleshoot.
- From there, look for the option called “Blue Screen” on your right-hand side and then click the “Run the troubleshooter” button to run the Blue Screen Troubleshooter and then follow the next on-screen options. Note that you might have to boot your PC into Safe Mode.