Open in the explorer

Turn off Resultant Set of Policy logging

Désactiver le jeu de stratégie résultant

Type
Computer
GPO path
Computer Configuration › Policies › Administrative Templates › System › Group Policy FR: Configuration ordinateur › Stratégies › Modèles d'administration › Système › Stratégie de groupe
Supported on
At least Windows Server 2003 operating systems or Windows XP Professional FR: Au minimum Windows Server 2003 ou Windows XP Professionnel
ADMX file
GroupPolicy.admx
Internal name
GroupPolicy/RSoPLogging

Explanation

This setting allows you to enable or disable Resultant Set of Policy (RSoP) logging on a client computer.

RSoP logs information on Group Policy settings that have been applied to the client. This information includes details such as which Group Policy Objects (GPO) were applied, where they came from, and the client-side extension settings that were included.

If you enable this setting, RSoP logging is turned off.

If you disable or do not configure this setting, RSoP logging is turned on. By default, RSoP logging is always on.

Note: To view the RSoP information logged on a client computer, you can use the RSoP snap-in in the Microsoft Management Console (MMC).

French text from Windows 11 26H2

Ce paramètre de stratégie vous permet d’activer ou de désactiver la journalisation du jeu de stratégie résultant (RSoP) sur un ordinateur client.

Le jeu de stratégie résultant enregistre les informations de journal sur les paramètres de stratégie de groupe qui ont été appliqués au client. Ces informations comprennent des détails tels que les objets de stratégie de groupe appliqués, leur provenance, ainsi que les paramètres d’extension côté client qui étaient inclus.

Si vous activez ce paramètre de stratégie, la journalisation du jeu de stratégie résultant est désactivée.

Si vous désactivez ce paramètre de stratégie ou si vous ne le configurez pas, la journalisation du jeu de stratégie résultant est activée. Par défaut, la journalisation du jeu de stratégie résultant est toujours activée.

Remarque : pour afficher les informations du jeu de stratégie résultant journalisées sur un ordinateur client, vous pouvez utiliser le composant logiciel enfichable Jeu de stratégie résultant (RSoP) de Microsoft Management Console (MMC).

Registry

HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\System
Value name
RSoPLogging
StateValue written
EnabledREG_DWORD = 0
DisabledREG_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: GroupPolicy/RSoPLogging
$k = 'HKLM:\Software\Policies\Microsoft\Windows\System'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'RSoPLogging' -Value 0 -Type DWord

Disable

# Disable: GroupPolicy/RSoPLogging
$k = 'HKLM:\Software\Policies\Microsoft\Windows\System'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'RSoPLogging' -Value 1 -Type DWord

Revert to "Not configured"

# Revert to "Not configured": GroupPolicy/RSoPLogging
$k = 'HKLM:\Software\Policies\Microsoft\Windows\System'
Remove-ItemProperty -Path $k -Name 'RSoPLogging' -ErrorAction SilentlyContinue

Availability