網域控制站: 允許在加入網域期間重複使用電腦帳戶 的登錄值 ComputerAccountReuseAllowList電腦HKLM\System\CurrentControlSet\Control\SAM
登錄
ComputerAccountReuseAllowList
REG_DWORD電腦- 啟用時的值
- 取決於選項值
- 元素
- 網域控制站: 允許在加入網域期間重複使用電腦帳戶
- 值類型
- REG_DWORD
以 .reg · CMD · PowerShell 套用
.reg
Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\SAM] "ComputerAccountReuseAllowList"=dword:<輸入值>
CMD
reg add "HKLM\System\CurrentControlSet\Control\SAM" /v "ComputerAccountReuseAllowList" /t REG_DWORD /d "<輸入值>" /f
PowerShell
New-Item -Path 'HKLM:\System\CurrentControlSet\Control\SAM' -Force | Out-Null
New-ItemProperty -Path 'HKLM:\System\CurrentControlSet\Control\SAM' -Name 'ComputerAccountReuseAllowList' -PropertyType DWord -Value '<輸入值>' -Force | Out-Null