Open in the explorer

Register domain joined computers as devices

Enregistrer les ordinateurs appartenant à un domaine en tant qu'appareils

Type
Computer
GPO path
Computer Configuration › Policies › Administrative Templates › Windows Components › Device Registration FR: Configuration ordinateur › Stratégies › Modèles d'administration › Composants Windows › Enregistrement d'appareil
Supported on
At least Windows Server 2012 R2 or Windows 8.1 FR: Au minimum Windows Server 2012 R2 ou Windows 8.1
ADMX file
WorkplaceJoin.admx
Internal name
WorkplaceJoin/WJ_AutoJoin

Explanation

This setting lets you configure how domain joined computers become registered as devices.

When you enable this setting, domain joined computers automatically and silently get registered as devices with Azure Active Directory.

Note: Additional requirements may apply on certain Windows SKUs. Refer to Azure Active Directory Device Registration Overview.

http://go.microsoft.com/fwlink/?LinkId=307136

French text from Windows 11 26H2

Ce paramètre vous permet de configurer la façon dont les ordinateurs appartenant à un domaine sont enregistrés comme appareils.

Si ce paramètre est activé, les ordinateurs appartenant à un domaine sont automatiquement enregistrés en tant qu'appareils auprès d'Azure Active Directory.

Remarque : des conditions supplémentaires peuvent s'appliquer sur certaines références Windows. Reportez-vous à la documentation d'Azure Active Director portant sur l'enregistrement d'appareils.

http://go.microsoft.com/fwlink/?LinkId=307136

Registry

HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\WorkplaceJoin
Value name
autoWorkplaceJoin
StateValue written
EnabledREG_DWORD = 1
DisabledREG_DWORD = 0

PowerShell

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

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: WorkplaceJoin/WJ_AutoJoin
$k = 'HKLM:\Software\Policies\Microsoft\Windows\WorkplaceJoin'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'autoWorkplaceJoin' -Value 1 -Type DWord

Disable

# Disable: WorkplaceJoin/WJ_AutoJoin
$k = 'HKLM:\Software\Policies\Microsoft\Windows\WorkplaceJoin'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'autoWorkplaceJoin' -Value 0 -Type DWord

Revert to "Not configured"

# Revert to "Not configured": WorkplaceJoin/WJ_AutoJoin
$k = 'HKLM:\Software\Policies\Microsoft\Windows\WorkplaceJoin'
Remove-ItemProperty -Path $k -Name 'autoWorkplaceJoin' -ErrorAction SilentlyContinue

Availability