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

Display Stopped Responding and Has Recovered
The screen flickers into black, it comes back and on-screen there is a message Driver stopped responding and has recovered. If you have been through this you are aware that the issue is not serious but it can get pretty annoying fast since you are not aware when will it happen again, and it will happen again. In this guide, we will go through the usual reasons for this error and offer solutions to them. Follow the guide step by step in order to resolve the problem.
  1. Clean your PC Dirt and dust are your enemy no1, dirty graphic card can not be properly called and can cause overheating which can result in this particular error, make sure that your PC is clean and tidy in order to eliminate dust and dirt as a cause for malfunction.
  2. Turn off multiple applications and try running just one at a time Overburdening GPU can cause this error to appear since the graphic card can not handle all requests it gets from multiple active applications. Try to run just one application at a time for some time period to see if the error will appear again.
  3. Update driver Update your GPU driver to the latest version from the manufacturer's website, Display Driver Stopped Responding and Has Recovered Error in Windows 10 can be from outdated drivers not able to handle modern tasks
  4. Get newer GPU As hard as this advice is, sometimes the reason is an old graphic card that simply can not keep up with modern games and applications, upgrade it to a more modern GPU and watch errors go away.
Read More
What to do if Windows 10 Store is not downloading Apps
The store is not downloading Apps: As you know, the Windows Store is one of the places where you can download Windows apps. However, there are times when you might not be able to do so for some reason. For instance, if you search for an app and click on the get it now button, instead of downloading the app, nothing happens and there are also cases when the download will start but the page will refresh after half a second. When this issue happens, you won’t be seeing any error message or warning at all. So you’ll just have to look at the download get started where the page will refresh and you’ll be back at the Get button. This issue in the Windows 10 Store only happens for a few apps so even though you are able to download some apps, you might be able to do on other ones. Note that the apps affected are random and there is no specific set of apps that cause this issue while downloading and that this problem will repeat again each time you click on the Get it now button. This issue is definitely caused by Windows itself and has something to do with a bug in the Windows store which was brought by the latest Windows Update. It’s already a known issue among other Windows 10 users who are also suffering the same dilemma. So until Microsoft releases another update to fix this bug, you will have no choice but to deal with it in the meantime. On the other hand, you can also try a couple of suggestions laid out in this post. Follow the steps in every option given below to fix the issue with the Windows 10 Store.

Option 1 – Try signing out from the Microsoft Store

A lot of Windows 10 users were able to resolve the problem by simply signing out and signing back into the Microsoft Store. How? Follow these steps:
  • Go to the Microsoft Store.
  • Next, go to the Get page of the app you were trying to download.
  • And then click on your account picture located in the top right corner of the window and select your account.
  • Sign out from your account and after that, click the Get button to download the app.
  • After that, a new window will appear where you’ll have to select your account and click on Continue.
  • Now enter your credentials. Once you do, the app should be downloaded automatically after you’re signed in. And that’s about it.
Note: Keep in mind that this option is merely a temporary solution to the problem and once you close the Microsoft Store and open it back again, you will be back to square one.

Option 2 – Wait for the Windows Update

As mentioned, this is already a known issue and a lot of Windows 10 users have already complained about it to Microsoft so a bug fix will be soon released in the latest Windows Updates.
Read More
How to Fix the EhRecvr.exe Error on Your PC

EhRecvr.exe Error Code - What is it?

EhRecvr.exe is an executable file located in a subfolder of C:\Windows (usually C:\WINDOWS). An executable file is denoted by the filename extension .exe. You should only run executable files from the publisher you trust because .exe files are prone to errors. Executable files can potentially change your computer settings and harm your computer.  These files can easily get corrupted. Similarly, when the EhRecvr.exe fails to run on the computer and gets corrupt, you experience an EhRecvr.exe error on your system. This error code may pop up while playing games on the PC or using any other program. EhRecvr.exe error may be displayed in any one of the following formats:
  • “ehRecvr.exe cannot be found."
  • “There was a problem starting [path]ehRecvr.exe. The specified module could not be found."
  • "Runtime Error. ehRecvr.exe pure virtual function call."
  • "This program can't start because ehRecvr.exe is missing from your computer."
  • "Unable to launch the software located at path: [path]ehRecvr.exe"
  • "This application requires the file ehRecvr.exe, which was not found on this system."
  • "ehRecvr.exe is missing."
  • "Access Violation File [path]ehRecvr.exe"

Solution

