Hello
Thank you for your question and reaching out. I can understand you are having query\issues related to Camera not working.
- Disable any Antivirus program or Windows firewall you may have for temporary purpose.
- Reset Camera app.
Open Settings -> Apps -> Apps & Features -> click Camera app -> click Advanced options -> click Reset.
- Update or Rollback the Camera driver in the Device Manager.
Open Device Manager -> click Camera -> right- click your Camera driver -> click Update Driver.
If the system says that you have the latest driver installed. Try to Roll back the driver. Right-click your Camera driver -> click Properties -> click Driver tab -> click Roll back driver.
- If you are not using Camera app, I suggest that you temporarily turn-off its camera access from privacy settings.
Open Settings -> Privacy -> Camera -> Turn off Camera app.
- Run sfc /scannow from elevated prompt.
- Run below DISM commands from elevated prompt.
DISM /Online /Cleanup-Image /CheckHealth
DISM /Online /Cleanup-Image /ScanHealth
DISM /Online /Cleanup-Image /RestoreHealth
Reference :
--If the reply is helpful, please Upvote and Accept as answer--