Notepad
Bloc-notes
Explanation
This policy setting configures the synchronization of user settings of Notepad.
By default, the user settings of Notepad synchronize between computers. Use the policy setting to prevent the user settings of Notepad from synchronization between computers.
If you enable this policy setting, the Notepad user settings continue to synchronize.
If you disable this policy setting, Notepad 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 le Bloc-notes.
Par défaut, les paramètres utilisateur du Bloc-notes sont synchronisés entre les ordinateurs. Utilisez le paramètre de stratégie pour empêcher la synchronisation des paramètres utilisateur du Bloc-notes entre les ordinateurs.
Si vous activez ce paramètre de stratégie, les paramètres utilisateur du Bloc-notes continueront de se synchroniser.
Si vous désactivez ce paramètre de stratégie, les paramètres utilisateur du Bloc-notes seront exclus des paramètres de synchronisation.
Si vous ne configurez pas ce paramètre de stratégie, toute valeur définie sera supprimée.
Registry
HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\UEV\Agent\Configuration\ApplicationsHKEY_CURRENT_USER\Software\Policies\Microsoft\UEV\Agent\Configuration\Applications- Value name
MicrosoftNotepad6
| State | Value written |
|---|---|
| Enabled | REG_DWORD = 1 |
| Disabled | REG_DWORD = 0 |
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/Notepad
$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 'MicrosoftNotepad6' -Value 1 -Type DWordDisable
# Disable: UserExperienceVirtualization/Notepad
$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 'MicrosoftNotepad6' -Value 0 -Type DWordRevert to "Not configured"
# Revert to "Not configured": UserExperienceVirtualization/Notepad
$k = 'HKLM:\Software\Policies\Microsoft\UEV\Agent\Configuration\Applications'
Remove-ItemProperty -Path $k -Name 'MicrosoftNotepad6' -ErrorAction SilentlyContinueUser (HKCU)
Enable
Disable
Revert to "Not configured"