OneNote Spelling Options: registry value onenotespellingoptionsUserHKCU\software\policies\microsoft\shared tools\proofing tools\1.0\office

Policy ID
L_OneNoteSpellingOptions
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 › Spelling

Registry

onenotespellingoptions

REG_DWORDUser
Enabled value
Depends on the option value
Element
-
Options
ItemStored value
no spell checking0
check spelling as you type1
hide spelling errors2
check spelling but hide errors3
Apply with .reg · CMD · PowerShell
.reg
Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\software\policies\microsoft\shared tools\proofing tools\1.0\office]

; Options (use only one)
; no spell checking
"onenotespellingoptions"=dword:00000000
; check spelling as you type
"onenotespellingoptions"=dword:00000001
; hide spelling errors
"onenotespellingoptions"=dword:00000002
; check spelling but hide errors
"onenotespellingoptions"=dword:00000003
CMD
:: Options (use only one)

:: no spell checking
reg add "HKCU\software\policies\microsoft\shared tools\proofing tools\1.0\office" /v "onenotespellingoptions" /t REG_DWORD /d 0 /f
:: check spelling as you type
reg add "HKCU\software\policies\microsoft\shared tools\proofing tools\1.0\office" /v "onenotespellingoptions" /t REG_DWORD /d 1 /f
:: hide spelling errors
reg add "HKCU\software\policies\microsoft\shared tools\proofing tools\1.0\office" /v "onenotespellingoptions" /t REG_DWORD /d 2 /f
:: check spelling but hide errors
reg add "HKCU\software\policies\microsoft\shared tools\proofing tools\1.0\office" /v "onenotespellingoptions" /t REG_DWORD /d 3 /f
PowerShell
# Common: create the key
New-Item -Path 'HKCU:\software\policies\microsoft\shared tools\proofing tools\1.0\office' -Force | Out-Null

# Options (use only one)
# no spell checking
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\shared tools\proofing tools\1.0\office' -Name 'onenotespellingoptions' -PropertyType DWord -Value 0 -Force | Out-Null
# check spelling as you type
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\shared tools\proofing tools\1.0\office' -Name 'onenotespellingoptions' -PropertyType DWord -Value 1 -Force | Out-Null
# hide spelling errors
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\shared tools\proofing tools\1.0\office' -Name 'onenotespellingoptions' -PropertyType DWord -Value 2 -Force | Out-Null
# check spelling but hide errors
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\shared tools\proofing tools\1.0\office' -Name 'onenotespellingoptions' -PropertyType DWord -Value 3 -Force | Out-Null