- カテゴリ
- セキュリティの設定 › ローカル ポリシー › セキュリティ オプション
- 適用対象
- コンピューターの構成
- 出典
- Windows 11 (バージョン 26H2 · 26300.9457)
レジストリ
MachineAccessRestriction
REG_SZコンピューター
- 有効時の値
- オプションの値に依存
- 要素
- DCOM: セキュリティ記述子定義言語 (SDDL) 構文でのコンピューター アクセス制限
- 値の種類
- REG_SZ
.reg · CMD · PowerShell で適用する
.reg
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows NT\DCOM]
"MachineAccessRestriction"="<値を入力>"
CMD
reg add "HKLM\Software\Policies\Microsoft\Windows NT\DCOM" /v "MachineAccessRestriction" /t REG_SZ /d "<値を入力>" /f
PowerShell
New-Item -Path 'HKLM:\Software\Policies\Microsoft\Windows NT\DCOM' -Force | Out-Null
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows NT\DCOM' -Name 'MachineAccessRestriction' -PropertyType String -Value '<値を入力>' -Force | Out-Null