Restoro box imageError Causes

There are plenty of reasons why this error may occur these include:
  • EhRecvr.exe file is mistakenly deleted
  • EhRecvr.exe file is corrupted and damaged
  • Viral/Malware infection
  • Bad registry entries
  • Outdated drivers
Though this error code is not fatal but nonetheless it is advisable to fix it immediately because EhRecvr.exe error not just hampers your ability to run and access different programs on your system but it also triggers issues like viral infection and registry problems which if not resolved can put your big at greater risk like system failure, freeze, and crash.

Further Information and Manual Repair

To resolve the EhRecvr.exe error on your system, you don’t have to hire a professional and spend hundreds of dollars in repair. Here are the best and easy DIY methods that you can try to fix this error. To work around these methods you don’t need to be a technical whiz. Let’s get started:

Method 1 - Restore EhRecvr.exe from Recycle Bin

In the case of EhRecvr.exe file deletion, it is advisable to check the recycle bin. Search through the bin for the file. If you find it, then simply restore it, if not then if you have access to the internet, then download it from a trusted website.

Method 2 - Reinstall the Associated Software That Uses EhRecvr.exe File

If you receive this error when you want to use certain software on your PC, then try reinstalling that software again on your PC. This will be very helpful to obtain the EhRecvr.exe file that is not provided by Microsoft. To re-install, first, uninstall the program. Go to Add/Program in the control panel and find the program and then uninstall it. Once uninstalled, simply follow the same steps but this time round install the software. This will hopefully help resolve the EhRecvr.exe error code.

Method 3 - Update Drivers for Hardware Devices

Sometimes the error may pop up due to outdated drivers. If this is the cause then the best way to resolve the issue would be to update the driver. Use the wizard within the Device Manager to update the outdated drivers.

Method 4 - Scan for Viruses

Viruses and malware can disguise as executable files. These usually enter your PC through downloads from unreliable websites and phishing emails. In such an event, it is recommended to install a powerful antivirus. Scan your entire PC and remove all viruses to repair the issue.

Method  5 - Clean and Repair the Registry

Another method is to clean and repair the registry. If you don’t clean the registry regularly it may get accumulated with obsolete files and get corrupt. This may generate EhRecvr.exe error codes. To resolve, simply download Restoro. This is a user-friendly PC Fixer with a powerful registry cleaner. It scans for all registry errors, wipes out all the invalid entries and obsolete files and repairs corrupted DLL and .exe files in minutes. Click here to download Restoro and resolve the EhRecvr.exe error now!
Read More
A Quick Guide to Fixing JavaScript Void 0 Error

JavaScript Void 0 Error - What is it?

JavaScript is a computer programming language used to make a website work smoothly with the internet. It helps to display visual effects, animations, and other web page functions. You may come across the JavaScript Void (0) error message when there is a problem in loading JavaScript from a web page or the internet browser.

Error Causes

JavaScript Void (0) error is triggered by multiple reasons such as:
  • It can be due to a simple random Windows application glitch.
  • You are visiting an unsafe website that contains malware
  • JavaScript’s web browser implementation  is broken due to poor program installation
  • Active X controls, Java applets, and active scripting, the key components of JavaScript are disabled
  • Registry issues like invalid or misconfigured registry keys

Further Information and Manual Repair

For JavaScript Void (0) error-free web surfing, it is advisable to repair the issue without any delays. Let’s take a look at different methods to resolve this error on your system.

Cause: Simple Random Glitch

Solution: If the cause for the JavaScript Void 0 error is a simple glitch, then it is advisable to restart your system and then run the program again.

Cause: JavaScript’s web browser implementation is broken

Solution: If you experience the JavaScript Void 0 error message after the installation of the new browser on your system, then poor installation of the program or program conflict is most likely to be the deep-rooted cause of this error code. To resolve it, uninstall the program and undo the recent changes.

Cause: Active X controls, Java applets, and active scripting, the key components of JavaScript are disabled

Solution: You should know that components including Active X controls, Java applets, and active scripting are all essential to JavaScript in order to make your browsers run properly. If these are disabled, you may come across the JavaScript Void (0). To fix it open your browser and select the Tools tab. Then click the options button and select content. Here check the ‘enable JavaScript’ check box and click Ok to enable these components.

Cause:  Registry Issues

