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

Calculator is not working in Windows
As you know, one of the basic apps in the Windows 10 operating system is the calculator and it can even be extended to a scientific calculator which makes it really useful for users. However, there are instances when you might encounter some issues while using this app. One of the issues about the Calculator app that’s been reported recently is that the Calculator app is not working. If you encounter the same problem, then you’ve come to the right place as this post will guide you on what you can do to fix the problem. Based on the reports, users claimed that the issue with the Calculator app occurred right after they’ve installed a feature update, while other users claimed that the Calculator app never really worked on their computers and there are also cases where the app opens but it either freezes or crashes. According to researchers, the main causes of the problem include a feature update that could’ve altered the settings. It could also be due to problems with the login account or corrupted and missing files, or the problem could also with the calculate app itself. To resolve this problem, here are some suggestions you can follow.

Option 1 – 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 that might be the reason why the calculator app is not working properly. 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 computer.

Option 2 – Run the DISM tool

You can also run the DISM Tool as it helps in repairing the Windows System Image as well as the Windows Component Store in Windows 10. Using this built-in tool, you have various options such as the “/ScanHealth”, “/CheckHealth”, and “/RestoreHealth” that could help in fixing the Calculator app.
  • Open the Command Prompt with admin privileges.
  • Then type in the following commands and make sure to hit Enter right after you type each one of them:
    • Dism /Online /Cleanup-Image /CheckHealth
    • Dism /Online /Cleanup-Image /ScanHealth
    • Dism (.)exe /Online /Cleanup-image /Restorehealth
  • Do not close the window if the process takes a while as it will probably take a few minutes to finish.

Option 3 – Try logging into your computer using a different User Account

You might want to try logging into a different User Account since it is possible that the issue could have something to do with your log-in account. Thus, you can isolate this possibility by logging into a different user account. If you don’t have any other user account, simply create a new one by clicking on the Start icon and then go to Settings > Account > Family & other users. From there, go to the Other user's section and click on the Add someone else to this PC option, and then inputs all the needed information and restarts your computer. Once your computer has restarted, log into your computer using the newly created user account.

Option 4 – Try to reset or reinstall the Calculator app

If the first three given options didn’t work, you might want to reset or reinstall the Calculator app. To do that, follow these steps:
  • Click on the Start button and go to Settings > Apps > Apps and features.
  • Next, look for the Calculator app from the app list and click on it to see its other options.
  • After that, select the Advanced options and go to the Reset section and then click on the Reset button to reset the Calculator app.
Note: You also have the option to reinstall the Calculator app. All you have the option to visit Microsoft Store and from there, uninstall the Calculator app.
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
YOU ARE NOT AUTHORIZED TO ACCESS ...
If you have encountered the “YOU ARE NOT AUTHORIZED TO ACCESS THIS WEB PAGE AS PER THE DOT COMPLIANCE” error while trying to visit a website using either Firefox or Chrome browser, then read on as this post will guide you on how you can fix this error. Apart from this error message, you might also see an alternative message that says, “Web Page Blocked! The page you have requested has been blocked because the URL is banned as per the Government Rules”. When you get any of the aforementioned error messages when visiting a website, this means that it has been marked. It is mostly recommended to not access the site as it might be blocked for some illegal reason. However, if you are certain that the website is legitimate and safe and you believe that it has been blocked by accident, then you can check out the given methods in this post to unblock and access the blocked or restricted website. There isn’t actually a straightforward way to remove the restriction on the website or the DOT compliance. And it won’t matter what browser you use as you will still get the same error. Thus, the best way to go about this issue is for you to bypass the ISP restriction. But before you proceed, keep in mind that the ISPs (Internet Service Providers) can block any website when a request goes through their servers.

Option 1 – Try changing the DNS

If the request to access the website does not go through the ISP’s DNS server, you might have a chance in accessing it by changing your DNS settings. You can try using the Google Public DNS.
  • 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.

