指定產生數位簽章的最低 XAdES 層級 的登錄值 minxadeslevel使用者HKCU\software\policies\microsoft\office\16.0\common\signatures

原則 ID
L_SpecifyMinimumXAdESLevelForDigitalSignatureGeneration
適用範圍
使用者設定
支援的作業系統
至少需要 Windows Server 2008 R2 或 Windows 7
來源
Microsoft 365 Apps / Office Administrative Templates (版本 5568.1000)
類別
Microsoft Office 2016 › 安全性設定 › 數位簽章

登錄

minxadeslevel

REG_DWORD使用者
啟用時的值
取決於選項值
元素
-
選項
項目儲存的值
無最低層級0
XAdES-BES1
XAdES-T2
XAdES-C3
XAdES-X4
XAdES-X-L5
以 .reg · CMD · PowerShell 套用
.reg
Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\software\policies\microsoft\office\16.0\common\signatures]

; 選項 (只使用其中一個)
; 無最低層級
"minxadeslevel"=dword:00000000
; XAdES-BES
"minxadeslevel"=dword:00000001
; XAdES-T
"minxadeslevel"=dword:00000002
; XAdES-C
"minxadeslevel"=dword:00000003
; XAdES-X
"minxadeslevel"=dword:00000004
; XAdES-X-L
"minxadeslevel"=dword:00000005
CMD
:: 選項 (只使用其中一個)

:: 無最低層級
reg add "HKCU\software\policies\microsoft\office\16.0\common\signatures" /v "minxadeslevel" /t REG_DWORD /d 0 /f
:: XAdES-BES
reg add "HKCU\software\policies\microsoft\office\16.0\common\signatures" /v "minxadeslevel" /t REG_DWORD /d 1 /f
:: XAdES-T
reg add "HKCU\software\policies\microsoft\office\16.0\common\signatures" /v "minxadeslevel" /t REG_DWORD /d 2 /f
:: XAdES-C
reg add "HKCU\software\policies\microsoft\office\16.0\common\signatures" /v "minxadeslevel" /t REG_DWORD /d 3 /f
:: XAdES-X
reg add "HKCU\software\policies\microsoft\office\16.0\common\signatures" /v "minxadeslevel" /t REG_DWORD /d 4 /f
:: XAdES-X-L
reg add "HKCU\software\policies\microsoft\office\16.0\common\signatures" /v "minxadeslevel" /t REG_DWORD /d 5 /f
PowerShell
# 共通: 建立機碼
New-Item -Path 'HKCU:\software\policies\microsoft\office\16.0\common\signatures' -Force | Out-Null

# 選項 (只使用其中一個)
# 無最低層級
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\common\signatures' -Name 'minxadeslevel' -PropertyType DWord -Value 0 -Force | Out-Null
# XAdES-BES
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\common\signatures' -Name 'minxadeslevel' -PropertyType DWord -Value 1 -Force | Out-Null
# XAdES-T
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\common\signatures' -Name 'minxadeslevel' -PropertyType DWord -Value 2 -Force | Out-Null
# XAdES-C
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\common\signatures' -Name 'minxadeslevel' -PropertyType DWord -Value 3 -Force | Out-Null
# XAdES-X
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\common\signatures' -Name 'minxadeslevel' -PropertyType DWord -Value 4 -Force | Out-Null
# XAdES-X-L
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\common\signatures' -Name 'minxadeslevel' -PropertyType DWord -Value 5 -Force | Out-Null