信任本機方案 的登錄值 L_TrustCenterSolution使用者HKCU\software\policies\microsoft\office\16.0\common\documentinformationpanel\trustsolution

原則 ID
L_TrustCenterSolution
適用範圍
使用者設定
支援的作業系統
至少需要 Windows Server 2008 R2 或 Windows 7
來源
Microsoft 365 Apps / Office Administrative Templates (版本 5568.1000)
類別
Microsoft Office 2016 › 文件資訊面板

登錄

(清單值)

REG_SZ使用者
啟用時的值
取決於選項值
元素
-
值類型
REG_SZ
明確的值名稱
true
以 .reg · CMD · PowerShell 套用
.reg
Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\software\policies\microsoft\office\16.0\common\documentinformationpanel\trustsolution]
"<輸入名稱>"="<輸入值>"
CMD
reg add "HKCU\software\policies\microsoft\office\16.0\common\documentinformationpanel\trustsolution" /v "<輸入名稱>" /t REG_SZ /d "<輸入值>" /f
PowerShell
New-Item -Path 'HKCU:\software\policies\microsoft\office\16.0\common\documentinformationpanel\trustsolution' -Force | Out-Null
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\common\documentinformationpanel\trustsolution' -Name '<輸入名稱>' -PropertyType String -Value '<輸入值>' -Force | Out-Null