Allow Use of Camera
Supported on: At least Windows Server 2016, Windows 10
When the GPO stops applying: Windows removes the value (it is under a Policies branch). How cleanup works
| Registry key | HKLM\software\Policies\Microsoft\Camera |
|---|---|
| Value name | AllowCamera |
| Enabled writes | 1 (REG_DWORD) |
| Disabled writes | 0 (REG_DWORD) |
What it does (vendor explanation)
This policy setting allow the use of Camera devices on the machine.
If you enable or do not configure this policy setting, Camera devices will be enabled.
If you disable this property setting, Camera devices will be disabled.
Group Policy path: Computer Configuration > Administrative Templates > Windows Components > Camera > Allow Use of Camera
PowerShell equivalent (generated from the template)
New-Item -Path 'HKLM:\software\Policies\Microsoft\Camera' -Force | Out-Null
New-ItemProperty -Path 'HKLM:\software\Policies\Microsoft\Camera' -Name 'AllowCamera' -Value 1 -PropertyType DWord -ForceGroup Policy or Intune is the supported way to set policies. Writing the same values directly works like a local policy and is removed by nothing: delete the values to return to "Not configured".