Windows: Activate your webcam
Select Start > Settings > Privacy > Camera. In Allow access to the camera on this device, select Change and make sure Camera access for this device is turned on. This setting lets any user on the device choose if they want apps to be able to access the camera.
Find Allow apps to access your camera and make sure it's turned on. This setting allows you to choose if any of your apps can access the camera. It doesn't set which specific apps can access the camera.