Option 2 – Try to install a Proxy Extension

You could also try installing a Proxy extension or Proxy software as it could also help you access the website you are trying to open as it allows you to access the blocked websites by routing the request through their server. Aside from that, it can also hide it from ISPs to make them look like the content is coming from the proxy servers.

Option 3 – Try using a VPN connection

There are instances when the network that your computer is logged on might have blocked your access to the website you are trying to open and so to fix it, you can try to use a VPN connection. There is a lot of free VPN software out there but just make sure that you install a trusted one. Once you’ve connected using VPN, try to open the website again and see if you can now access it.

Option 4 – Check the Windows Host file

You can also try to cross check the Windows Hosts file to find out if the website you are trying to open has been blocked because if it is, then it’s no wonder why you’re getting the ERR CONNECTION TIMED OUT error in Chrome. There are instances when some third party application modifies the file and add some websites to the block lists. So if the website is indeed blocked, you need to remove it from the list.

Option 5 – Try to contact your ISP

If none of the options given above worked, then you can try to contact your ISP as there are times when DOT clears a website, the ISPs are still blocking it. Thus, it’s probably better if you reach out to them and ask them to unblock the website from their end.
Read More
How to paste just plain text anywhere

Taking information from the internet or from other sources usually involves selecting the text, copying it into the clipboard, and then pasting it into your file. In today's modern applications pasting text will most of the time take its formating with it.

keyboard shortcut paste

By formatting what I am talking about are parameters like font size, line breaks, hyperlinks, font styles, etc. and sometimes you do not want any of these in your file, you would like and prefer to have just plain text so you can format it as you wish.

In order to paste just plain text instead of using the CTRL + V keyboard shortcut, press CTRL + SHIFT + V instead. This shortcut will paste the only text into your file.

Shortcut and Microsoft Word

Leave it to Microsoft to make its shortcut not work in their application. In Microsoft Word, you can only use the standard CTRL + V shortcut, if you press CTRL + SHIFT + V nothing will happen. So in order to paste the only text into a word document, choose to paste special > text only

Other applications

I have tried CTRL + SHIFT + V in various applications like photoshop, illustrator, InDesign, visual studio code, slack, discord, WordPress installations, etc and only one that has not worked for me was Word and office in general so you are safe to use this trick and have desired results.

Read More
A Quick Guide to Resolving Error Code 0x800ccc92 on Your PC

0x800ccc92 - What is it?

Do you come across this error message “Receiving’ reported error (0x800ccc92): “Your e-mail server rejected your login”? Verify your user name and password in your account properties. The server responded: - ERR invalid user names and password” when you try to send or open emails using your Outlook account? If yes, then this article is a must-read for you as we explain why this error occurs and how you can resolve it. To begin with, 0x800ccc92 is a common Microsoft Outlook error. This error restricts your ability to send and receive emails on your Outlook email address. In other words, it locks you out and hampers your ability to use your account successfully causing a great deal of inconvenience especially if you use your Outlook account for communication in and across your office.

Solution

Restoro box imageError Causes

The 0x800ccc92 error message may occur due to numerous reasons so narrowing it down to one particular reason for occurrence is not easy. However, here we have listed down some of the most common causes of this error code:
  • Incorrect Outlook configuration settings
  • Invalid password or username
  • PST file crosses its fixed file size limit
  • Failure of POP3 and Protocol STMP in database server connection
  • Improper synchronization between Outlook and the server
  • Virus Infection
  • Invalid registry entries

Further Information and Manual Repair?

To fix the error code 0x800ccc92 on your system, here are some quick, effective, and easy DIY solutions that you can try:

Solution 1:

Sometimes the error code may occur due to an invalid password and usernames entry. Therefore, first, cross-check user ID and password. If you’ve entered the wrong password, try inserting the correct password to access your account.

Solution 2:

