Disable WEB camera using PowerShell in Windows 10

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

Conclusion

Congratulations, you have just fixed the win32kfull.sys error in Windows 10 all by yourself. If you would like to read more helpful articles and tips about various software and hardware visit errortools.com daily.

Now that’s how you fix the win32kfull.sys error in Windows 10 on a computer. On the other hand, if your computer is going through some system-related issues that have to get fixed, there is a one-click solution known as Restoro you could check out to resolve them.

This program is a useful tool that could repair corrupted registries and optimize your PC’s overall performance. 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 in downloading and using it, refer to the steps below

Perform a full system scan using Restoro. To do so, follow the instructions below.

  1. Download and install Restoro from the official site.
  2. Once the installation process is completed, run Restoro to perform a full system scan.
    restoro application screen
  3. After the scan is completed click the “Start Repair” button.
    restoro application screen
Error tools logo

PRIVACY     TERMS

Copyright © 2021, ErrorTools. All Rights Reserved Trademarks: Microsoft Windows logos are registered trademarks of Microsoft. Disclaimer: ErrorTools.com is not affiliated with Microsoft, nor claim direct affiliation. The information on this page is provided for information purposes only.

DMCA.com Protection Status

Log in with your credentials

Forgot your details?