Open in the explorer

Configure Camera Options

Configurer les options de caméra

Type
Computer
GPO path
Computer Configuration › Policies › Administrative Templates › Windows Components › Camera FR: Configuration ordinateur › Stratégies › Modèles d'administration › Composants Windows › Appareil photo
Supported on
At least Windows 11 Version 24H2 FR: Au moins Windows 11 version 24H2
ADMX file
Camera.admx
Internal name
Camera/ConfigureCameraOptions

Explanation

This policy setting allows you to control the behavior of Camera devices on the machine.

If you enable this policy setting, you can select one of the following modes:

AutoShare: Camera devices will be shared among multiple applications, allowing them to access the camera simultaneously.
This mode is useful for scenarios where multiple applications need to use the camera at the same time.

SafeMode: Camera devices will be auto-shared and operate in a restricted mode, limiting their functionality and access to certain features.
This mode is designed to enhance reliability of the camera.

If you disable or do not configure this policy setting, Camera devices will function in their default
mode without any restrictions.

French text from Windows 11 26H2

Ce paramètre de stratégie vous permet de contrôler le comportement des appareils photo sur l’ordinateur.

Si vous activez ce paramètre de stratégie, vous pouvez sélectionner l’un des modes suivants :

Partage automatique : les appareils photo seront partagés entre plusieurs applications, ce qui leur permettra d’accéder simultanément à l’appareil photo.
Ce mode est utile dans les scénarios où plusieurs applications doivent utiliser la caméra en même temps.

SafeMode : les appareils photo sont automatiquement partagés et fonctionnent en mode restreint, ce qui limite leurs fonctionnalités et leur accès à certaines fonctionnalités.
Ce mode est conçu pour améliorer la fiabilité de l’appareil photo.

Si vous désactivez ou ne configurez pas ce paramètre de stratégie, les appareils photo fonctionnent par défaut
mode sans aucune restriction.

Registry

HKEY_LOCAL_MACHINE\software\Policies\Microsoft\Camera
Value name
ConfigureCameraOptions
StateValue written
Enablednot defined in the ADMX (see the options below)
Disablednot defined in the ADMX (see the options below)

PowerShell

PowerShell commands that write to the registry what the policy would write. Values in angle brackets (<…>) must be replaced.

The ADMX does not specify the value written when enabled; the GPO editor usually writes REG_DWORD 1 (enabled) / 0 (disabled). The commands below use 1/0 as an assumption.

Writing directly to the registry bypasses Group Policy: if a GPO manages this value, it will be rewritten at the next gpupdate; otherwise the value stays in place (the "tattooing" effect). Prefer a GPO or, locally, LGPO.exe. Run PowerShell as administrator for HKLM. Some policies need a restart or gpupdate /force.

Enable

# Enable: Camera/ConfigureCameraOptions
$k = 'HKLM:\software\Policies\Microsoft\Camera'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
# The ADMX does not specify the value written; the GPO editor usually writes REG_DWORD 1 (enabled) / 0 (disabled)
Set-ItemProperty -Path $k -Name 'ConfigureCameraOptions' -Value 1 -Type DWord  # assumed value (not defined in the ADMX)
# Configure Camera Opitons
# Possible options:
#   AutoShare = 1
#   SafeMode = 2
Set-ItemProperty -Path $k -Name 'ConfigureCameraOptions' -Value 1 -Type DWord

Disable

# Disable: Camera/ConfigureCameraOptions
$k = 'HKLM:\software\Policies\Microsoft\Camera'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
# The ADMX does not specify the value written; the GPO editor usually writes REG_DWORD 1 (enabled) / 0 (disabled)
Set-ItemProperty -Path $k -Name 'ConfigureCameraOptions' -Value 0 -Type DWord  # assumed value (not defined in the ADMX)

Revert to "Not configured"

# Revert to "Not configured": Camera/ConfigureCameraOptions
$k = 'HKLM:\software\Policies\Microsoft\Camera'
Remove-ItemProperty -Path $k -Name 'ConfigureCameraOptions' -ErrorAction SilentlyContinue

Options (1)

LabelControlRegistry valueREG typeConstraints / details
Configure Camera Opitons:Configurer les options de caméra :ConfigureCameraOptions_DropdownDrop-down listenumConfigureCameraOptionsREG_DWORD
Default choice (UI): #0
LabelValue
AutoShareREG_DWORD = 1
SafeModeREG_DWORD = 2

Availability

Windows 11

✓ 26H2— 25H2— 24H2— 23H2— 22H2— 21H2

Windows 10

— 22H2— 21H2— 21H1— 20H2— 2004— 1909— 1903— 1809— 1803— 1709— 1703— 1607— 1511— 1507

Windows Server

— 2025— 2022— 2016