Logo

Disable WEB camera with PowerShell in Windows

Windows PowerShell is a powerful tool inside the Windows environment often overlooked by typical users which is a great mistake since it can offer a large array of functionality and usability and if used well can offer a unique working experience.

Today we will be using PowerShell to turn the WEB camera off so it can not be accessed, completely disabling it for use. You might want to do this for security reasons or just want to learn few new things. Whatever your reason might be, I am welcoming you to this tutorial and please do keep reading.

Finding device ID

In order to disable the WEB camera first thing we need to do is to find a matching device ID. We will find this value inside the device manager, so press ⊞ WINDOWS + X to open the secret menu.

keyboard with windows and x markedIn the menu choose device manager and click on it.

Windows menu device managerWhen the device manager opens, expand the Imaging devices or Cameras section.

Right-click Integrated Camera or the primary webcam, and click Properties.

Go to the Details tab.

Under the Property section, click to select Matching device ID from the drop-down.

Right-click the value and select Copy

camera device managerThe next step is to download and install Windows Driver Kit (WDK)

PowerShell script

Create and run a PowerShell script with the following parameters/values to disable the camera. Substitute the <FOLDER> placeholder with the actual name of the folder where your copy of Devcon is residing

$id = (Get-CimInstance Win32_PnPEntity |

where caption -match '<PRIMARY CAMERA>').pnpDeviceID

$ppid = "{0}{1}" -f '@',$id

Set-Location c:\<FOLDER>

Devcon status $ppid

Devcon disable $ppid

Devcon status $ppid

To enable the camera device, run the command below in PowerShell:

devcon enable $ppid

Do You Need Help with Your Device?

Our Team of Experts May Help
Troubleshoot.Tech Experts are There for You!
Replace damaged files
Restore performance
Free disk space
Remove Malware
Protects WEB browser
Remove Viruses
Stop PC freezing
GET HELP
Troubleshoot.Tech experts work with all versions of Microsoft Windows including Windows 11, with Android, Mac, and more.

Share this article:

You might also like

Windows Defender error code 0x80073afc
If you receive an error code of “0x80073afc” in Windows Defender after you boot your Windows 10 computer or when you try to manually run Windows Defender, then it could be that the Windows Defender files are corrupted. In such cases, this error could also occur if there is third-party security software that interferes with the smooth functioning of this Microsoft Security Client. If you are one of the users who are currently facing this issue, then here are some suggestions you can check out to resolve the Windows Defender error code 0x80073afc.

Option 1 – Try to check the status of all the Windows Defender-related services

  • In the Cortana search box, type “services” and click on the Services icon to open the Services Manager. Alternatively, you can also tap the Win + R keys to launch the Run prompt and then type “msc” in the field and hit Enter to open the Services Manager
  • After opening the Services Manager, look for the following services and make sure that their Startup type is set to their default values:
    • Windows Defender Advanced Threat Protection Service – Manual
    • Windows Defender Antivirus Network Inspection Service – Manual
    • Windows Defender Antivirus Service – Manual
    • Windows Defender Firewall Service – Automatic
  • You can right-click on each one of the listed services and then select Start to start them.
  • And if some of the services don’t have their default values, just double-click on the Services to change the Startup types and select the correct option from the drop-down menu of the Startup type under the Properties box.
  • Next, set up the Startup type of these services to Automatic and then click on the Start button if the services are not running yet.
  • Now click on the Apply and OK buttons to save the changes made and then see if it fixed the problem or not.

Option 2 – Try to re-register the concerned DLL files

You could also try to re-register some Dynamic Link Library or DLL files on your computer as this could also help in fixing the Windows Defender error.
  • In the Start search, type “cmd” and from the search results that appear, right-click on Command Prompt and select the “Run as administrator” option from the context menu.
  • After opening Command Prompt as admin, type the following commands one after the other:
    • regsvr32 dll
    • regsvr32 dll
    • regsvr32 dll
    • regsvr32 dll
  • Once you’ve entered the commands given above, it will re-register the concerned DLL files in your system.
  • Now restart your computer for the changes to take effect.

