Supporting RSoP Planning Mode

If a client-side extension must generate RSoP data in the planning mode, the extension must export an implementation of the application-defined GenerateGroupPolicy callback function. Group Policy Data Access Service (GPDAS) calls this function after the service simulates the loading of client-side extensions so that extensions can generate policy data.

The extension must register the GenerateGroupPolicy callback function at the registry key:

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon\GPExtensions\ClientExtensionGuid

with the registry value [**GenerateGroupPolicy**](/windows/desktop/api/Userenv/nc-userenv-pfngenerategrouppolicy) **REG\_SZ** "Function name that generates RSoP data".

If your schema is identical for RSoP logging and planning mode, you can use the same Windows Management Instrumentation (WMI) methods called in the sample code in the Supporting RSoP Logging Mode topic to log RSoP data in the planning mode.

RSoP planning mode requires Windows Server.