Open in the explorer

Remove Documents icon from Start Menu

Supprimer l’icône Documents du menu Démarrer

Type
User
GPO path
User Configuration › Policies › Administrative Templates › Start Menu and Taskbar FR: Configuration utilisateur › Stratégies › Modèles d'administration › Menu Démarrer et barre des tâches
Supported on
Windows Server 2008, Windows Server 2003, Windows 7, Windows Vista, Windows XP, and Windows 2000 FR: Windows Server 2008, Windows Server 2003, Windows 7, Windows Vista, Windows XP et Windows 2000
ADMX file
StartMenu.admx
Internal name
StartMenu/NoSMMyDocuments

Explanation

This policy setting allows you to remove the Documents icon from the Start menu and its submenus.

If you enable this policy setting, the Documents icon is removed from the Start menu and its submenus. Enabling this policy setting only removes the icon. It does not prevent the user from using other methods to gain access to the contents of the Documents folder.

Note: To make changes to this policy setting effective, you must log off and then log on.

If you disable or do not configure this policy setting, he Documents icon is available from the Start menu.

Also, see the "Remove Documents icon on the desktop" policy setting.

French text from Windows 11 26H2

Ce paramètre de stratégie vous permet de supprimer l’icône Documents du menu Démarrer et de ses sous-menus.

Si vous activez ce paramètre de stratégie, l’icône Documents est supprimée du menu Démarrer et de ses sous-menus. Le fait d’activer ce paramètre de stratégie supprime uniquement l’icône. Il n’empêche pas l’utilisateur de recourir à d’autres méthodes pour accéder au contenu du dossier Documents.

Remarque : pour que les modifications apportées à ce paramètre de stratégie prennent effet, vous devez fermer puis ouvrir une session

Si vous désactivez ce paramètre de stratégie ou si vous ne le configurez pas, l’icône Documents est disponible dans le menu Démarrer.

Consultez également « Supprimer l’icône Documents du Bureau ».

Registry

HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer
Value name
NoSMMyDocs
StateValue written
Enablednot defined in the ADMX
Disablednot 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: StartMenu/NoSMMyDocuments
$k = 'HKCU:\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer'
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 'NoSMMyDocs' -Value 1 -Type DWord  # assumed value (not defined in the ADMX)

Disable

# Disable: StartMenu/NoSMMyDocuments
$k = 'HKCU:\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer'
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 'NoSMMyDocs' -Value 0 -Type DWord  # assumed value (not defined in the ADMX)

Revert to "Not configured"

# Revert to "Not configured": StartMenu/NoSMMyDocuments
$k = 'HKCU:\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer'
Remove-ItemProperty -Path $k -Name 'NoSMMyDocs' -ErrorAction SilentlyContinue

Availability