Configure CNG cipher chaining mode: registry value cipherchaining (word\security\crypto)UserHKCU\software\policies\microsoft\office\16.0\word\security\crypto
- Policy ID
- L_ConfigureCNGCipherChainingMode
- 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 Word 2016 › Word Options › Security › Cryptography
Registry
cipherchaining
REG_SZUser- Enabled value
- Depends on the option value
- Element
- -
| Item | Stored value |
|---|---|
| Cipher Block Chaining (CBC) | ChainingModeCBC |
| Cipher Feedback (CFB) | ChainingModeCFB |
Apply with .reg · CMD · PowerShell
.reg
Windows Registry Editor Version 5.00 [HKEY_CURRENT_USER\software\policies\microsoft\office\16.0\word\security\crypto] ; Options (use only one) ; Cipher Block Chaining (CBC) "cipherchaining"="ChainingModeCBC" ; Cipher Feedback (CFB) "cipherchaining"="ChainingModeCFB"
CMD
:: Options (use only one) :: Cipher Block Chaining (CBC) reg add "HKCU\software\policies\microsoft\office\16.0\word\security\crypto" /v "cipherchaining" /t REG_SZ /d "ChainingModeCBC" /f :: Cipher Feedback (CFB) reg add "HKCU\software\policies\microsoft\office\16.0\word\security\crypto" /v "cipherchaining" /t REG_SZ /d "ChainingModeCFB" /f
PowerShell
# Common: create the key New-Item -Path 'HKCU:\software\policies\microsoft\office\16.0\word\security\crypto' -Force | Out-Null # Options (use only one) # Cipher Block Chaining (CBC) New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\word\security\crypto' -Name 'cipherchaining' -PropertyType String -Value 'ChainingModeCBC' -Force | Out-Null # Cipher Feedback (CFB) New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\word\security\crypto' -Name 'cipherchaining' -PropertyType String -Value 'ChainingModeCFB' -Force | Out-Null