既定の資格情報の委任を拒否する のレジストリ値 DenyDefaultCredentials (DenyDefaultCredentials)コンピューターHKLM\Software\Policies\Microsoft\Windows\CredentialsDelegation\DenyDefaultCredentials
- ポリシー ID
- DenyDefaultCredentials
- 適用対象
- コンピューターの構成
- サポートされるバージョン
- Windows Vista 以降
- 出典
- Administrative Templates (.admx) for Windows 11 2026 Update (26H2) (バージョン 1.0)
- カテゴリ
- システム › 資格情報の委任
レジストリ
DenyDefaultCredentials
REG_DWORDコンピューター- 有効時の値
- 1
- 無効時の値
- 0
.reg · CMD · PowerShell で適用する
.reg
Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\CredentialsDelegation] ; 選択項目 (1 つだけ使用) ; 有効 "DenyDefaultCredentials"=dword:00000001 ; 無効 "DenyDefaultCredentials"=dword:00000000
CMD
:: 選択項目 (1 つだけ使用) :: 有効 reg add "HKLM\Software\Policies\Microsoft\Windows\CredentialsDelegation" /v "DenyDefaultCredentials" /t REG_DWORD /d 1 /f :: 無効 reg add "HKLM\Software\Policies\Microsoft\Windows\CredentialsDelegation" /v "DenyDefaultCredentials" /t REG_DWORD /d 0 /f
PowerShell
# 共通: キーを作成 New-Item -Path 'HKLM:\Software\Policies\Microsoft\Windows\CredentialsDelegation' -Force | Out-Null # 選択項目 (1 つだけ使用) # 有効 New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\CredentialsDelegation' -Name 'DenyDefaultCredentials' -PropertyType DWord -Value 1 -Force | Out-Null # 無効 New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\CredentialsDelegation' -Name 'DenyDefaultCredentials' -PropertyType DWord -Value 0 -Force | Out-Null
(リストの値)
REG_SZコンピューター- 有効時の値
- オプションの値に依存
- 要素
- サーバーを一覧に追加:
- 値の種類
- REG_SZ
- 値の名前のプレフィックス
- -
- 既存の値に追加
- true
.reg · CMD · PowerShell で適用する
.reg
Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\CredentialsDelegation\DenyDefaultCredentials] ; リスト項目ごとに番号を 1 つずつ増やして値を追加します "1"="<値を入力>" "2"="<値を入力>"
CMD
:: リスト項目ごとに番号を 1 つずつ増やして値を追加します reg add "HKLM\Software\Policies\Microsoft\Windows\CredentialsDelegation\DenyDefaultCredentials" /v "1" /t REG_SZ /d "<値を入力>" /f reg add "HKLM\Software\Policies\Microsoft\Windows\CredentialsDelegation\DenyDefaultCredentials" /v "2" /t REG_SZ /d "<値を入力>" /f
PowerShell
# リスト項目ごとに番号を 1 つずつ増やして値を追加します New-Item -Path 'HKLM:\Software\Policies\Microsoft\Windows\CredentialsDelegation\DenyDefaultCredentials' -Force | Out-Null New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\CredentialsDelegation\DenyDefaultCredentials' -Name '1' -PropertyType String -Value '<値を入力>' -Force | Out-Null New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\CredentialsDelegation\DenyDefaultCredentials' -Name '2' -PropertyType String -Value '<値を入力>' -Force | Out-Null
ConcatenateDefaults_DenyDefault
REG_DWORDコンピューター- チェックあり
- 1
- チェックなし
- 0
- 要素
- OS の既定値と上記の入力値を連結する
- 値の種類
- REG_DWORD
.reg · CMD · PowerShell で適用する
.reg
Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\CredentialsDelegation] ; 選択項目 (1 つだけ使用) ; チェックあり "ConcatenateDefaults_DenyDefault"=dword:00000001 ; チェックなし "ConcatenateDefaults_DenyDefault"=dword:00000000
CMD
:: 選択項目 (1 つだけ使用) :: チェックあり reg add "HKLM\Software\Policies\Microsoft\Windows\CredentialsDelegation" /v "ConcatenateDefaults_DenyDefault" /t REG_DWORD /d 1 /f :: チェックなし reg add "HKLM\Software\Policies\Microsoft\Windows\CredentialsDelegation" /v "ConcatenateDefaults_DenyDefault" /t REG_DWORD /d 0 /f
PowerShell
# 共通: キーを作成 New-Item -Path 'HKLM:\Software\Policies\Microsoft\Windows\CredentialsDelegation' -Force | Out-Null # 選択項目 (1 つだけ使用) # チェックあり New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\CredentialsDelegation' -Name 'ConcatenateDefaults_DenyDefault' -PropertyType DWord -Value 1 -Force | Out-Null # チェックなし New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\CredentialsDelegation' -Name 'ConcatenateDefaults_DenyDefault' -PropertyType DWord -Value 0 -Force | Out-Null