Turn off tracking of last play time of games in the Games folder
Désactiver le suivi de l’heure de la dernière utilisation d’un jeu du dossier Jeux
Explanation
Tracks the last play time of games in the Games folder.
If you enable this setting the last played time of games will not be recorded in Games folder. This setting only affects the Games folder.
If you disable or do not configure this setting, the last played time will be displayed to the user.
Assure le suivi de l’heure de la dernière utilisation d’un jeu du dossier Jeux.
Si vous activez ce paramètre, l’heure de la dernière utilisation d’un jeu ne sera pas enregistrée dans le dossier Jeux. Ce paramètre ne concerne que le dossier Jeux.
Si vous désactivez ce paramètre ou ne le configurez pas, l’heure de la dernière utilisation d’un jeu sera affichée.
Registry
HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\GameUX- Value name
ListRecentlyPlayed
| State | Value written |
|---|---|
| Enabled | REG_DWORD = 0 |
| Disabled | REG_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: GameExplorer/ListRecentlyPlayed_2
$k = 'HKLM:\Software\Policies\Microsoft\Windows\GameUX'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'ListRecentlyPlayed' -Value 0 -Type DWordDisable
# Disable: GameExplorer/ListRecentlyPlayed_2
$k = 'HKLM:\Software\Policies\Microsoft\Windows\GameUX'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'ListRecentlyPlayed' -Value 1 -Type DWordRevert to "Not configured"
# Revert to "Not configured": GameExplorer/ListRecentlyPlayed_2
$k = 'HKLM:\Software\Policies\Microsoft\Windows\GameUX'
Remove-ItemProperty -Path $k -Name 'ListRecentlyPlayed' -ErrorAction SilentlyContinue