Open in the explorer

Set and Lock Skin

Définir et verrouiller l’apparence

Type
User
GPO path
User Configuration › Policies › Administrative Templates › Windows Components › Windows Media Player › User Interface FR: Configuration utilisateur › Stratégies › Modèles d'administration › Composants Windows › Lecteur Windows Media › Interface utilisateur
Supported on
Windows Media Player for Windows XP and later. FR: Lecteur Windows Media pour Windows XP et version ultérieure.
ADMX file
windowsmediaplayer.admx
Internal name
windowsmediaplayer/SkinLockDown

Explanation

This policy setting allows you to set and lock Windows Media Player in skin mode, using a specified skin.

If you enable this policy setting, the Player displays only in skin mode using the skin specified in the Skin box on the Setting tab.

You must use the complete file name for the skin (for example, skin_name.wmz), and the skin must be installed in the %programfiles%\Windows Media Player\Skins Folder on a user's computer. If the skin is not installed on a user's computer, or if the Skin box is blank, the Player opens by using the Corporate skin. The only way to specify the Corporate skin is to leave the Skin box blank.

A user has access only to the Player features that are available with the specified skin. Users cannot switch the Player to full mode and cannot choose a different skin.

If you disable or do not configure this policy setting, users can display the Player in full or skin mode and have access to all available features of the Player.

French text from Windows 11 26H2

Ce paramètre de stratégie permet de définir et de verrouiller le Lecteur Windows Media en mode apparence, en utilisant l’apparence spécifiée.

Si vous activez ce paramètre de stratégie, le Lecteur s’affiche uniquement en mode apparence, en utilisant l’apparence spécifiée dans la zone Apparence de l’onglet Paramètre.

Vous devez utiliser le nom de fichier complet attribué à l’apparence (par exemple, nom_apparence.wmz) et celle-ci doit être installée dans le dossier %programfiles%\Windows Media Player\Skins sur l’ordinateur d’un utilisateur. Si l’apparence n’est pas installée ou si la zone Apparence est vide, le lecteur s’ouvre avec l’apparence Entreprise. Le seul moyen de spécifier l’apparence Entreprise consiste à laisser la zone Apparence vide.

L’utilisateur n’a accès qu’aux fonctions du Lecteur qui sont disponibles avec l’apparence spécifiée. Il ne peut pas basculer le Lecteur en mode complet ni choisir une autre apparence.

Si vous désactivez ce paramètre de stratégie ou ne le configurez pas, l’utilisateur peut afficher le Lecteur en mode apparence ou en mode complet et accéder à toutes ses fonctions disponibles.

Registry

HKEY_CURRENT_USER\Software\Policies\Microsoft\WindowsMediaPlayer
Value name
SetAndLockSkin
StateValue written
EnabledREG_DWORD = 1
DisabledREG_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: windowsmediaplayer/SkinLockDown
$k = 'HKCU:\Software\Policies\Microsoft\WindowsMediaPlayer'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'SetAndLockSkin' -Value 1 -Type DWord
# Skin
Set-ItemProperty -Path $k -Name 'DefaultSkin' -Value '<value>' -Type String

Disable

# Disable: windowsmediaplayer/SkinLockDown
$k = 'HKCU:\Software\Policies\Microsoft\WindowsMediaPlayer'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'SetAndLockSkin' -Value 0 -Type DWord

Revert to "Not configured"

# Revert to "Not configured": windowsmediaplayer/SkinLockDown
$k = 'HKCU:\Software\Policies\Microsoft\WindowsMediaPlayer'
Remove-ItemProperty -Path $k -Name 'SetAndLockSkin' -ErrorAction SilentlyContinue
Remove-ItemProperty -Path $k -Name 'DefaultSkin' -ErrorAction SilentlyContinue

Options (1)

LabelControlRegistry valueREG typeConstraints / details
SkinApparenceLockSkinText boxtextDefaultSkinREG_SZ

Availability