Allow users to enable online speech recognition services
Permettre aux utilisateurs d'activer les services de reconnaissance vocale en ligne
Explanation
This policy specifies whether users on the device have the option to enable online speech recognition services.
If this policy is enabled or not configured, control is deferred to users, and users may choose whether to enable speech services via settings.
If this policy is disabled, speech services will be disabled, and users cannot enable speech services via settings.
Cette stratégie spécifie si les utilisateurs de l'appareil ont la possibilité d'activer les services de reconnaissance vocale en ligne.
Si cette stratégie est activée ou n'est pas configurée, le contrôle est délégué aux utilisateurs et ceux-ci peuvent choisir d'activer les services vocaux via les paramètres.
Si cette stratégie est désactivée, les services vocaux sont désactivés et les utilisateurs ne peuvent pas les activer via les paramètres.
Registry
HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\InputPersonalization- Value name
AllowInputPersonalization
| 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.
Enable
# Enable: Globalization/AllowInputPersonalization
$k = 'HKLM:\Software\Policies\Microsoft\InputPersonalization'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'AllowInputPersonalization' -Value 1 -Type DWordDisable
# Disable: Globalization/AllowInputPersonalization
$k = 'HKLM:\Software\Policies\Microsoft\InputPersonalization'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'AllowInputPersonalization' -Value 0 -Type DWordRevert to "Not configured"
# Revert to "Not configured": Globalization/AllowInputPersonalization
$k = 'HKLM:\Software\Policies\Microsoft\InputPersonalization'
Remove-ItemProperty -Path $k -Name 'AllowInputPersonalization' -ErrorAction SilentlyContinue