既定の Azure AD 資格情報を使用して自動の MDM 登録を有効にします のレジストリ値 AutoEnrollMDM ほか 2 件コンピューターHKLM\Software\Policies\Microsoft\Windows\CurrentVersion\MDM

ポリシー ID
MDM_JoinMDM_DisplayName
適用対象
コンピューターの構成
サポートされるバージョン
Windows 10 以降
出典
Administrative Templates (.admx) for Windows 11 2026 Update (26H2) (バージョン 1.0)
カテゴリ
Windows コンポーネント › MDM

レジストリ

AutoEnrollMDM

REG_DWORDコンピューター
有効時の値
1
無効時の値
0
.reg · CMD · PowerShell で適用する
.reg
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\CurrentVersion\MDM]

; 選択項目 (1 つだけ使用)
; 有効
"AutoEnrollMDM"=dword:00000001
; 無効
"AutoEnrollMDM"=dword:00000000
CMD
:: 選択項目 (1 つだけ使用)

:: 有効
reg add "HKLM\Software\Policies\Microsoft\Windows\CurrentVersion\MDM" /v "AutoEnrollMDM" /t REG_DWORD /d 1 /f
:: 無効
reg add "HKLM\Software\Policies\Microsoft\Windows\CurrentVersion\MDM" /v "AutoEnrollMDM" /t REG_DWORD /d 0 /f
PowerShell
# 共通: キーを作成
New-Item -Path 'HKLM:\Software\Policies\Microsoft\Windows\CurrentVersion\MDM' -Force | Out-Null

# 選択項目 (1 つだけ使用)
# 有効
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\CurrentVersion\MDM' -Name 'AutoEnrollMDM' -PropertyType DWord -Value 1 -Force | Out-Null
# 無効
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\CurrentVersion\MDM' -Name 'AutoEnrollMDM' -PropertyType DWord -Value 0 -Force | Out-Null

UseAADCredentialType

REG_DWORDコンピューター
有効時の値
オプションの値に依存
要素
使用する資格情報の種類を選択してください:
オプション
項目保存される値
ユーザー資格情報1
デバイスの資格情報2
.reg · CMD · PowerShell で適用する
.reg
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\CurrentVersion\MDM]

; 選択項目 (1 つだけ使用)
; ユーザー資格情報
"UseAADCredentialType"=dword:00000001
; デバイスの資格情報
"UseAADCredentialType"=dword:00000002
CMD
:: 選択項目 (1 つだけ使用)

:: ユーザー資格情報
reg add "HKLM\Software\Policies\Microsoft\Windows\CurrentVersion\MDM" /v "UseAADCredentialType" /t REG_DWORD /d 1 /f
:: デバイスの資格情報
reg add "HKLM\Software\Policies\Microsoft\Windows\CurrentVersion\MDM" /v "UseAADCredentialType" /t REG_DWORD /d 2 /f
PowerShell
# 共通: キーを作成
New-Item -Path 'HKLM:\Software\Policies\Microsoft\Windows\CurrentVersion\MDM' -Force | Out-Null

# 選択項目 (1 つだけ使用)
# ユーザー資格情報
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\CurrentVersion\MDM' -Name 'UseAADCredentialType' -PropertyType DWord -Value 1 -Force | Out-Null
# デバイスの資格情報
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\CurrentVersion\MDM' -Name 'UseAADCredentialType' -PropertyType DWord -Value 2 -Force | Out-Null

MDMApplicationId

REG_SZコンピューター
有効時の値
オプションの値に依存
要素
MDM アプリケーション ID:
値の種類
REG_SZ
最大長
255
必須
false
.reg · CMD · PowerShell で適用する
.reg
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\CurrentVersion\MDM]

; 値の名前と型は ADMX に従います。下の <値を入力> はご自身で入力してください
"MDMApplicationId"="<値を入力>"
CMD
:: 値の名前と型は ADMX に従います。下の <値を入力> はご自身で入力してください

reg add "HKLM\Software\Policies\Microsoft\Windows\CurrentVersion\MDM" /v "MDMApplicationId" /t REG_SZ /d "<値を入力>" /f
PowerShell
# 値の名前と型は ADMX に従います。下の <値を入力> はご自身で入力してください

New-Item -Path 'HKLM:\Software\Policies\Microsoft\Windows\CurrentVersion\MDM' -Force | Out-Null
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\CurrentVersion\MDM' -Name 'MDMApplicationId' -PropertyType String -Value '<値を入力>' -Force | Out-Null