Option 3 – Try to use the Registry Editor

  • Tap the Win + R keys to open the Run dialog box,
  • Then type “Regedit” in the field and hit Enter to open the Registry Editor.
  • Afterward, navigate to this registry path: ComputerHKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionImage File Execution Options
  • Next, look for the DWORDs named “MSASCui.exe”, “MpCmdRun.exe”, “MpUXSrv.exe” and “msconfig.exe”.
  • If you can’t find these DWORDs, refer to the next given option below.
  • Restart your computer.

Option 4 – Check the Environmental Values

  • Type “View advanced system settings” in the Windows search box and select the appropriate result.
  • This will open a new mini window. From there, go to the Advanced tab and click on the “Environment Variables…” button located at the bottom part of the window.
  • Next, look for the “%ProgramData%” variable name and make sure that its value is set to C:/ProgramData.
  • Then click OK to save the changes made.

Option 5 – Run the System File Checker 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:
  1. Windows Resource Protection did not find any integrity violations.
  2. Windows Resource Protection found corrupt files and successfully repaired them.
  3. Windows Resource Protection found corrupt files but was unable to fix some of them.
  • Restart your computer.

Option 6 – Perform a System Restore

Performing a System Restore on your computer can also help you fix the Windows Defender error. You can do this option either by booting into Safe Mode or in System Restore. If you are already in the Advanced Startup Options, just directly select System Restore and proceed with the next steps. And if you have just booted your PC into Safe Mode, refer to the steps below.
  • 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.
Read More
Delete Downloaded, Failed and Pending Windows Updates in Windows 10
There are instances when instead of fixing problems the Windows Update brings you problems on your Windows 10 computer. You might even see some pending Windows Updates which for some reason, refuse to install no matter what you do. The good thing is you won’t have to deal with those failed and pending updates that are incompletely downloaded to your PC as you can actually delete them. Follow the instructions prepared below to delete the failed and pending Windows Updates.

Step 1: The first thing you have to do is delete all the contents in the Temporary folder

  • Tap the Win + R keys to open the Run dialog box.
  • Next, type in “%temp%” in the field and hit Enter or click OK to open the Temporary folder.
  • From there, select all the folders and files within the Temporary folder and then delete them all.
Note: %temp% is one of the many environment variables in Windows that could open the designated folder by Windows as the Temporary folder which is usually located at C:\Users[username]AppDataLocalTemp.

Step 2: Next, remove the pending.xml file

  • Go to the C:\Windows WinSxS folder.
  • Once you’ve opened the folder, look for a file named “pending.xml” file and right-click on it and you can either rename it or delete it.
  • After that, the Windows Update should delete the pending tasks and build a fresh new update.

Step 3: Delete all the contents of the SoftwareDistribution folder

The Software Distribution folder in the Windows operating system is a folder that can be found in the Windows directory and is used to store files temporarily which might be required to install the Windows Update on your PC. Thus, it is required by the Windows Update and maintained by WUAgent. Aside from that, it also contains all the Windows Update History files and once you delete them, you will most likely lose the Update history. As a result, the next time you run the Windows Update, it may result in a longer detection time.
  • Open the WinX Menu.
  • From there, open Command Prompt as admin.
  • Then type in the following command – don’t forget to hit Enter right after typing each one of them.
net stop wuauserv net stop bits
  • After entering these commands, it will stop the Windows Update Service and the Background Intelligent Transfer Service.
  • Next, got to the C:\Windows\Software\Distribution folder and get rid of all the folders and files thereby tapping the Ctrl + A keys to select them all and then click on Delete. Note that if the files are in use, you won’t be able to delete them.
  • Once all the contents in the Software Distribution folder are deleted, restart your PC and then go back to Command Prompt and input the following commands again.
net start wuauserv net start bits
Since the folder has already been flushed, it will be populated afresh the instant your restart your computer and open Windows Update.

Step 4: Try resetting the catroot2 folder

You can also try resetting the catroort2 folder as it is known to fix tons of Windows Update issues. Both the Catroot and catroot2 are Windows operating system folders that are required for the Windows update process.  So when you run the Windows Update, the catroort2 folders stores the signatures of the Windows Update package and helps it in the installation. It makes use of the “%windir%System32catroot2edb.log” file in the updating process. Afterward, the updates are stored in the SoftwareDistribution folder which is used then by the Automatic Updates in order to execute the updating process. Keep in mind that you must not rename or delete the Catroot folder. Although the Catroot2 folder is recreated automatically by Windows, the Catroot folder isn’t.
Read More
How to Fix Windows 10 Error Code 0x8024001b

