Configure CNG cipher chaining mode: registry value cipherchaining (onenote\security\crypto)UserHKCU\software\policies\microsoft\office\16.0\onenote\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 OneNote 2016 › OneNote Options › Security › Cryptography

Registry

cipherchaining

REG_SZUser
Enabled value
Depends on the option value
Element
-
Options
ItemStored 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\onenote\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\onenote\security\crypto" /v "cipherchaining" /t REG_SZ /d "ChainingModeCBC" /f
:: Cipher Feedback (CFB)
reg add "HKCU\software\policies\microsoft\office\16.0\onenote\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\onenote\security\crypto' -Force | Out-Null

# Options (use only one)
# Cipher Block Chaining (CBC)
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\onenote\security\crypto' -Name 'cipherchaining' -PropertyType String -Value 'ChainingModeCBC' -Force | Out-Null
# Cipher Feedback (CFB)
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\onenote\security\crypto' -Name 'cipherchaining' -PropertyType String -Value 'ChainingModeCFB' -Force | Out-Null