Don't launch privacy settings experience on user logon
Ne pas lancer l'expérience des paramètres de confidentialité lors de l'ouverture de session utilisateur
Explanation
When logging into a new user account for the first time or after an upgrade in some scenarios, that user may be presented with a screen or series of screens that prompts the user to choose privacy settings for their account. Enable this policy to prevent this experience from launching.
If this policy is enabled, the privacy experience will not launch for newly-created user accounts or for accounts that would have been prompted to choose their privacy settings after an upgrade.
If this policy is disabled or not configured, then the privacy experience may launch for newly-created user accounts or for accounts that should be prompted to choose their privacy settings after an upgrade.
Lors de la connexion à un nouveau compte d'utilisateur pour la première fois ou après une mise à jour dans certains scénarios, cet utilisateur se voir présenter un écran ou une série d'écrans qui l'invite à choisir les paramètres de confidentialité pour son compte. Autorisez cette stratégie pour empêcher le lancement de cette expérience.
Si cette stratégie est activée, l'expérience de confidentialité n'est pas lancée pour les comptes d'utilisateurs qui viennent d'être créés ni pour les comptes qui auraient été invités à choisir leurs paramètres de confidentialité après une mise à jour.
Si cette stratégie est désactivée ou n'est pas configurée, l'expérience de confidentialité peut se lancer pour les comptes d'utilisateurs qui viennent d'être créés ou pour les comptes qui doivent être invités à choisir leurs paramètres de confidentialité après une mise à jour.
Registry
HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\OOBEHKEY_CURRENT_USER\Software\Policies\Microsoft\Windows\OOBE- Value name
DisablePrivacyExperience
| 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: OOBE/DisablePrivacyExperience
$k = 'HKLM:\Software\Policies\Microsoft\Windows\OOBE'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'DisablePrivacyExperience' -Value 1 -Type DWordDisable
# Disable: OOBE/DisablePrivacyExperience
$k = 'HKLM:\Software\Policies\Microsoft\Windows\OOBE'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'DisablePrivacyExperience' -Value 0 -Type DWordRevert to "Not configured"
# Revert to "Not configured": OOBE/DisablePrivacyExperience
$k = 'HKLM:\Software\Policies\Microsoft\Windows\OOBE'
Remove-ItemProperty -Path $k -Name 'DisablePrivacyExperience' -ErrorAction SilentlyContinueUser (HKCU)
Enable
Disable
Revert to "Not configured"