Error Code 0x8024001b- What is it?

At its most basic level, Error Code 0x8024001b is an error that can cause problems with the installation and updates of software and operating system updates. The most common version of this error appears in Windows 10, but a similar error with a matching code number has been present in previous versions of the operating system, back through Windows 7.

Common symptoms include:

  • Programs freezing or locking up during use
  • The appearance of an error message regarding installation difficulties
  • Computer shutting down or freezing during operation
  • Difficulty in running multiple programs at the same time

Solution

Restoro box imageError Causes

There are two main causes for Error Code 0x8024001b, both of which are fairly simple:  Updates needed for the Windows Update tool itself and software that causes Windows Update to fail during installations through conflicts in system files. While these may seem like technical issues, these problems are actually easily resolved with a few simple steps. The average user can use the methods listed below to fix the problems on their own.

Further Information and Manual Repair

For users who want to address Error Code 0x8024001b for themselves, the steps below can be followed to address the two primary causes for the error. If you have difficulty in completing these steps or are not confident in your computing skills and ability to follow the listed steps, contact a Windows repair technician.

Here are the top methods to resolve Error Code 0x8024001b on your own:

Method One:  Check for Updates to Windows Update

In some cases, the Windows Update tool may need an update for itself. When you attempt to run updates or install wizards for other software, it can cause conflicts with the Windows Update process, slowing down your computer or causing it to freeze.

If you are attempting to run multiple installations or updates at the same time, it may also cause Error Code 0x8024001b to arise on your computer.

To resolve this issue, close out all programs, with the exception of the Windows Update tool. Within the tool, select “Check for Updates” and install any updates that are needed. When finished, you should restart your computer to ensure that all updates have been fully applied before attempting any other installations or updates.

Method Two:  Uninstall Conflicting Software

Another problem that can cause Error Code 0x8024001b is the presence of conflicting software. If Error Code 0x8024001b has only recently appeared on your computer, consider removing any software that has been added to your computer, running the Windows Update process, and restarting your computer before attempting to reinstall the problem software.

With any method that you use, it is important to remember to keep your Windows Updates current at all times. This is the best way to avoid the appearance of Error Code 0x8024001b and similar errors in the future, as stacked up updates are more likely to cause issues and conflicts with your other installed software and operating system.

While there are some tools out there that claim to be able to fix Error Code 0x8024001b for you, it is important to always thoroughly investigate the publisher and distributor of such software, as some of the tools available on the Internet will actually introduce malware and adware on your computer in the name of “protecting” your computer or resolving an error.

If you have tried to use both methods above and have not fully resolved Error Code 0x8024001b, get in touch with someone who is a qualified computer repair professional and is familiar with your particular version of the Windows operating system to assist you in finalizing your resolution.

Method Three: Use An Automated Tool

If you wish to always have at your disposal a utility tool to fix these Windows 10 and other related issues when they do arise, download and install a powerful automated tool.

Read More
Fix Hello Errors 0x801c004d or 0x80070490
As you know, Windows Hello offers you quick access to computers since you can log in to your Windows devices three times faster compared to passwords with the help of the camera via Face recognition and fingerprint reader. This way, Windows Hello will recognize you right away. However, there are also times when you might encounter some problems when using Windows Hello. For one, if you are trying to add the PIN method to Windows Hello on your Windows 10 computer but you suddenly encountered an error code of 0x801c004d or if you are trying to use your existing pin and you encounter an error code of 0x80070490 along with an error message that says, “Not recognized”, then read on as this post will guide you on how you can fix both of these errors. Here is the complete content for both errors:
  • 0x801c004d – Unable to enroll a device to use a PIN for login”
  • 0x80070490 - Not recognized, Pin and fingerprint are no longer options for signing in”
If you got any of these two errors, there are several potential fixes you can check out to resolve them. You can try to check for any Windows Updates or create the PIN again or check the CNG Key Isolation Service. You could also try to reset the TPM or create a new User Account. For more information, follow the instructions provided below.

