Hide the dropdown list of recent files
Masquer la liste déroulante des fichiers récents
Explanation
Removes the list of most recently used files from the Open dialog box.
If you disable this setting or do not configure it, the "File name" field includes a drop-down list of recently used files. If you enable this setting, the "File name" field is a simple text box. Users must browse directories to find a file or type a file name in the text box.
This setting, and others in this folder, lets you remove new features added in Windows 2000 Professional, so that the Open dialog box looks like it did in Windows NT 4.0 and earlier. These policies only affect programs that use the standard Open dialog box provided to developers of Windows programs.
To see an example of the standard Open dialog box, start Wordpad and, on the File menu, click Open.
Note: In Windows Vista, this policy setting applies only to applications that are using the Windows XP common dialog box style. This policy setting does not apply to the new Windows Vista common dialog box style. It is a requirement for third-party applications with Windows 2000 or later certification to adhere to this setting.
Supprime la liste des fichiers les plus récemment utilisés de la boîte de dialogue Ouvrir.
Si vous désactivez ce paramètre ou si vous ne le configurez pas, le champ « Nom de fichier » inclut la liste déroulante des fichiers récemment utilisés. Si vous activez ce paramètre, le champ « Nom de fichier » se présente comme une zone de texte simple. Pour rechercher un fichier, les utilisateurs doivent parcourir les répertoires ou taper un nom de fichier dans la zone de texte.
Ce paramètre, et d’autres dans ce dossier, permet de supprimer de nouvelles fonctionnalités ajoutées à Windows 2000 Professionnel, de sorte que la boîte de dialogue Ouvrir ait l’apparence de celle de Windows NT 4.0 et version antérieure. Ces stratégies ne concernent que les programmes qui utilisent la boîte de dialogue Ouvrir standard destinée aux développeurs de programmes pour Windows.
Pour voir un exemple de la boîte de dialogue Ouvrir standard, démarrez WordPad et, dans le menu Fichier, cliquez sur Ouvrir.
Remarque : dans Windows Vista, ce paramètre de stratégie s’applique uniquement aux applications qui utilisent le style de boîte de dialogue Windows XP usuel. Ce paramètre de stratégie ne s’applique pas au nouveau style de boîte de dialogue Windows Vista usuel. Les applications tierce partie disposant d’une certification Windows 2000 ou ultérieure doivent respecter ce paramètre.
Registry
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Comdlg32- Value name
NoFileMru
| State | Value written |
|---|---|
| Enabled | not defined in the ADMX |
| Disabled | not defined in the ADMX |
PowerShell
PowerShell commands that write to the registry what the policy would write. Values in angle brackets (<…>) must be replaced.
The ADMX does not specify the value written when enabled; the GPO editor usually writes REG_DWORD 1 (enabled) / 0 (disabled). The commands below use 1/0 as an assumption.
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: WindowsExplorer/NoFileMRU
$k = 'HKCU:\Software\Microsoft\Windows\CurrentVersion\Policies\Comdlg32'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
# The ADMX does not specify the value written; the GPO editor usually writes REG_DWORD 1 (enabled) / 0 (disabled)
Set-ItemProperty -Path $k -Name 'NoFileMru' -Value 1 -Type DWord # assumed value (not defined in the ADMX)Disable
# Disable: WindowsExplorer/NoFileMRU
$k = 'HKCU:\Software\Microsoft\Windows\CurrentVersion\Policies\Comdlg32'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
# The ADMX does not specify the value written; the GPO editor usually writes REG_DWORD 1 (enabled) / 0 (disabled)
Set-ItemProperty -Path $k -Name 'NoFileMru' -Value 0 -Type DWord # assumed value (not defined in the ADMX)Revert to "Not configured"
# Revert to "Not configured": WindowsExplorer/NoFileMRU
$k = 'HKCU:\Software\Microsoft\Windows\CurrentVersion\Policies\Comdlg32'
Remove-ItemProperty -Path $k -Name 'NoFileMru' -ErrorAction SilentlyContinue