Open in the explorer

Turn on the auto-complete feature for user names and passwords on forms

Désactiver la fonctionnalité de saisie semi-automatique des noms d’utilisateurs et des mots de passe sur les formulaires

Type
User
GPO path
User Configuration › Policies › Administrative Templates › Windows Components › Internet Explorer FR: Configuration utilisateur › Stratégies › Modèles d'administration › Composants Windows › Internet Explorer
Supported on
At least Internet Explorer 5.0 FR: Au moins Internet Explorer 5.0
ADMX file
inetres.admx
Internal name
inetres/RestrictFormSuggestPW

Explanation

This AutoComplete feature can remember and suggest User names and passwords on Forms.

If you enable this setting, the user cannot change "User name and passwords on forms" or "prompt me to save passwords". The Auto Complete feature for User names and passwords on Forms will be turned on. You have to decide whether to select "prompt me to save passwords".

If you disable this setting the user cannot change "User name and passwords on forms" or "prompt me to save passwords". The Auto Complete feature for User names and passwords on Forms is turned off. The user also cannot opt to be prompted to save passwords.

If you do not configure this setting, the user has the freedom of turning on Auto complete for User name and passwords on forms and the option of prompting to save passwords. To display this option, the users open the Internet Options dialog box, click the Contents Tab and click the Settings button.

French text from Windows 11 26H2

Cette fonctionnalité de saisie semi-automatique peut se souvenir des noms d’utilisateurs et des mots de passe entrés dans des formulaires et les suggérer.

Si vous activez ce paramètre de stratégie, l’utilisateur ne peut pas modifier les options « Noms d’utilisateur et mots de passe sur les formulaires » et « Demander l’enregistrement des mots de passe ». La fonctionnalité de saisie semi-automatique est activée pour « Noms d’utilisateur et mots de passe sur les formulaires ». Vous devez décider de sélectionner ou non l’option « Demander l’enregistrement des mots de passe ».

Si vous désactivez ce paramètre de stratégie, l’utilisateur ne peut pas modifier les options « Noms d’utilisateur et mots de passe sur les formulaires » et « Demander l’enregistrement des mots de passe ». La fonctionnalité de saisie semi-automatique est désactivée pour « Noms d’utilisateur et mots de passe sur les formulaires ». En outre, l’utilisateur ne peut pas choisir de demander l’enregistrement des mots de passe.

Si vous ne configurez pas ce paramètre, l’utilisateur est libre d’activer la saisie semi-automatique pour l’option Noms d’utilisateur et mots de passe sur les formulaires et de choisir de demander l’enregistrement des mots de passe. Pour afficher cette option, les utilisateurs ouvrent la boîte de dialogue Options Internet, cliquent sur l’onglet Contenu, puis sur le bouton Paramètres.

Registry

HKEY_CURRENT_USER\Software\Policies\Microsoft\Internet Explorer\Main
Value name
FormSuggest Passwords
StateValue written
EnabledREG_SZ = yes
KeyValueData
Software\Policies\Microsoft\Internet Explorer\Control PanelFormSuggest PasswordsREG_DWORD = 1
DisabledREG_SZ = no
KeyValueData
Software\Policies\Microsoft\Internet Explorer\Control PanelFormSuggest PasswordsREG_DWORD = 1

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: inetres/RestrictFormSuggestPW
$k = 'HKCU:\Software\Policies\Microsoft\Internet Explorer\Main'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'FormSuggest Passwords' -Value 'yes' -Type String
# Prompt me to save passwords
# unchecked: no
Set-ItemProperty -Path $k -Name 'FormSuggest PW Ask' -Value 'yes' -Type String
$k = 'HKCU:\Software\Policies\Microsoft\Internet Explorer\Control Panel'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'FormSuggest Passwords' -Value 1 -Type DWord

Disable

# Disable: inetres/RestrictFormSuggestPW
$k = 'HKCU:\Software\Policies\Microsoft\Internet Explorer\Main'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'FormSuggest Passwords' -Value 'no' -Type String
$k = 'HKCU:\Software\Policies\Microsoft\Internet Explorer\Control Panel'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'FormSuggest Passwords' -Value 1 -Type DWord

Revert to "Not configured"

# Revert to "Not configured": inetres/RestrictFormSuggestPW
$k = 'HKCU:\Software\Policies\Microsoft\Internet Explorer\Main'
Remove-ItemProperty -Path $k -Name 'FormSuggest Passwords' -ErrorAction SilentlyContinue
Remove-ItemProperty -Path $k -Name 'FormSuggest PW Ask' -ErrorAction SilentlyContinue
$k = 'HKCU:\Software\Policies\Microsoft\Internet Explorer\Control Panel'
Remove-ItemProperty -Path $k -Name 'FormSuggest Passwords' -ErrorAction SilentlyContinue

Options (1)

LabelControlRegistry valueREG typeConstraints / details
Prompt me to save passwordsDemander l’enregistrement des mots de passeChkBox_PasswordAskCheck boxbooleanFormSuggest PW AskREG_SZ
Checked: REG_SZ = yes
Unchecked: REG_SZ = no

Availability