If the error still persists, then try installing the latest available Server Service Pack for Exchange. This solution works best if compatibility is the issue and the underlying reason for the error is improper synchronization between Outlook and the server.

Solution 3:

The presence of malware and viruses can also lead to such errors. Therefore, it is advisable to scan your entire PC for malware and viruses using a powerful antivirus.

Solution 4:

If the issue occurs due to bad and invalid registry entries, then it is important that you remove them right away. Due to such entries, you may experience the 0x800ccc92 error on your PC. To remove them, you need to download a registry cleaner. Downloading two programs an antivirus and a registry cleaner separately may slow down the speed of your PC. Therefore, to ensure this does not happen it is recommended you install Restoro Restoro is an advanced and multi-functional PC Fixer. This software is deployed with an intuitive algorithm and multiple powerful PC repair utilities including a registry cleaner, anti-virus, and a system optimizer. It is a one-stop solution for all PC-related issues. Using this tool, you can scan your entire PC and remove all types of malicious software including malware, viruses, spyware, and Trojans corrupting your PC in seconds. Simultaneously, it also removes all bad registry keys and entries and files the damaged system file, thereby restoring the registry back to normal. The system optimizer utility ensures your PC speed is not compromised due to the repair process. This software is safe, bug-free, efficient, and user-friendly. It is compatible with all Windows versions. Click here to download Restoro on your PC to instantly remove viruses and invalid registry entries to resolve the 0x800ccc92 error message on your system now!
Read More
Not enough storage is available to process...
Each time you execute a command on your computer, it takes into account a number of files and space for the code in the background for the command to be executed. Thus, executing the command is not that easy which is why you could encounter some errors along the way due to various limitations or poor allocation of memory, and so on. One of the errors you might encounter when executing a command on Windows 10 and Windows Server is the “Not enough storage is available to process this command”. There are several potential fixes you can check out to fix this error. To fix this error, you can try to delete the temporary files in your computer, run the DISM tool or apply some registry tweaks. For more details, refer to each one of the given options below.

Option 1 – Try to delete the temporary files

The error could be caused by some temporary or junk files in your computer and so you need to clear them up to fix the problem. You can achieve that using the Storage Sense feature.
  • Open Setting > System > Storage from the WinX Menu.
  • From there, you will see a list of all the local and connected storage devices along with the details on the free space. Make sure that Storage Sense is on.
  • Next, find a link that says “Free Up Space” and click it to open.
  • After that, a screen which is the built-in program in Windows 10 will appear and will scan your computer for the following junk files so you can free up disk space:
    • Windows Upgrade Log Files
    • System created Windows Error Reporting Files
    • Thumbnails
    • Temporary Internet Files
    • Previous Windows Installation Files
    • Delivery Optimisation Files
    • DirectX Shader Cache
  • Choose the files you want to get rid of and then click on the remove files option. Note that you’ll have an idea of the total size as you select any of the junk files listed above.
  • Now go to the “Free Up Space Now” section and click the Clean now button. This will get rid of all the temporary or junk files in your computer and should hopefully fix Error 1310.

Option 2 – Run the DISM tool

You can also run the DISM Tool as it could also help in fixing the “Not enough storage is available to process this command” error in Windows 10. Using this built-in tool, you have various options such as the “/ScanHealth”, “/CheckHealth”, and “/RestoreHealth” that could help in fixing error 0x80246019.
  • You can run the DISM tool via Advanced Startup Options or you could boot your computer into a Clean Boot State and then select Command Prompt.
  • Open the Command Prompt with admin privileges.
  • Then type in the following commands and make sure to hit Enter right after you type each one of them:
    • Dism /Online /Cleanup-Image /CheckHealth
    • Dism /Online /Cleanup-Image /ScanHealth
    • exe /Online /Cleanup-image /Restorehealth
  • Do not close the window if the process takes a while as it will probably take a few minutes to finish. Once it’s done, restart your computer and try again. If it didn’t work, you can try to use the “/StartComponentCleanup” parameter: Dism /Online /Cleanup-Image /StartComponentCleanup