Solution: If after performing all the solutions discussed above, you still come across JavaScript Void (0) error code, then you should know that the problem is bigger than what you expected. It triggers registry issues. Either the cause of the error is misconfigured or invalid registry keys. To reconfigure the registry keys setting may be a challenging task and complex if you are not a computer programmer.
Read More
How to Permanently Disable Active History
What is Active History? A new feature has been introduced in Windows 10 that allows users to stay connected to their tasks across their devices. This new feature is called “Windows Timeline” and using this feature, users could continue their tasks all over their Windows 10 computers as well as on devices that run Android and iOS as well. This new feature was included in Microsoft Launcher and Microsoft Edge on Android devices as well as in Microsoft Edge for iOS devices. In order for the feature to work, you have to send either Basic or Full data and diagnostics of your computer to Microsoft which would sync it all over your devices with the help of the cloud. And now since all your data is stored on your Windows 10 computer and with Microsoft under your account, it is easier for you to access the back and start where you left off. This kind of option is called Active History. In this post, you will be guided on how you can permanently disable Active History using either the Windows Registry or Group Policy. Before you go on further, it is recommended that you create a System Restore Point first in case anything goes wrong. This is a precautionary measure you must take so that you can easily undo the changes you’ve made. After creating a System Restore Point, proceed to the given instructions below.

Option 1 – Disable Active History via Registry Editor

  • Tap the Win + R keys to open the Run dialog box and type in “Regedit” in the field and hit Enter to open the Registry Editor.
  • Next, navigate to this registry key: ComputerHKEY_LOCAL_MACHINESOFTWAREPoliciesMicrosoftWindowsSystem
  • From there, check if you can find a DWORD named “PublishUserActivities”. If you can’t find this DWORD, just create one with the same name and make sure that the base is selected to Hexadecimal.
  • After that, double-click on the DWORD and change its value from 1 to 0 to disable Active History.
  • Restart your computer to apply the changes you’ve made successfully.

Option 2 – Disable Active History via Group Policy Editor

Note that this second option won’t work if you are using the Home edition of Windows 10. This is because the Group Policy Editor does not come with Windows 10 Home. So if you are not using Windows 10 Home, follow the given steps below.
  • Tap the Win + R keys to open the Run box.
  • Then type in “gpedit.msc” in the field and hit Enter to open the Group Policy Editor.
  • Next, navigate to this path: Computer ConfigurationAdministrative TemplatesSystemOS Policies
  • After that, double click on the configuration listing named “Allow publishing of User Activities” to open the configuration page which has the following description:
“This policy setting determines whether User Activities can be published. If you enable this policy setting, activities of type User Activity are allowed to be published. If you disable this policy setting, activities of type User Activity are not allowed to be published. Policy change takes effect immediately.”
  • Now you have to select Disabled or Not Configured if you want to disable Publishing of User Activities or Enabled to Enable Publishing of User Activities depending on your preferences.
  • Next, click OK and exit the Group Policy Editor and then restart your computer to successfully apply the changes made.
Read More
Your password may have expired or ...
There are instances when you have to connect to another Windows 10 PC via remote connection from another Windows 10 PC. However, when you encountered an error saying, “Your password may have expired or the remote pc might not accept blank passwords” while doing so then read on as this post will walk you through how you can fix it. Here is the full content of the error message:
“Your password may have expired, or the remote PC might not accept blank passwords. Try connecting again. If this keeps happening, ask your admin or tech support for help.”
It is unknown what the exact cause of the error message is as it could involve several factors. Even so, there are still various potential fixes you can try to fix this kind of error. You can try to check if your password has expired or troubleshoot any issues with the network. You could also use a remote desktop application or configure the settings of firewall or restart the remote desktop service. For more details, refer to each one of the given options below. But before you proceed, make sure that you have someone to help assist you on the other side to help you troubleshoot the issue.

Option 1 – Try to check if the password has expired

The first thing you can do to fix the problem is to check if the password has expired as it could be the reason why you’re experiencing this problem. You have to make sure that you are using a user account that is on the remote computer and then check if the user account password has not expired yet. And if your PC is not within your access, then you can just ask someone to verify the password for you.

Option 2 – Try to troubleshoot network issues

To troubleshoot network-related issues that might be the one that triggers the error, you need to run the Network Troubleshooter. To get started, refer to these steps:
  • Open the Search bar on your computer and type in “troubleshoot” to open the Troubleshoot settings.
  • Next, scroll down and select the “Network Adapter” option from the right pane.
  • Then click on the Run Troubleshooter” button.
  • After that, your computer will check for any possible errors and will pinpoint the root cause of the problem if possible.
  • Restart your computer.

