Embedded File Size Limit
Explanation
This policy setting enables you to specify the maximum embedded file size that users can insert directly into a OneNote notebook on a SharePoint server.
If you enable this policy setting, you can increase or decrease the default maximum file size of 50 MB.
If you increase this value, users can insert larger files directly into the notebook, but this may reduce server performance.
If you decrease this value, users can only insert smaller files directly into the notebook, which may improve server performance if OneNote sync is generating a lot of traffic.
If you disable or do not configure this policy setting, users cannot insert a file larger than 50MB inserted into a OneNote notebook. Instead, the file is uploaded to a SharePoint folder and inserted as a hyperlink into the notebook.
Registry
HKEY_CURRENT_USER\software\policies\microsoft\office\16.0\onenote\general- Value name
- not defined in the ADMX
Enable / disable values: not defined in the ADMX (see the options below).
PowerShell
PowerShell commands that write to the registry what the policy would write. Values in angle brackets (<…>) must be replaced.
Writing directly to the registry bypasses Group Policy: if a GPO manages this value, it will be rewritten at the next gpupdate; otherwise the value stays in place (the "tattooing" effect). Prefer a GPO or, locally, LGPO.exe. Run PowerShell as administrator for HKLM. Some policies need a restart or gpupdate /force.
Enable
# Enable: onent16/L_SpecifyEmbeddedFileSizeLimit
$k = 'HKCU:\software\policies\microsoft\office\16.0\onenote\general'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
#
Set-ItemProperty -Path $k -Name 'insertedfilesdisallowembeddingsizethreshold' -Value 52428800 -Type DWord # between 10485760 and 2147483648Disable
# Disable: onent16/L_SpecifyEmbeddedFileSizeLimit
# No value is written in the "Disabled" state (nothing defined in the ADMX)Revert to "Not configured"
# Revert to "Not configured": onent16/L_SpecifyEmbeddedFileSizeLimit
$k = 'HKCU:\software\policies\microsoft\office\16.0\onenote\general'
Remove-ItemProperty -Path $k -Name 'insertedfilesdisallowembeddingsizethreshold' -ErrorAction SilentlyContinueOptions (1)
| Label | Control | Registry value | REG type | Constraints / details |
|---|---|---|---|---|
| L_EmbeddedFileSizeLimit | Numeric boxdecimal | insertedfilesdisallowembeddingsizethreshold | REG_DWORD | Min: 10485760 · Max: 2147483648 · Default (UI): 52428800 |
Application
Microsoft 365 Apps / Office (Microsoft) — November 2026 templates
Official templates downloaded on November 12, 2026.