Option 3 – Try to use the Registry Editor

The memory range allocated for the tasks and commands to be executed is associated with the IRPStackSize DWORD. Thus, to fix the error, you need to extend the range by applying some registry tweak. Before you proceed, make sure that you create a System Restore point first. Once you’re done, follow these steps:
  • Tap the Win + R keys to open the Run dialog box and type “Regedit” in the field and tap Enter to open the Registry Editor.
  • Next, navigate to this registry key: ComputerHKEY_LOCAL_MACHINESYSTEMCurrentControlSetServicesLanmanServerParameters
  • From there, look for the DWORD named “IRPStackSize” and right-click on it. If you can’t find this DWORD, just right-click on any empty space and select New > DWORD (32-bit) Value.
  • Input “IRPStackSize” as the DWORD name and double click on it and set its Value data to be greater than its default value. Note that the maximum value allowed is “0xc” and the range starts from “0x1”.
  • Now click on OK and exit the Registry Editor and then restart your computer and see if the error is fixed.
Read More
How to Resolve HP Printer Spooler Not Running Error

HP Printer Spooler Not Running - What is it?

If you have the HP printer, then you may come across this error. HP Printer Spooler not running errors does not mean there is anything wrong with your printer. It indicates printer driver issues.

Solution

Restoro box imageError Causes

There can be multiple causes behind the HP printer Spooler not running error code such as:
  • The poor or unsuccessful printer driver installation
  • Invalid registry entries
Though this is not a critical error code as it does not pose serious damage threats to your PC, however, it is advisable to resolve it as it can cause you a great deal of inconvenience especially if you want to take out printouts every now and then.

Further Information and Manual Repair

Here are some ways you can try to resolve HP Printer Spooler Not Running Error on your system: 1. Reinstall the HP Printer driver on Your System
  • Simply go to the control panel and then click on the Device Manager option
  • Once you click it you will see details pane with a list of devices. Now simply click on the printer, to reinstall the driver software.
  • Double click on it to open the properties dialog box
  • After that click on the driver tab and then click update driver
Once you update the driver, try using the Printer to see if it works. Sometimes you may come across a pop-up displaying the following message: ‘Driver installed correctly, Device is ready to use however, you may not see the printer under the printer’s pane. This triggers registry issues. 2. To resolve registry issues, install Restoro on your system. This is a highly functional registry cleaner integrated with a powerful antivirus. It helps resolve registry issues, malware, and guarantees system optimization. This feature-filled tool is the answer to all your PC-related issues. Restoro is a next-generation PC repair software that extends outstanding usability and helps PC users resolve errors efficiently. Its simple navigation and user-friendly interface make it so easy to use that even novice users can also work around it and repair issues without any hassle or difficulty. It’s a smart and intuitive in-built registry cleaner that wipes out all the unnecessary and obsolete files on your hard disk. This includes junk files, internet history, invalid registry keys, and files from the uninstalled old program versions. Sometimes the files from the uninstalled programs hamper your ability to update new program versions thus leading to unsuccessful driver installation. Nonetheless, all such files are removed in seconds with this helper and you are then ready to reinstall the driver. This registry cleaner cleans the clutter from your hard disk and optimizes your system's speed, lowering your PC boot time significantly. Total System Care can be used on all Windows versions To fix the HP printer spooler not running error on your computer, simply click here to install Restoro. Run it to scan for the error and fix it in seconds. Once the issue is resolved, update the printer driver. You’ll see the driver will be updated successfully and the HP printer will also appear in the printer’s panel. By installing Restoro on your system, you can also resolve several other issues like privacy errors triggered by malware and virus infections. With this tool, you will not have to download and run a separate anti-virus on your system.
Read More
Rebuild Search Index in Windows 10
If by any chance your search result in Windows is misleading, missing, or incorrect then it is a high probability that your search index is out of date. To repair this issue follow this guide step by step. Please take note that rebuilding the whole search index can take a long time on some systems depending on the size of the index itself, CPU speed, HD speed, etc. Sometimes it can take even hours on large drives. First, press ⊞ WINDOWS + R to open the run dialog and type in it Control panel to open the control panel. keyboard with windows and r markedrun dialog with control panel typed in Once you are in the control panel, switch your view to large icons and locate Indexing options. Control panel with indexing options selectedInside indexing options, click on advanced. indexing options advanced button markedIn advanced options click on the rebuild and confirm. indexing options rebuild button markedLeave your computer to finish and your searches should be working fine now.
Read More
How to remove weather widget from W11
The latest Windows 11 update has brought with it not so popular widget from Windows 10, the weather widget that will reside into the taskbar and constantly show stuff like temperature, weather conditions, etc. The weather widget is not a bad thing but most users found it a little annoying and turned it off in Windows 10. If you wonder how can you do the same but this time inside Windows 11 please keep reading. weather widgetThe first step is to right-click  anywhere on the taskbar (in empty space) and choose Taskbar settings Once the taskbar settings are opened, find Widgets and click on the switch on the far right to turn it off, immediately no more information will be shown on the taskbar and it will be free again. And that is all there is to it.
Read More
An Easy Guide to Resolving Internal Error 2324

