Afficher les boutons d’options de collage : valeur de Registre pasteoouiUtilisateurHKCU\software\policies\microsoft\office\16.0\onenote\options\other

ID de stratégie
L_ShowPasteOptionsbuttons
Étendue
Configuration utilisateur
Pris en charge sur
Au minimum Windows Server 2008 R2 ou Windows 7
Source
Microsoft 365 Apps / Office Administrative Templates (version 5568.1000)
Catégorie
Microsoft OneNote 2016 › Options OneNote › Édition

Registre

pasteooui

REG_DWORDUtilisateur
Valeur si activée
1
Valeur si désactivée
0
Appliquer avec .reg · CMD · PowerShell
.reg
Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\software\policies\microsoft\office\16.0\onenote\options\other]

; Options (en utiliser une seule)
; Activé
"pasteooui"=dword:00000001
; Désactivé
"pasteooui"=dword:00000000
CMD
:: Options (en utiliser une seule)

:: Activé
reg add "HKCU\software\policies\microsoft\office\16.0\onenote\options\other" /v "pasteooui" /t REG_DWORD /d 1 /f
:: Désactivé
reg add "HKCU\software\policies\microsoft\office\16.0\onenote\options\other" /v "pasteooui" /t REG_DWORD /d 0 /f
PowerShell
# Commun : créer la clé
New-Item -Path 'HKCU:\software\policies\microsoft\office\16.0\onenote\options\other' -Force | Out-Null

# Options (en utiliser une seule)
# Activé
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\onenote\options\other' -Name 'pasteooui' -PropertyType DWord -Value 1 -Force | Out-Null
# Désactivé
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\onenote\options\other' -Name 'pasteooui' -PropertyType DWord -Value 0 -Force | Out-Null