Option 1 – Try checking for any available Windows Updates

The first thing you can do is to check for any available Windows Updates. It is possible that your computer may be outdated and is the reason why you’re having troubles with Windows Hello. To check for Windows Updates, just go to Settings and from there, head over to the Update and Security section and click on Windows Updates located on the left pane, and then click on the Check for Updates option. Wait until the process of checking updates is completed and if it finds new updates, install it. After you install the new Windows Updates, check if you can now add the PIN on Windows Hello or not.

Option 2 – Try creating the PIN again

The next thing you can do is to create the PIN again by signing out and signing in again and then try creating the PIN once more. If this does not work, you can try restarting your computer and creating the PIN again. You could also try removing the PIN and then change it.
  • Remove the PIN by going to Settings > Accounts > Sign-in options.
  • From there, go to the PIN section and click on the Remove button.
  • You will be asked to verify your account to proceed in removing the PIN, enter your credentials.
  • Restart your computer and then set up a new PIN.
  • Once you’re done, restart your computer and check if the error is gone now.

Option 3 – Try checking the CNG Key Isolation Service

The CNG Key Isolation Service is the one that stores and uses long-lived keys in a secure process complying with the common criteria requirements and it is possible that the error could be related to this service. This service is hosted in the LSA processes and provides key process isolation to private keys and associated cryptographic operations as required by the common criteria. Thus, you need to check this service to see if it’s the one that’s causing the error.
  • Tap the Win + R keys to open the Run dialog box and type “services.msc” in the field and hit Enter to open the Windows Services Manager.
  • Next, locate the “CNG Key Isolation Service” and once you find it, double click on it to open its Properties box.
  • After opening its Properties, check its Startup type and select Manual. This is the default setting and if it is Disabled, then it’s no wonder why you’re getting errors with Windows Hello, thus, you need to enable it.
  • Once done, restart your computer and check if you can now add the PIN to Windows Hello. If you still get the error, then you might want to try setting the CNG Key Isolation Service from Manual to Automatic and then click on the Start button and see if it fixes the error or not.

Option 4 – Try to reset the Trusted Platform Module or TPM

You might also want to try resetting the Trusted Platform Module or TPM to fix the error. You can do this by opening Windows PowerShell and then executing the “Clear-Tpm” command. After that, check if the error is now resolved.

Option 5 – Try to create a new User Account

You could also try to create a new User Account on your Windows 10 computer to fix the Windows Hello error. Once you have created a new local user or administrator account in Windows 10, check if you are now able to add the PIN from this newly created user account.
Read More
Fix Broadcom BCM20702A0 driver error
In recent times, some Windows 10 users have seen an error code BCM20702A0, when using Bluetooth and they are concerned as to what it is all about. We can say for certain that it has something to do with your Bluetooth driver. The error message in question is:
The drivers for this device are not installed. There are no compatible drivers for this device.
The problem here tends to no longer allow specific Bluetooth components to properly communicate with your Windows 10 operating system. It also affects laptops that do not have native Bluetooth support; therefore, the manufacturer installed a dongle on the inside to deliver the service. This is not the best way to do things because native support is always better. On the other hand, maybe you’re using a Broadcom USB Bluetooth dongle that is acting up, and as such, the error is showing. Below are solutions provided for this particular error and how to eliminate it.
  1. Run the Bluetooth Troubleshooter

    Press ⊞ WINDOWS to open the menu and select settings In settings choose Update & Security Go to troubleshoot and on the right panel click on additional troubleshooters Click on Bluetooth Select Run the troubleshooter, then sit back and allow the tool to do its thing. Once you’ve completed the task, click on Apply this fix if any repairs are needed Reboot your computer
  2. Install Broadcom driver from official website

    Windows drivers for Broadcom Bluetooth devices are no longer posted on their website. They should be available through Microsoft’s Windows Update service. If drivers were not downloaded automatically by Windows Update, use Device Manager to refresh the driver from Windows Update. However, the Broadcom Bluetooth drivers seem to be available here on the Lenovo website. To fix the BCM20702A0 driver error, you may download and install them. After downloading it, right-click on the downloaded item, and select Run as administrator. After installation, restart your computer, then check again if it works.
  3. Remove all Bluetooth drivers and USB controllers

    If previous solutions did not work, go to device manager and remove all Bluetooth devices along with all USB controllers. Reboot your computer and Windows will automatically reinstall and set all devices.
