使用者帳戶控制: 啟用系統管理員保護時,允許指定網域使用者和群組以較高權限從遠端登入 的登錄值 RemoteAdminAllowList電腦HKLM\Software\Microsoft\Windows\CurrentVersion\Policies\System
登錄
RemoteAdminAllowList
REG_MULTI_SZ電腦- 啟用時的值
- 取決於選項值
- 元素
- 使用者帳戶控制: 啟用系統管理員保護時,允許指定網域使用者和群組以較高權限從遠端登入
- 值類型
- REG_MULTI_SZ
以 .reg · CMD · PowerShell 套用
.reg
Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Policies\System] ; hex(2) 與 hex(7) 資料必須以十六進位 (UTF-16LE) 撰寫 "RemoteAdminAllowList"=hex(7):<輸入值>
CMD
reg add "HKLM\Software\Microsoft\Windows\CurrentVersion\Policies\System" /v "RemoteAdminAllowList" /t REG_MULTI_SZ /d "<輸入值>" /f
PowerShell
New-Item -Path 'HKLM:\Software\Microsoft\Windows\CurrentVersion\Policies\System' -Force | Out-Null
New-ItemProperty -Path 'HKLM:\Software\Microsoft\Windows\CurrentVersion\Policies\System' -Name 'RemoteAdminAllowList' -PropertyType MultiString -Value '<輸入值>' -Force | Out-Null