Internal Error 2324 - What is it?

Internal Error 2324 occurs when you try to upgrade Firefox on your Windows 7 PC. The program fails to install and run successfully. The following error message is displayed:
‘The installer encountered an unexpected error installing this package. This may indicate a problem with this package. The error code is 2324.’

Solution

Restoro box imageError Causes

This error may occur due to different reasons. These include:
  • Viral infection
  • Bad registry entries (cookies or traces of old version of Firefox program)
  • Other programs running on your PC during Firefox program installation
  • Installation was not performed from the Administrator account
To use the Firefox web browser successfully on your PC, you first need to resolve error 2324 on your system.

Further Information and Manual Repair

To repair error 2324, try the following methods:

Method 1 - Perform a Clean Reinstall.

This means to remove the Firefox program completely from your PC and then reinstall it. To do this, remove the Firefox installation folder saved in one of the locations by default: C:\Program Files\Mozilla Firefox C:\Program Files (x86)\Mozilla Firefox Now download the latest Firefox version on your PC and save the setup file on your computer. After that double click, the downloaded installation file and follow the steps illustrated in the wizard to install Firefox on your PC.

Method 2

Sometimes Firefox installation may fail because of the interference from other programs running on your PC. Therefore, it is advisable to close all programs running in the background when upgrading the Firefox program. You can also disable programs like Logitech QuickCam and Spybot Tea Timer.  These are some of the many programs that are notorious for interfering with Firefox updates.

Method 3 - Scan for viruses to resolve.

Viruses are malicious programs that often enter computers through files downloads from unreliable websites and phishing emails. These programs then hide in your PC and infect it. You may often experience problems during program installation if your PC is infected by viruses. To fix the issue and ensure smooth Firefox program installation on your system, simply run an antivirus. Antivirus scans and detects all viruses in a few minutes. Upon detection, remove them right away to ensure your PC is free from such malicious programs. Now try updating Firefox on your system again. If it is updated smoothly, then the error is resolved.

Method 4

The registry of your system stores all the activities performed on your PC. You may have uninstalled the old Firefox version from the Control Panel but the traces of the uninstalled program may still remain in the registry as bad entries. These bad entries may be causing error 2324 to pop up on your PC. To resolve, you need to remove these entries from the registry. For quick removal, download Restoro. It is a user-friendly PC Fixer with a registry cleaner that scans and removes all obsolete files stored in the registry such as incorrect registry keys, bad entries, cookies, and junk files. Click here to download Restoro.
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