Read More
Fix Failed to register a VB Script DLL file on Windows 10
When you try to open Outlook 20016 and other programs on your Windows 10 PC and end up getting an error instead saying, “Failed to register a VB Script DLL. Reinstall or run Regsvr32.exe Vbscript.dll to self-register”, read on as this post will help you resolve the problem and help you re-register the vbscript.dll file. Follow each one of the steps below carefully to fix the problem.
  • Step 1: In the Start search, type “cmd” and from the search results that appear, right-click on Command Prompt and select the “Run as administrator” option from the context menu.
  • Step 2: After opening Command Prompt as admin, type the regsvr32.exe vbscript.dll command and hit Enter to execute it.
  • Step 3: After entering the command, it will re-register the concerned DLL file using the regsvr32.exe, a Windows OS tool. The Regsvr32 tool is a command-line utility that allows users to register or unregister OLE controls like the DLL and ActiveX (OCX) controls in the Windows operating system. After the command you entered has successfully run, you will see a message saying, “DllRegisterServer in vbscript.dll succeeded.”
On the other hand, if re-registering the DLL file didn’t work, you might have to log on to your computer using an administrator account and then try re-registering the DLL file once more. But before you do that, you need to create a system restore point first so that if anything goes wrong, you can always undo the changes you’ve made. After creating a system restore point, double-click on the downloaded .reg file to add its contents to the Registry. After that, try opening the program you were trying to open but weren’t able to because of the error. If it doesn’t work, you can always reinstall the affected programs that throw up the error and see if it resolves the problem. You could also seek the help of a one-click solution to fix the problem for you. This program is a useful tool that does not only repair corrupted registries and optimize your PC’s overall performance but also resolves any DLL issues like the Failed to register a VB Script DLL. Reinstall or run Regsvr32.exe Vbscript.dll to self-register” error. Aside from that, it also cleans out your computer for any junk or corrupted files that help you eliminate any unwanted files from your system. This is basically a solution that’s within your grasp with just a click. It’s easy to use as it is user-friendly. For a complete set of instructions for downloading and using it, refer to the steps below.
Read More
A Quick Guide to Resolving Photoviewer.dll Error

Photoviewer.dll Error - What is it?

Photoviewer.dll is a shared library for SampleRes.dll and x3daudio1_1.dll in computers installed with Microsoft Windows 7, 8, Vista, and XP including 32 bit and 64 bit operating systems. Photoviewer.dll is associated with 1728000 system files. The Photoviewer.dll error occurs when you upgrade your Windows operating system to a new version like Windows 7 or 8 on which this shared library is used. Once you upgrade the Windows and you right-click on JPG images, the Photoviewer.dll error pops up. This error message is displayed as the following:
  1. Photoviewer.dll missing/not found
  2. Photovewer.dll entry point not found/application can’t initiate

Solution

Restoro box imageError Causes

Photoviewer.dll error can pop up due to several reasons. These include:
  • Modification of .dll files during Windows installation
  • Infection of Trojan virus
  • Photoviewer.dll missing /broken
  • Photo Gallery was earlier your default image editor before you upgraded your system
It is advisable to repair this issue timely to avoid inconvenience and serious PC threats especially if the cause of this issue is viral infection or registry damage.

Further Information and Manual Repair

Here are some of the best ways to help you resolve Photoviewer.dll error on your system:

1. Rebuild the Windows Photo Gallery

If you were previously using Vista and then you upgraded your system to Windows 7, then try this:
  • Go to the Start menu, click on the control panel and go to the folder options.
  • Then select the view tab option. Here you’ll find the Advanced setting window, select the show hidden files and folders tab.
  • Now click Ok to continue. Navigate to the following folder( %user% is the name of the account with the problem) C:\Usersusername\AppData\Local\Microsoft\Windows\Photo Gallery.
  • Then copy files to another location as a backup and delete them from the Windows Photo directory. Once the files have been deleted, try to start Windows Photo Gallery again. If this seems difficult, install Windows Photo Gallery application from the internet on your system.