Option 3 – Try to use a remote desktop software

A number of users reported that the issue occurred when they used the universal app for Remote Desktop and they were able to fix it by switching to the Remote Desktop application. Thus, you can try to switch to the remote desktop software and see if it fixes the problem or not.

Option 4 – Try to configure Firewall settings

You might also want to configure the settings of the Firewall as it could also help in fixing the problem. It is possible that the firewall is blocking the incoming connection on the remote computer. To check if whether the firewall is the culprit or not, follow the steps below.
  • Go to Windows Security and then go to Firewall and network application.
  • Next, click on the Advanced Settings link. This will open the classic Windows Defender Firewall and Advanced Security application.
  • From there, look for the rule named “Remote Desktop – User Mode (TCP-In)” under inbound rules and check if it has been disabled or not.
  • If the rule is disabled, you have to enable it.
  • Once done, check if the error is now fixed or not.

Option 5 – Try to restart the Remote Desktop service

If none of the four given options given above worked, you might want to restart the Remote Desktop service as it can help you in fixing the problem. To do so, follow these steps:
  • 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, from the list of services, look for the Remote Desktop Service and right-click on it, and then click on the Restart option.
  • Once done, check it was able to fix the “Your password may have expired or the remote pc might not accept blank passwords” error or not.
Read More
Check Windows 11 UI inside your Browser
windows 11 websiteWindows 11 release date is closing in, some people have tried it via insider build, some have decided not to. It has come to our attention that there is a little website made by BlueEdge that offers a virtual Windows 11 desktop. Opening the Website will put you right inside Windows 11 desktop, now take note that this is not Windows 11, it is a simulation of Microsoft’s newest OS and therefore many things will not work like File Explorer, etc. One thing you can make sure it is working is UI itself, you can see how you do like the new Taskbar, start menu, widgets, and some other things. You can just pop up on the site and check how you do like the overall new look and feel of Windows 11 UI before installing it or trying it. We are sure that many more options will come in time but even now you can get a feel of the newest OS. Windows 11 BlueEdge site: https://win11.blueedge.me/
Read More
Delete large System Error Reporting files
In case you don’t know, Windows contains a feedback mechanism that generates error reports from hardware and software problems. These reports are temporarily stored in the system and send them back to Microsoft so that it can find solutions to the reported problems and fix them in the upcoming updates.  However, as time goes by, these reports actually take a lot of space in your computer which is why end-users like you are free to delete them with the help of the new Free Up Space feature in Windows 10. As useful the Free Up Space feature may be, there are times when you won’t be able to use it for some reason which is why in this post, you will be guided on how to use alternative ways in deleting very large System queued Windows Error Reporting file, some of which may run in Gigabytes. Every time the Windows Error Reporting or WER sends out an error file and looks for a solution, the WER server at Microsoft sends out a solution instantly. And if the solution is under investigation or is unknown, then you will be notified about it right away and will be asked for more details. As mentioned, even though the Free Up Space feature in Settings will be able to clear the error reporting files, there are instances when it won’t be able to delete very large System queued Windows Error Reporting files. Alternatively, there is an option to delete these files using the Disk Cleanup Utility. Feel free to select which option you’d like to use to get rid of Windows Error Reporting Files.

Option 1 – Delete Windows Error Reporting Files via Settings

  • Go to Settings.
  • From there, go to System > Storage > Free Up Space and then click on it to launch it.
  • Afterward, give it some time to populate all the files and folders. Once it’s done, select “System created Windows Error Reporting files” to mark its checkbox while leaving the other options unchecked.
  • Next, click on the Remove files button to delete all the Windows Error Reporting files from your computer.

Option 2 – Manually delete the Windows Error Reporting Files

  • Tap the Win + E keys to open File Explorer.
  • Next, enable the Hidden Files view from the menu.
  • Then go to C:/ProgramData/MicrosoftWindowsWER.
  • From there, you will see various folders like LocalReportArchive, ReportArchive, ReportQueue, and Temp.
  • Open each one of the aforementioned folders and delete the archive files. Note that these files will have names similar to “00c58c1f-b836-4703-9bcf-c699ca24d285”.
