Microsoft OneNote 2016
Microsoft OneNote 2016
Explanation
This policy setting configures the synchronization of user settings for Microsoft OneNote 2016.
By default, the user settings of Microsoft OneNote 2016 synchronize between computers. Use the policy setting to prevent the user settings of Microsoft OneNote 2016 from synchronization between computers.
If you enable this policy setting, Microsoft OneNote 2016 user settings continue to synchronize.
If you disable this policy setting, Microsoft OneNote 2016 user settings are excluded from the synchronization settings.
If you do not configure this policy setting, any defined values will be deleted.
Ce paramètre de stratégie configure la synchronisation des paramètres utilisateur pour Microsoft OneNote 2016.
Par défaut, les paramètres utilisateur de Microsoft OneNote 2016 sont synchronisés entre les ordinateurs. Utilisez ce paramètre de stratégie pour empêcher la synchronisation des paramètres utilisateur de Microsoft OneNote 2016 entre les ordinateurs.
Si vous activez ce paramètre de stratégie, les paramètres utilisateur de Microsoft OneNote 2016 continuent d’être synchronisés.
Si vous désactivez ce paramètre de stratégie, les paramètres utilisateur de Microsoft OneNote 2016 sont exclus des paramètres de synchronisation.
Si vous ne configurez pas ce paramètre de stratégie, toutes les valeurs définies sont supprimées.
Registry
HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\UEV\Agent\Configuration\ApplicationsHKEY_CURRENT_USER\Software\Policies\Microsoft\UEV\Agent\Configuration\Applications- Value name
- not defined in the ADMX
| State | Value written | |||||||||
|---|---|---|---|---|---|---|---|---|---|---|
| Enabled |
| |||||||||
| Disabled |
|
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.
Computer (HKLM)
Enable
# Enable: UserExperienceVirtualization/MicrosoftOffice2016OneNote
$k = 'HKLM:\Software\Policies\Microsoft\UEV\Agent\Configuration\Applications'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'MicrosoftOffice2016Win32.OneNote' -Value 1 -Type DWord
Set-ItemProperty -Path $k -Name 'MicrosoftOffice2016Win64.OneNote' -Value 1 -Type DWordDisable
# Disable: UserExperienceVirtualization/MicrosoftOffice2016OneNote
$k = 'HKLM:\Software\Policies\Microsoft\UEV\Agent\Configuration\Applications'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'MicrosoftOffice2016Win32.OneNote' -Value 0 -Type DWord
Set-ItemProperty -Path $k -Name 'MicrosoftOffice2016Win64.OneNote' -Value 0 -Type DWordRevert to "Not configured"
# Revert to "Not configured": UserExperienceVirtualization/MicrosoftOffice2016OneNote
$k = 'HKLM:\Software\Policies\Microsoft\UEV\Agent\Configuration\Applications'
Remove-ItemProperty -Path $k -Name 'MicrosoftOffice2016Win32.OneNote' -ErrorAction SilentlyContinue
Remove-ItemProperty -Path $k -Name 'MicrosoftOffice2016Win64.OneNote' -ErrorAction SilentlyContinueUser (HKCU)
Enable
Disable
Revert to "Not configured"