After adjusting the permissions, restart your computer and check if the black webcam screen error is resolved.
This problem can also occur if your computer has malware or malicious applications installed. Malware can interfere with your webcam and turn the screen black.
To check for malicious programs, use reliable antivirus software and perform a full system scan. Additionally, you can use the Windows Security tool to quickly scan and remove any identified threats from your device.
If the above solutions don't work, you can try running the Hardware and Device troubleshooter. This built-in tool can scan and fix common hardware problems.
To run the Hardware and Device troubleshooter, follow these steps:
1. Press the Win + R keys simultaneously to open the Run dialog box.
2. In the text box, type cmd and press the Ctrl + Shift + Enter keys together. This will launch CMD with admin rights.
3. If the UAC prompt appears, click Yes to grant admin rights.
4. In the Command Prompt window, enter the following command and press Enter :
msdt.exe -id DeviceDiagnostic
Wait for the troubleshooter to complete its process. If you find any problems, follow the on-screen prompts to resolve them. Then, restart your computer and see if this works.