Requested XAdES level for signature generation: registry value xadeslevelUserHKCU\software\policies\microsoft\office\16.0\common\signatures
- Policy ID
- L_RequestedXAdESLevelForSignatureGeneration
- Scope
- User Configuration
- Supported on
- At least Windows Server 2008 R2 or Windows 7
- Source
- Microsoft 365 Apps / Office Administrative Templates (version 5568.1000)
- Category
- Microsoft Office 2016 › Security Settings › Digital Signatures
Registry
xadeslevel
REG_DWORDUser- Enabled value
- Depends on the option value
- Element
- -
| Item | Stored value |
|---|---|
| No XAdES | 0 |
| XAdES-BES | 1 |
| XAdES-T | 2 |
| XAdES-C | 3 |
| XAdES-X | 4 |
| XAdES-X-L | 5 |
Apply with .reg · CMD · PowerShell
.reg
Windows Registry Editor Version 5.00 [HKEY_CURRENT_USER\software\policies\microsoft\office\16.0\common\signatures] ; Options (use only one) ; No XAdES "xadeslevel"=dword:00000000 ; XAdES-BES "xadeslevel"=dword:00000001 ; XAdES-T "xadeslevel"=dword:00000002 ; XAdES-C "xadeslevel"=dword:00000003 ; XAdES-X "xadeslevel"=dword:00000004 ; XAdES-X-L "xadeslevel"=dword:00000005
CMD
:: Options (use only one) :: No XAdES reg add "HKCU\software\policies\microsoft\office\16.0\common\signatures" /v "xadeslevel" /t REG_DWORD /d 0 /f :: XAdES-BES reg add "HKCU\software\policies\microsoft\office\16.0\common\signatures" /v "xadeslevel" /t REG_DWORD /d 1 /f :: XAdES-T reg add "HKCU\software\policies\microsoft\office\16.0\common\signatures" /v "xadeslevel" /t REG_DWORD /d 2 /f :: XAdES-C reg add "HKCU\software\policies\microsoft\office\16.0\common\signatures" /v "xadeslevel" /t REG_DWORD /d 3 /f :: XAdES-X reg add "HKCU\software\policies\microsoft\office\16.0\common\signatures" /v "xadeslevel" /t REG_DWORD /d 4 /f :: XAdES-X-L reg add "HKCU\software\policies\microsoft\office\16.0\common\signatures" /v "xadeslevel" /t REG_DWORD /d 5 /f
PowerShell
# Common: create the key New-Item -Path 'HKCU:\software\policies\microsoft\office\16.0\common\signatures' -Force | Out-Null # Options (use only one) # No XAdES New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\common\signatures' -Name 'xadeslevel' -PropertyType DWord -Value 0 -Force | Out-Null # XAdES-BES New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\common\signatures' -Name 'xadeslevel' -PropertyType DWord -Value 1 -Force | Out-Null # XAdES-T New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\common\signatures' -Name 'xadeslevel' -PropertyType DWord -Value 2 -Force | Out-Null # XAdES-C New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\common\signatures' -Name 'xadeslevel' -PropertyType DWord -Value 3 -Force | Out-Null # XAdES-X New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\common\signatures' -Name 'xadeslevel' -PropertyType DWord -Value 4 -Force | Out-Null # XAdES-X-L New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\common\signatures' -Name 'xadeslevel' -PropertyType DWord -Value 5 -Force | Out-Null