Force a specific visual style file or force Windows Classic
Forcer un fichier de style visuel spécifique ou forcer le style Windows Classique
Explanation
This setting allows you to force a specific visual style file by entering the path (location) of the visual style file.
This can be a local computer visual style (aero.msstyles), or a file located on a remote server using a UNC path (\\Server\Share\aero.msstyles).
If you enable this setting, the visual style file that you specify will be used. Also, a user may not apply a different visual style when changing themes.
If you disable or do not configure this setting, the users can select the visual style that they want to use by changing themes (if the Personalization Control Panel is available).
Note: If this setting is enabled and the file is not available at user logon, the default visual style is loaded.
Note: When running Windows XP, you can select the Luna visual style by typing %windir%\resources\Themes\Luna\Luna.msstyles
Note: To select the Windows Classic visual style, leave the box blank beside "Path to Visual Style:" and enable this setting. When running Windows 8 or Windows RT, you cannot apply the Windows Classic visual style.
Ce paramètre vous permet de forcer l’application d’un style visuel spécifique en indiquant le chemin d’accès (emplacement) du fichier de style visuel.
Il peut s’agir du fichier de style visuel d’un ordinateur local (aero.msstyles) ou d’un fichier situé sur un serveur distant accessible via un chemin d’accès UNC (\\Serveur\Partage\aero.msstyles).
Si vous activez ce paramètre, le fichier de style visuel spécifié est utilisé. En outre, les utilisateurs ne peuvent pas appliquer de style visuel différent lorsqu’ils modifient un thème.
Si vous désactivez ou ne configurez pas ce paramètre, les utilisateurs peuvent sélectionner le style visuel de leur choix en modifiant les thèmes (si le Panneau de configuration Personnalisation est disponible).
Remarque : si ce paramètre est activé et que le fichier n’est pas disponible lors de l’ouverture de la session de l’utilisateur, le style visuel par défaut est chargé.
Remarque : si vous utilisez Windows XP, vous pouvez sélectionner le style visuel Luna en tapant %windir%\resources\Themes\Luna\Luna.msstyles
Remarque : pour sélectionner le style visuel Windows Classique, laissez la zone en regard de l’option « Chemin d’accès du style visuel » vide et activez ce paramètre. Vous ne pouvez pas appliquer le style visuel Windows Classique dans Windows 8 ou Windows RT.
Registry
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\System- Value name
- not defined in the ADMX
Enable / disable values: not defined in the ADMX (see the options below).
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: ControlPanelDisplay/CPL_Personalization_SetVisualStyle
$k = 'HKCU:\Software\Microsoft\Windows\CurrentVersion\Policies\System'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
# Path to Visual Style
Set-ItemProperty -Path $k -Name 'SetVisualStyle' -Value '<value>' -Type StringDisable
# Disable: ControlPanelDisplay/CPL_Personalization_SetVisualStyle
# No value is written in the "Disabled" state (nothing defined in the ADMX)Revert to "Not configured"
# Revert to "Not configured": ControlPanelDisplay/CPL_Personalization_SetVisualStyle
$k = 'HKCU:\Software\Microsoft\Windows\CurrentVersion\Policies\System'
Remove-ItemProperty -Path $k -Name 'SetVisualStyle' -ErrorAction SilentlyContinueOptions (1)
| Label | Control | Registry value | REG type | Constraints / details |
|---|---|---|---|---|
| Path to Visual Style:Chemin d’accès du style visuel :Themes_Name | Text boxtext | SetVisualStyle | REG_SZ |