Note: If you are not able to delete any of these files, you have to take ownership of the folder. To do so, refer to these steps:
  • Right-click on the folder and then select Properties.
  • Next, click on the Edit button in the Properties window and click OK to confirm if you got a User Account Control elevation request.
  • After that, select user/group from the permission windows or click on the Add button to add another user or group. It would be best if you add “Everyone” to give permission.
  • Then check “Full Control” under the “Allow” column to assign full access rights control permissions.
  • Now edit the permission to Full Control for “Everyone”.
  • Click OK to save the changes made and then exit.
On the other hand, if you do not want to go through all these troubles in deleting the Windows Error Reporting files, you can just disable it especially if it already becomes a daily annoyance as the files generate every day and their sizes are mostly gigabytes. And besides, there are times when these files do not make it to the Microsoft WER server and end up only occupying a lot of space for nothing.
Read More
Change the Taskbar Size in Windows 11
Default Taskbar inside Windows 11 is pretty good if we are talking about its height. Sitting at 48 pixels it is a pretty decent size considering functionality and size ratio but if you want to make it a little larger or smaller know that you can do that as well in order to customize it for your personal needs. Sadly in order to actually change height size, you will have to do it inside the registry editor, but worry not, we are here with you to guide you all the way, one step at a time. Also, note that you can only change Taskbar from normal size of 48px to either small of 32px or large gapping at 72px. Icons will also be scaled proportionally with the taskbar.

windows 11 TaskbarGuide

  1. Press ⊞ WINDOWS + R to open the run dialog
  2. Inside run dialog type in RegEdit and press ENTER
  3. In registry editor locate and find HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced
  4. Right Click on it to select it and create a new DWORD (32-bit) value
  5. Name the value TaskbarSi
  6. Inside TaskbarSi double click in order to set the value to 0 if you want a small size Taskbar, 1 is if you want to revert back to medium (standard one), or type in 2 if you want a large Taskbar.
  7. Save and close the Registry editor
  8. Reboot PC
And there you go, you have successfully changed Taskbar size inside Windows 11. If you want to revert back to standard size just repeat steps and place 1 as a value in point 6.
Read More
Fix Chrome ERR QUIC PROTOCOL ERROR in Windows
If you aren’t able to pull up any website and instead got the ERR QUIC PROTOCOL ERROR error message in Google Chrome then read on as this post will help you resolve the problem. When you encounter such an error in Chrome, you will see the following error message:
“This site can’t be reached, The webpage at [website URL] might be temporarily down or it may have moved permanently to a new web address, ERR_QUIC_PROTOCOL_ERROR”
This kind of error message pops up when the URL is down. However, if you are certain that the site is not down and you’re still seeing this error message, then troubleshoot further using the suggestions given below.

Option 1 – Try to disable the QUIC Protocol

QUIC is an experimental transport layer network protocol that is present in Google Chrome in order to establish a connection between two endpoints over UDP. So if there is any problem on the development side, you will most likely encounter ERR_QUIC_PROTOCOL_ERROR on your Google Chrome browser when you try to open any website. Thus, you have to disable the QUIC protocol in order to resolve the error. How? Simply follow the steps below.
  • Open your Google Chrome browser.
  • Now type in “chrome://flags/” in the address bar and hit Enter.
  • After that, look for the Experimental QUIC protocol which should be set by default.
  • Then expand the drop-down menu and select Disable.
  • Restart Google Chrome and see if the error is fixed or not.

Option 2 – Disable VPN

As mentioned, if you are using VPN, this could be the reason why you’re getting the Windows Update error 0x800F0922 so the most obvious thing to do is for you to turn off the VPN and try to run the Windows Update once more. And if you use a VPN software that works using their software, you can just completely exit or log-off from its account. On the other hand, if you are using a built-in Windows 10 VPN, you can simply turn it off or delete all the settings you have created there. Although it’s understandable that you might have to use a VPN connection to connect to the work network, you really have to disable it at least until the Windows Update is no longer stuck in the error 0x800F0922. It would be best if you do this when you are not working.

Option 3 – Disable the Proxy server

You can also try to disable the Proxy server to fix the ERR_QUIC_PROTOCOL_ERROR in Chrome. Refer to these steps to do so:
  • Tap the Win + R keys to open the Run dialog box.
  • Then type “inetcpl.cpl” in the field and hit Enter to pull up the Internet Properties.
  • After that, go to the Connections tab and select the LAN settings.
  • From there. Uncheck the “Use a Proxy Server” option for your LAN and then make sure that the “Automatically detect settings” option is checked.
  • Now click the OK and the Apply buttons.
  • Restart your PC.
Note: If you are using a third-party proxy service, you have to disable it.
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