2. Repair Broken Photoviewer.dll files and Remove Malware

Another way to fix the photoviewer.dll error is to download Restoro. This is an advanced, user-friendly, and multi-functional PC fixer smoothly integrated with a registry cleaner. By running it on your system you can resolve all Photoviewer.dll error causes in seconds. Restoro has an easy-to-use interface and a neat layout. It is safe, efficient, and bug-free. In addition to this, it is compatible with all Windows versions. The registry cleaning utility is deployed with an automated algorithm that scans your entire PC and detects Photoviewer.dll file errors in seconds. It fixes damaged, misconfigured, and broken Photoviewer.dll files, clears up disk space from unnecessary and obsolete files like the files from the uninstalled Windows programs which could be generating Photoviewer.dll error on your system. It repairs the registry and modifies the registry keys to their correct configuration thus repairing the Photoviewer.dll error on your PC. The powerful privacy error detector is integrated with all the properties and characteristics of an anti-virus. It scans for malware and viruses like Trojans and removes them from your system right away. Besides these utilities, other features integrated into this repair tool include a system stability scanner and Active X and class error detector. It resolves Photoviewer.dll error while optimizing your computer’s speed and performance. Click here to download Total System Care on your system to resolve the Photoviewer.dll file error today!
Read More
Intel Arc A770 GPU

intel's first gaming card that will hit the market soon has been shown in its innovation event, the Intel Arc A770. In its core ticks ACM-G10, coming with 32 Xe-cores and all the way up to 16GB of GDDR6 memory (the basic entry-level version will have 8GB of GDDR6). The card will support ray tracing and supersampling with Intel's XeSS.

intel arc a770

This is Intel's first gaming desktop GPU and after testing with some YouTube channels it turned out that the card itself sits somewhere between nVIDIA RTX 3060 Ti and an RTX 3070 so it will still be low in performance compared with the new RTX 4090 or AMD's new RDNA3 upcoming lineup. But as stated this is Intel's first gaming graphics card and having this kind of performance is no small feat for the first-time product.

One thing that is really great tho and that is going for Arc A770 GPU is its price! The Limited Edition card will cost $329 which is at this moment most cheapest GPU currently on the market in that performance range. nVIDIA is between $500 and $700 for comparison and if Intel can hold on to its performance with almost half the price card could be a great hit among gamers. GPU itself will launch on October 12th.

Read More
How to switch to Dark mode in Windows 11
Dark modeWindows 11 is coming soon, from its typical view and color scheme, Windows 11 will natively support dark mode. The dark mode is very popular in many applications today, some large companies like Adobe, Autodesk, and many more have already adopted a dark color scheme for their software so it is logical for others to follow and Microsoft is aboard for it. The dark mode itself has its benefits, for people who work on computer for longer period of time dark mode inside applications will throw less white and blue light on their eyes making workhours easier and pleasant on them. As a person who does indeed spend a lot of time in front of the screen, I would advise you to switch to dark mode regardless of the time that you spend with a computer, your eyes will be grateful.

Switching to Dark mode in Windows 11

  1. Open Windows 11 Settings by pressing ⊞ WINDOWS + I
  2. Click on Personalization on the left sidebar
  3. On the right side click on Color
  4. In color options click on the drop-down menu right next to Choose your color
  5. Select Dark
Your choice will be applied right away and you can safely close settings.
Read More
Fix Storport.sys BSOD errors in Windows
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:
  • KMODE_EXCEPTION_NOT_HANDLED
  • 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.
Note: 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.
Note: 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:
  1. Windows Resource Protection did not find any integrity violations.
  2. Windows Resource Protection found corrupt files and successfully repaired them.
  3. 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.
Read More
1 2 3 171
Logo
Copyright © 2023, ErrorTools. All Rights Reserved
Trademark: Microsoft Windows logos are registered trademarks of Microsoft. Disclaimer: ErrorTools.com is not affiliated with Microsoft, nor claims direct affiliation.
The information on this page is provided for information purposes only.
DMCA.com Protection Status