Registry data refreshed from vendors: Last vendor change detected: 5 Dec 2026Next refresh: 1st of the monthApp v1.4.0 (5 Dec 2026): Cleanup or tattoo: see what stays behind after a GPO is removed. Release notes
Windows (ADMX) · GroupPolicyPreferencesLogging.admx

GroupPolicyPreferencesLogging.admx: 21 policies

Generated from Microsoft Windows Server 2025 Datacenter build 26100 in-box templates + Windows 11 ADMX package (download id 108394) on 2026-12-05. Titles, explanations and "Supported on" text are Microsoft's own, from the en-US ADML file.

Configure Applications preference logging and tracing

Per machine Windows 11Windows Server 2025Windows Server 2022Windows Server 2019Windows Server 2016

Supported on: At least Windows Server 2003 operating systems or Windows XP Professional with SP2

When the GPO stops applying: Windows removes the value (it is under a Policies branch). How cleanup works

Registry keyHKLM\Software\Policies\Microsoft\Windows\Group Policy\{F9C77450-3A41-477E-9310-9ACD617BD9E3}
OptionValueTypeAllowed values
Event loggingLogLevel3 (REG_DWORD) = Informational, Warnings and Errors
2 (REG_DWORD) = Warnings and Errors
1 (REG_DWORD) = Errors Only
0 (REG_DWORD) = None
TracingTraceLevel2 (REG_DWORD) = On
0 (REG_DWORD) = Off
User traceTraceFilePathUserREG_EXPAND_SZText
Computer traceTraceFilePathMachineREG_EXPAND_SZText
Planning traceTraceFilePathPlanningREG_EXPAND_SZText
Maximum size of trace file (KB)TraceFileMaxSizeREG_DWORDNumber 0 to 16384
What it does (vendor explanation)

This policy setting allows you to configure the level of detail recorded by event logging for the Applications preference extension, and to turn on tracing for the Applications extension. Logging and tracing provide diagnostic information for troubleshooting.

If you enable this policy setting, you can configure event logging and turn on tracing for the Applications extension for client computers.

If you disable or do not configure this policy setting, by default event logging for this extension includes only warnings and errors, and tracing for this extension is turned off.

Notes:

1. User Configuration tracing: To perform tracing for items in this preference extension listed under User Configuration, you must provide a path in the "User trace" box to the location where a user trace file can be created on the client computer, and you must turn on the "Tracing" option. If there are no preference items under User Configuration in this extension, no user trace file is created.

2. Computer Configuration tracing: This preference extension is available under User Configuration only, so computer configuration tracing is not applicable.

3. Group Policy Modeling query tracing: To perform tracing for items in this preference extension when you perform a Group Policy Modeling query, you must provide a path in the "Planning trace" box to the location where a planning trace file can be created on the computer where you run modeling, and you must turn on the "Tracing" option. If you are not performing Group Policy Modeling or there are no preference items in this extension, no planning trace file is created.

Group Policy path: Computer Configuration > Administrative Templates > System > Group Policy > Logging and tracing > Configure Applications preference logging and tracing

PowerShell equivalent (generated from the template)
# Event logging
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\Group Policy\{F9C77450-3A41-477E-9310-9ACD617BD9E3}' -Name 'LogLevel' -Value 3 -PropertyType DWord -Force
# Tracing
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\Group Policy\{F9C77450-3A41-477E-9310-9ACD617BD9E3}' -Name 'TraceLevel' -Value 2 -PropertyType DWord -Force
# User trace
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\Group Policy\{F9C77450-3A41-477E-9310-9ACD617BD9E3}' -Name 'TraceFilePathUser' -Value <value> -PropertyType ExpandString -Force
# Computer trace
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\Group Policy\{F9C77450-3A41-477E-9310-9ACD617BD9E3}' -Name 'TraceFilePathMachine' -Value <value> -PropertyType ExpandString -Force
# Planning trace
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\Group Policy\{F9C77450-3A41-477E-9310-9ACD617BD9E3}' -Name 'TraceFilePathPlanning' -Value <value> -PropertyType ExpandString -Force
# Maximum size of trace file (KB)
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\Group Policy\{F9C77450-3A41-477E-9310-9ACD617BD9E3}' -Name 'TraceFileMaxSize' -Value <value> -PropertyType DWord -Force

Group Policy or Intune is the supported way to set policies. Writing the same values directly works like a local policy and is removed by nothing: delete the values to return to "Not configured".

ADMX: GroupPolicyPreferencesLogging.admx · policy name CSE_Applications_Logging

Configure Data Sources preference logging and tracing

Per machine Windows 11Windows Server 2025Windows Server 2022Windows Server 2019Windows Server 2016

Supported on: At least Windows Server 2003 operating systems or Windows XP Professional with SP2

When the GPO stops applying: Windows removes the value (it is under a Policies branch). How cleanup works

Registry keyHKLM\Software\Policies\Microsoft\Windows\Group Policy\{728EE579-943C-4519-9EF7-AB56765798ED}
OptionValueTypeAllowed values
Event loggingLogLevel3 (REG_DWORD) = Informational, Warnings and Errors
2 (REG_DWORD) = Warnings and Errors
1 (REG_DWORD) = Errors Only
0 (REG_DWORD) = None
TracingTraceLevel2 (REG_DWORD) = On
0 (REG_DWORD) = Off
User traceTraceFilePathUserREG_EXPAND_SZText
Computer traceTraceFilePathMachineREG_EXPAND_SZText
Planning traceTraceFilePathPlanningREG_EXPAND_SZText
Maximum size of trace file (KB)TraceFileMaxSizeREG_DWORDNumber 0 to 16384
What it does (vendor explanation)

This policy setting allows you to configure the level of detail recorded by event logging for the Data Sources preference extension, and to turn on tracing for the Data Sources extension. Logging and tracing provide diagnostic information for troubleshooting.

If you enable this policy setting, you can configure event logging and turn on tracing for the Data Sources extension for client computers.

If you disable or do not configure this policy setting, by default event logging for this extension includes only warnings and errors, and tracing for this extension is turned off.

Security caution: Secure the configured network share with minimum required permissions only. Do not use broad access (e.g., Any standard account or Everyone with Full Control), as this may result in unauthorized access to logging and tracing data

Notes:

1. User Configuration tracing: To perform tracing for items in this preference extension listed under User Configuration, you must provide a path in the "User trace" box to the location where a user trace file can be created on the client computer, and you must turn on the "Tracing" option. If there are no preference items under User Configuration in this extension, no user trace file is created.

2. Computer Configuration tracing: This preference extension is available under User Configuration only, so computer configuration tracing is not applicable.

3. Group Policy Modeling query tracing: To perform tracing for items in this preference extension when you perform a Group Policy Modeling query, you must provide a path in the "Planning trace" box to the location where a planning trace file can be created on the computer where you run modeling, and you must turn on the "Tracing" option. If you are not performing Group Policy Modeling or there are no preference items in this extension, no planning trace file is created.

Group Policy path: Computer Configuration > Administrative Templates > System > Group Policy > Logging and tracing > Configure Data Sources preference logging and tracing

PowerShell equivalent (generated from the template)
# Event logging
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\Group Policy\{728EE579-943C-4519-9EF7-AB56765798ED}' -Name 'LogLevel' -Value 3 -PropertyType DWord -Force
# Tracing
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\Group Policy\{728EE579-943C-4519-9EF7-AB56765798ED}' -Name 'TraceLevel' -Value 2 -PropertyType DWord -Force
# User trace
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\Group Policy\{728EE579-943C-4519-9EF7-AB56765798ED}' -Name 'TraceFilePathUser' -Value <value> -PropertyType ExpandString -Force
# Computer trace
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\Group Policy\{728EE579-943C-4519-9EF7-AB56765798ED}' -Name 'TraceFilePathMachine' -Value <value> -PropertyType ExpandString -Force
# Planning trace
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\Group Policy\{728EE579-943C-4519-9EF7-AB56765798ED}' -Name 'TraceFilePathPlanning' -Value <value> -PropertyType ExpandString -Force
# Maximum size of trace file (KB)
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\Group Policy\{728EE579-943C-4519-9EF7-AB56765798ED}' -Name 'TraceFileMaxSize' -Value <value> -PropertyType DWord -Force

Group Policy or Intune is the supported way to set policies. Writing the same values directly works like a local policy and is removed by nothing: delete the values to return to "Not configured".

ADMX: GroupPolicyPreferencesLogging.admx · policy name CSE_DataSources_Logging

Configure Devices preference logging and tracing

Per machine Windows 11Windows Server 2025Windows Server 2022Windows Server 2019Windows Server 2016

Supported on: At least Windows Server 2003 operating systems or Windows XP Professional with SP2

When the GPO stops applying: Windows removes the value (it is under a Policies branch). How cleanup works

Registry keyHKLM\Software\Policies\Microsoft\Windows\Group Policy\{1A6364EB-776B-4120-ADE1-B63A406A76B5}
OptionValueTypeAllowed values
Event loggingLogLevel3 (REG_DWORD) = Informational, Warnings and Errors
2 (REG_DWORD) = Warnings and Errors
1 (REG_DWORD) = Errors Only
0 (REG_DWORD) = None
TracingTraceLevel2 (REG_DWORD) = On
0 (REG_DWORD) = Off
User traceTraceFilePathUserREG_EXPAND_SZText
Computer traceTraceFilePathMachineREG_EXPAND_SZText
Planning traceTraceFilePathPlanningREG_EXPAND_SZText
Maximum size of trace file (KB)TraceFileMaxSizeREG_DWORDNumber 0 to 16384
What it does (vendor explanation)

This policy setting allows you to configure the level of detail recorded by event logging for the Devices preference extension, and to turn on tracing for the Devices extension. Logging and tracing provide diagnostic information for troubleshooting.

If you enable this policy setting, you can configure event logging and turn on tracing for the Devices extension for client computers.

If you disable or do not configure this policy setting, by default event logging for this extension includes only warnings and errors, and tracing for this extension is turned off.

Security caution: Secure the configured network share with minimum required permissions only. Do not use broad access (e.g., Any standard account or Everyone with Full Control), as this may result in unauthorized access to logging and tracing data

Notes:

1. User Configuration tracing: To perform tracing for items in this preference extension listed under User Configuration, you must provide a path in the "User trace" box to the location where a user trace file can be created on the client computer, and you must turn on the "Tracing" option. If there are no preference items under User Configuration in this extension, no user trace file is created.

2. Computer Configuration tracing: This preference extension is available under User Configuration only, so computer configuration tracing is not applicable.

3. Group Policy Modeling query tracing: To perform tracing for items in this preference extension when you perform a Group Policy Modeling query, you must provide a path in the "Planning trace" box to the location where a planning trace file can be created on the computer where you run modeling, and you must turn on the "Tracing" option. If you are not performing Group Policy Modeling or there are no preference items in this extension, no planning trace file is created.

Group Policy path: Computer Configuration > Administrative Templates > System > Group Policy > Logging and tracing > Configure Devices preference logging and tracing

PowerShell equivalent (generated from the template)
# Event logging
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\Group Policy\{1A6364EB-776B-4120-ADE1-B63A406A76B5}' -Name 'LogLevel' -Value 3 -PropertyType DWord -Force
# Tracing
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\Group Policy\{1A6364EB-776B-4120-ADE1-B63A406A76B5}' -Name 'TraceLevel' -Value 2 -PropertyType DWord -Force
# User trace
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\Group Policy\{1A6364EB-776B-4120-ADE1-B63A406A76B5}' -Name 'TraceFilePathUser' -Value <value> -PropertyType ExpandString -Force
# Computer trace
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\Group Policy\{1A6364EB-776B-4120-ADE1-B63A406A76B5}' -Name 'TraceFilePathMachine' -Value <value> -PropertyType ExpandString -Force
# Planning trace
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\Group Policy\{1A6364EB-776B-4120-ADE1-B63A406A76B5}' -Name 'TraceFilePathPlanning' -Value <value> -PropertyType ExpandString -Force
# Maximum size of trace file (KB)
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\Group Policy\{1A6364EB-776B-4120-ADE1-B63A406A76B5}' -Name 'TraceFileMaxSize' -Value <value> -PropertyType DWord -Force

Group Policy or Intune is the supported way to set policies. Writing the same values directly works like a local policy and is removed by nothing: delete the values to return to "Not configured".

ADMX: GroupPolicyPreferencesLogging.admx · policy name CSE_Devices_Logging

Configure Drive Maps preference logging and tracing

Per machine Windows 11Windows Server 2025Windows Server 2022Windows Server 2019Windows Server 2016

Supported on: At least Windows Server 2003 operating systems or Windows XP Professional with SP2

When the GPO stops applying: Windows removes the value (it is under a Policies branch). How cleanup works

Registry keyHKLM\Software\Policies\Microsoft\Windows\Group Policy\{5794DAFD-BE60-433f-88A2-1A31939AC01F}
OptionValueTypeAllowed values
Event loggingLogLevel3 (REG_DWORD) = Informational, Warnings and Errors
2 (REG_DWORD) = Warnings and Errors
1 (REG_DWORD) = Errors Only
0 (REG_DWORD) = None
TracingTraceLevel2 (REG_DWORD) = On
0 (REG_DWORD) = Off
User traceTraceFilePathUserREG_EXPAND_SZText
Computer traceTraceFilePathMachineREG_EXPAND_SZText
Planning traceTraceFilePathPlanningREG_EXPAND_SZText
Maximum size of trace file (KB)TraceFileMaxSizeREG_DWORDNumber 0 to 16384
What it does (vendor explanation)

This policy setting allows you to configure the level of detail recorded by event logging for the Drive Maps preference extension, and to turn on tracing for the Drive Maps extension. Logging and tracing provide diagnostic information for troubleshooting.

If you enable this policy setting, you can configure event logging and turn on tracing for the Drive Maps extension for client computers.

If you disable or do not configure this policy setting, by default event logging for this extension includes only warnings and errors, and tracing for this extension is turned off.

Security caution: Secure the configured network share with minimum required permissions only. Do not use broad access (e.g., Any standard account or Everyone with Full Control), as this may result in unauthorized access to logging and tracing data

Notes:

1. User Configuration tracing: To perform tracing for items in this preference extension listed under User Configuration, you must provide a path in the "User trace" box to the location where a user trace file can be created on the client computer, and you must turn on the "Tracing" option. If there are no preference items under User Configuration in this extension, no user trace file is created.

2. Computer Configuration tracing: This preference extension is available under User Configuration only, so computer configuration tracing is not applicable.

3. Group Policy Modeling query tracing: To perform tracing for items in this preference extension when you perform a Group Policy Modeling query, you must provide a path in the "Planning trace" box to the location where a planning trace file can be created on the computer where you run modeling, and you must turn on the "Tracing" option. If you are not performing Group Policy Modeling or there are no preference items in this extension, no planning trace file is created.

Group Policy path: Computer Configuration > Administrative Templates > System > Group Policy > Logging and tracing > Configure Drive Maps preference logging and tracing

PowerShell equivalent (generated from the template)
# Event logging
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\Group Policy\{5794DAFD-BE60-433f-88A2-1A31939AC01F}' -Name 'LogLevel' -Value 3 -PropertyType DWord -Force
# Tracing
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\Group Policy\{5794DAFD-BE60-433f-88A2-1A31939AC01F}' -Name 'TraceLevel' -Value 2 -PropertyType DWord -Force
# User trace
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\Group Policy\{5794DAFD-BE60-433f-88A2-1A31939AC01F}' -Name 'TraceFilePathUser' -Value <value> -PropertyType ExpandString -Force
# Computer trace
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\Group Policy\{5794DAFD-BE60-433f-88A2-1A31939AC01F}' -Name 'TraceFilePathMachine' -Value <value> -PropertyType ExpandString -Force
# Planning trace
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\Group Policy\{5794DAFD-BE60-433f-88A2-1A31939AC01F}' -Name 'TraceFilePathPlanning' -Value <value> -PropertyType ExpandString -Force
# Maximum size of trace file (KB)
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\Group Policy\{5794DAFD-BE60-433f-88A2-1A31939AC01F}' -Name 'TraceFileMaxSize' -Value <value> -PropertyType DWord -Force

Group Policy or Intune is the supported way to set policies. Writing the same values directly works like a local policy and is removed by nothing: delete the values to return to "Not configured".

ADMX: GroupPolicyPreferencesLogging.admx · policy name CSE_Drives_Logging

Configure Environment preference logging and tracing

Per machine Windows 11Windows Server 2025Windows Server 2022Windows Server 2019Windows Server 2016

Supported on: At least Windows Server 2003 operating systems or Windows XP Professional with SP2

When the GPO stops applying: Windows removes the value (it is under a Policies branch). How cleanup works

Registry keyHKLM\Software\Policies\Microsoft\Windows\Group Policy\{0E28E245-9368-4853-AD84-6DA3BA35BB75}
OptionValueTypeAllowed values
Event loggingLogLevel3 (REG_DWORD) = Informational, Warnings and Errors
2 (REG_DWORD) = Warnings and Errors
1 (REG_DWORD) = Errors Only
0 (REG_DWORD) = None
TracingTraceLevel2 (REG_DWORD) = On
0 (REG_DWORD) = Off
User traceTraceFilePathUserREG_EXPAND_SZText
Computer traceTraceFilePathMachineREG_EXPAND_SZText
Planning traceTraceFilePathPlanningREG_EXPAND_SZText
Maximum size of trace file (KB)TraceFileMaxSizeREG_DWORDNumber 0 to 16384
What it does (vendor explanation)

This policy setting allows you to configure the level of detail recorded by event logging for the Environment preference extension, and to turn on tracing for the Environment extension. Logging and tracing provide diagnostic information for troubleshooting.

If you enable this policy setting, you can configure event logging and turn on tracing for the Environment extension for client computers.

If you disable or do not configure this policy setting, by default event logging for this extension includes only warnings and errors, and tracing for this extension is turned off.

Security caution: Secure the configured network share with minimum required permissions only. Do not use broad access (e.g., Any standard account or Everyone with Full Control), as this may result in unauthorized access to logging and tracing data

Notes:

1. User Configuration tracing: To perform tracing for items in this preference extension listed under User Configuration, you must provide a path in the "User trace" box to the location where a user trace file can be created on the client computer, and you must turn on the "Tracing" option. If there are no preference items under User Configuration in this extension, no user trace file is created.

2. Computer Configuration tracing: This preference extension is available under User Configuration only, so computer configuration tracing is not applicable.

3. Group Policy Modeling query tracing: To perform tracing for items in this preference extension when you perform a Group Policy Modeling query, you must provide a path in the "Planning trace" box to the location where a planning trace file can be created on the computer where you run modeling, and you must turn on the "Tracing" option. If you are not performing Group Policy Modeling or there are no preference items in this extension, no planning trace file is created.

Group Policy path: Computer Configuration > Administrative Templates > System > Group Policy > Logging and tracing > Configure Environment preference logging and tracing

PowerShell equivalent (generated from the template)
# Event logging
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\Group Policy\{0E28E245-9368-4853-AD84-6DA3BA35BB75}' -Name 'LogLevel' -Value 3 -PropertyType DWord -Force
# Tracing
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\Group Policy\{0E28E245-9368-4853-AD84-6DA3BA35BB75}' -Name 'TraceLevel' -Value 2 -PropertyType DWord -Force
# User trace
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\Group Policy\{0E28E245-9368-4853-AD84-6DA3BA35BB75}' -Name 'TraceFilePathUser' -Value <value> -PropertyType ExpandString -Force
# Computer trace
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\Group Policy\{0E28E245-9368-4853-AD84-6DA3BA35BB75}' -Name 'TraceFilePathMachine' -Value <value> -PropertyType ExpandString -Force
# Planning trace
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\Group Policy\{0E28E245-9368-4853-AD84-6DA3BA35BB75}' -Name 'TraceFilePathPlanning' -Value <value> -PropertyType ExpandString -Force
# Maximum size of trace file (KB)
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\Group Policy\{0E28E245-9368-4853-AD84-6DA3BA35BB75}' -Name 'TraceFileMaxSize' -Value <value> -PropertyType DWord -Force

Group Policy or Intune is the supported way to set policies. Writing the same values directly works like a local policy and is removed by nothing: delete the values to return to "Not configured".

ADMX: GroupPolicyPreferencesLogging.admx · policy name CSE_Environment_Logging

Configure Files preference logging and tracing

Per machine Windows 11Windows Server 2025Windows Server 2022Windows Server 2019Windows Server 2016

Supported on: At least Windows Server 2003 operating systems or Windows XP Professional with SP2

When the GPO stops applying: Windows removes the value (it is under a Policies branch). How cleanup works

Registry keyHKLM\Software\Policies\Microsoft\Windows\Group Policy\{7150F9BF-48AD-4da4-A49C-29EF4A8369BA}
OptionValueTypeAllowed values
Event loggingLogLevel3 (REG_DWORD) = Informational, Warnings and Errors
2 (REG_DWORD) = Warnings and Errors
1 (REG_DWORD) = Errors Only
0 (REG_DWORD) = None
TracingTraceLevel2 (REG_DWORD) = On
0 (REG_DWORD) = Off
User traceTraceFilePathUserREG_EXPAND_SZText
Computer traceTraceFilePathMachineREG_EXPAND_SZText
Planning traceTraceFilePathPlanningREG_EXPAND_SZText
Maximum size of trace file (KB)TraceFileMaxSizeREG_DWORDNumber 0 to 16384
What it does (vendor explanation)

This policy setting allows you to configure the level of detail recorded by event logging for the Files preference extension, and to turn on tracing for the Files extension. Logging and tracing provide diagnostic information for troubleshooting.

If you enable this policy setting, you can configure event logging and turn on tracing for the Files extension for client computers.

If you disable or do not configure this policy setting, by default event logging for this extension includes only warnings and errors, and tracing for this extension is turned off.

Security caution: Secure the configured network share with minimum required permissions only. Do not use broad access (e.g., Any standard account or Everyone with Full Control), as this may result in unauthorized access to logging and tracing data

Notes:

1. User Configuration tracing: To perform tracing for items in this preference extension listed under User Configuration, you must provide a path in the "User trace" box to the location where a user trace file can be created on the client computer, and you must turn on the "Tracing" option. If there are no preference items under User Configuration in this extension, no user trace file is created.

2. Computer Configuration tracing: This preference extension is available under User Configuration only, so computer configuration tracing is not applicable.

3. Group Policy Modeling query tracing: To perform tracing for items in this preference extension when you perform a Group Policy Modeling query, you must provide a path in the "Planning trace" box to the location where a planning trace file can be created on the computer where you run modeling, and you must turn on the "Tracing" option. If you are not performing Group Policy Modeling or there are no preference items in this extension, no planning trace file is created.

Group Policy path: Computer Configuration > Administrative Templates > System > Group Policy > Logging and tracing > Configure Files preference logging and tracing

PowerShell equivalent (generated from the template)
# Event logging
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\Group Policy\{7150F9BF-48AD-4da4-A49C-29EF4A8369BA}' -Name 'LogLevel' -Value 3 -PropertyType DWord -Force
# Tracing
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\Group Policy\{7150F9BF-48AD-4da4-A49C-29EF4A8369BA}' -Name 'TraceLevel' -Value 2 -PropertyType DWord -Force
# User trace
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\Group Policy\{7150F9BF-48AD-4da4-A49C-29EF4A8369BA}' -Name 'TraceFilePathUser' -Value <value> -PropertyType ExpandString -Force
# Computer trace
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\Group Policy\{7150F9BF-48AD-4da4-A49C-29EF4A8369BA}' -Name 'TraceFilePathMachine' -Value <value> -PropertyType ExpandString -Force
# Planning trace
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\Group Policy\{7150F9BF-48AD-4da4-A49C-29EF4A8369BA}' -Name 'TraceFilePathPlanning' -Value <value> -PropertyType ExpandString -Force
# Maximum size of trace file (KB)
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\Group Policy\{7150F9BF-48AD-4da4-A49C-29EF4A8369BA}' -Name 'TraceFileMaxSize' -Value <value> -PropertyType DWord -Force

Group Policy or Intune is the supported way to set policies. Writing the same values directly works like a local policy and is removed by nothing: delete the values to return to "Not configured".

ADMX: GroupPolicyPreferencesLogging.admx · policy name CSE_Files_Logging

Configure Folder Options preference logging and tracing

Per machine Windows 11Windows Server 2025Windows Server 2022Windows Server 2019Windows Server 2016

Supported on: At least Windows Server 2003 operating systems or Windows XP Professional with SP2

When the GPO stops applying: Windows removes the value (it is under a Policies branch). How cleanup works

Registry keyHKLM\Software\Policies\Microsoft\Windows\Group Policy\{A3F3E39B-5D83-4940-B954-28315B82F0A8}
OptionValueTypeAllowed values
Event loggingLogLevel3 (REG_DWORD) = Informational, Warnings and Errors
2 (REG_DWORD) = Warnings and Errors
1 (REG_DWORD) = Errors Only
0 (REG_DWORD) = None
TracingTraceLevel2 (REG_DWORD) = On
0 (REG_DWORD) = Off
User traceTraceFilePathUserREG_EXPAND_SZText
Computer traceTraceFilePathMachineREG_EXPAND_SZText
Planning traceTraceFilePathPlanningREG_EXPAND_SZText
Maximum size of trace file (KB)TraceFileMaxSizeREG_DWORDNumber 0 to 16384
What it does (vendor explanation)

This policy setting allows you to configure the level of detail recorded by event logging for the Folder Options preference extension, and to turn on tracing for the Folder Options extension. Logging and tracing provide diagnostic information for troubleshooting.

If you enable this policy setting, you can configure event logging and turn on tracing for the Folder Options extension for client computers.

If you disable or do not configure this policy setting, by default event logging for this extension includes only warnings and errors, and tracing for this extension is turned off.

Security caution: Secure the configured network share with minimum required permissions only. Do not use broad access (e.g., Any standard account or Everyone with Full Control), as this may result in unauthorized access to logging and tracing data

Notes:

1. User Configuration tracing: To perform tracing for items in this preference extension listed under User Configuration, you must provide a path in the "User trace" box to the location where a user trace file can be created on the client computer, and you must turn on the "Tracing" option. If there are no preference items under User Configuration in this extension, no user trace file is created.

2. Computer Configuration tracing: This preference extension is available under User Configuration only, so computer configuration tracing is not applicable.

3. Group Policy Modeling query tracing: To perform tracing for items in this preference extension when you perform a Group Policy Modeling query, you must provide a path in the "Planning trace" box to the location where a planning trace file can be created on the computer where you run modeling, and you must turn on the "Tracing" option. If you are not performing Group Policy Modeling or there are no preference items in this extension, no planning trace file is created.

Group Policy path: Computer Configuration > Administrative Templates > System > Group Policy > Logging and tracing > Configure Folder Options preference logging and tracing

PowerShell equivalent (generated from the template)
# Event logging
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\Group Policy\{A3F3E39B-5D83-4940-B954-28315B82F0A8}' -Name 'LogLevel' -Value 3 -PropertyType DWord -Force
# Tracing
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\Group Policy\{A3F3E39B-5D83-4940-B954-28315B82F0A8}' -Name 'TraceLevel' -Value 2 -PropertyType DWord -Force
# User trace
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\Group Policy\{A3F3E39B-5D83-4940-B954-28315B82F0A8}' -Name 'TraceFilePathUser' -Value <value> -PropertyType ExpandString -Force
# Computer trace
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\Group Policy\{A3F3E39B-5D83-4940-B954-28315B82F0A8}' -Name 'TraceFilePathMachine' -Value <value> -PropertyType ExpandString -Force
# Planning trace
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\Group Policy\{A3F3E39B-5D83-4940-B954-28315B82F0A8}' -Name 'TraceFilePathPlanning' -Value <value> -PropertyType ExpandString -Force
# Maximum size of trace file (KB)
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\Group Policy\{A3F3E39B-5D83-4940-B954-28315B82F0A8}' -Name 'TraceFileMaxSize' -Value <value> -PropertyType DWord -Force

Group Policy or Intune is the supported way to set policies. Writing the same values directly works like a local policy and is removed by nothing: delete the values to return to "Not configured".

ADMX: GroupPolicyPreferencesLogging.admx · policy name CSE_FolderOptions_Logging

Configure Folders preference logging and tracing

Per machine Windows 11Windows Server 2025Windows Server 2022Windows Server 2019Windows Server 2016

Supported on: At least Windows Server 2003 operating systems or Windows XP Professional with SP2

When the GPO stops applying: Windows removes the value (it is under a Policies branch). How cleanup works

Registry keyHKLM\Software\Policies\Microsoft\Windows\Group Policy\{6232C319-91AC-4931-9385-E70C2B099F0E}
OptionValueTypeAllowed values
Event loggingLogLevel3 (REG_DWORD) = Informational, Warnings and Errors
2 (REG_DWORD) = Warnings and Errors
1 (REG_DWORD) = Errors Only
0 (REG_DWORD) = None
TracingTraceLevel2 (REG_DWORD) = On
0 (REG_DWORD) = Off
User traceTraceFilePathUserREG_EXPAND_SZText
Computer traceTraceFilePathMachineREG_EXPAND_SZText
Planning traceTraceFilePathPlanningREG_EXPAND_SZText
Maximum size of trace file (KB)TraceFileMaxSizeREG_DWORDNumber 0 to 16384
What it does (vendor explanation)

This policy setting allows you to configure the level of detail recorded by event logging for the Folders preference extension, and to turn on tracing for the Folders extension. Logging and tracing provide diagnostic information for troubleshooting.

If you enable this policy setting, you can configure event logging and turn on tracing for the Folders extension for client computers.

If you disable or do not configure this policy setting, by default event logging for this extension includes only warnings and errors, and tracing for this extension is turned off.

Security caution: Secure the configured network share with minimum required permissions only. Do not use broad access (e.g., Any standard account or Everyone with Full Control), as this may result in unauthorized access to logging and tracing data

Notes:

1. User Configuration tracing: To perform tracing for items in this preference extension listed under User Configuration, you must provide a path in the "User trace" box to the location where a user trace file can be created on the client computer, and you must turn on the "Tracing" option. If there are no preference items under User Configuration in this extension, no user trace file is created.

2. Computer Configuration tracing: This preference extension is available under User Configuration only, so computer configuration tracing is not applicable.

3. Group Policy Modeling query tracing: To perform tracing for items in this preference extension when you perform a Group Policy Modeling query, you must provide a path in the "Planning trace" box to the location where a planning trace file can be created on the computer where you run modeling, and you must turn on the "Tracing" option. If you are not performing Group Policy Modeling or there are no preference items in this extension, no planning trace file is created.

Group Policy path: Computer Configuration > Administrative Templates > System > Group Policy > Logging and tracing > Configure Folders preference logging and tracing

PowerShell equivalent (generated from the template)
# Event logging
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\Group Policy\{6232C319-91AC-4931-9385-E70C2B099F0E}' -Name 'LogLevel' -Value 3 -PropertyType DWord -Force
# Tracing
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\Group Policy\{6232C319-91AC-4931-9385-E70C2B099F0E}' -Name 'TraceLevel' -Value 2 -PropertyType DWord -Force
# User trace
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\Group Policy\{6232C319-91AC-4931-9385-E70C2B099F0E}' -Name 'TraceFilePathUser' -Value <value> -PropertyType ExpandString -Force
# Computer trace
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\Group Policy\{6232C319-91AC-4931-9385-E70C2B099F0E}' -Name 'TraceFilePathMachine' -Value <value> -PropertyType ExpandString -Force
# Planning trace
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\Group Policy\{6232C319-91AC-4931-9385-E70C2B099F0E}' -Name 'TraceFilePathPlanning' -Value <value> -PropertyType ExpandString -Force
# Maximum size of trace file (KB)
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\Group Policy\{6232C319-91AC-4931-9385-E70C2B099F0E}' -Name 'TraceFileMaxSize' -Value <value> -PropertyType DWord -Force

Group Policy or Intune is the supported way to set policies. Writing the same values directly works like a local policy and is removed by nothing: delete the values to return to "Not configured".

ADMX: GroupPolicyPreferencesLogging.admx · policy name CSE_Folders_Logging

Configure Ini Files preference logging and tracing

Per machine Windows 11Windows Server 2025Windows Server 2022Windows Server 2019Windows Server 2016

Supported on: At least Windows Server 2003 operating systems or Windows XP Professional with SP2

When the GPO stops applying: Windows removes the value (it is under a Policies branch). How cleanup works

Registry keyHKLM\Software\Policies\Microsoft\Windows\Group Policy\{74EE6C03-5363-4554-B161-627540339CAB}
OptionValueTypeAllowed values
Event loggingLogLevel3 (REG_DWORD) = Informational, Warnings and Errors
2 (REG_DWORD) = Warnings and Errors
1 (REG_DWORD) = Errors Only
0 (REG_DWORD) = None
TracingTraceLevel2 (REG_DWORD) = On
0 (REG_DWORD) = Off
User traceTraceFilePathUserREG_EXPAND_SZText
Computer traceTraceFilePathMachineREG_EXPAND_SZText
Planning traceTraceFilePathPlanningREG_EXPAND_SZText
Maximum size of trace file (KB)TraceFileMaxSizeREG_DWORDNumber 0 to 16384
What it does (vendor explanation)

This policy setting allows you to configure the level of detail recorded by event logging for the Ini Files preference extension, and to turn on tracing for the Ini Files extension. Logging and tracing provide diagnostic information for troubleshooting.

If you enable this policy setting, you can configure event logging and turn on tracing for the Ini Files extension for client computers.

If you disable or do not configure this policy setting, by default event logging for this extension includes only warnings and errors, and tracing for this extension is turned off.

Security caution: Secure the configured network share with minimum required permissions only. Do not use broad access (e.g., Any standard account or Everyone with Full Control), as this may result in unauthorized access to logging and tracing data

Notes:

1. User Configuration tracing: To perform tracing for items in this preference extension listed under User Configuration, you must provide a path in the "User trace" box to the location where a user trace file can be created on the client computer, and you must turn on the "Tracing" option. If there are no preference items under User Configuration in this extension, no user trace file is created.

2. Computer Configuration tracing: This preference extension is available under User Configuration only, so computer configuration tracing is not applicable.

3. Group Policy Modeling query tracing: To perform tracing for items in this preference extension when you perform a Group Policy Modeling query, you must provide a path in the "Planning trace" box to the location where a planning trace file can be created on the computer where you run modeling, and you must turn on the "Tracing" option. If you are not performing Group Policy Modeling or there are no preference items in this extension, no planning trace file is created.

Group Policy path: Computer Configuration > Administrative Templates > System > Group Policy > Logging and tracing > Configure Ini Files preference logging and tracing

PowerShell equivalent (generated from the template)
# Event logging
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\Group Policy\{74EE6C03-5363-4554-B161-627540339CAB}' -Name 'LogLevel' -Value 3 -PropertyType DWord -Force
# Tracing
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\Group Policy\{74EE6C03-5363-4554-B161-627540339CAB}' -Name 'TraceLevel' -Value 2 -PropertyType DWord -Force
# User trace
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\Group Policy\{74EE6C03-5363-4554-B161-627540339CAB}' -Name 'TraceFilePathUser' -Value <value> -PropertyType ExpandString -Force
# Computer trace
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\Group Policy\{74EE6C03-5363-4554-B161-627540339CAB}' -Name 'TraceFilePathMachine' -Value <value> -PropertyType ExpandString -Force
# Planning trace
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\Group Policy\{74EE6C03-5363-4554-B161-627540339CAB}' -Name 'TraceFilePathPlanning' -Value <value> -PropertyType ExpandString -Force
# Maximum size of trace file (KB)
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\Group Policy\{74EE6C03-5363-4554-B161-627540339CAB}' -Name 'TraceFileMaxSize' -Value <value> -PropertyType DWord -Force

Group Policy or Intune is the supported way to set policies. Writing the same values directly works like a local policy and is removed by nothing: delete the values to return to "Not configured".

ADMX: GroupPolicyPreferencesLogging.admx · policy name CSE_IniFiles_Logging

Configure Internet Settings preference logging and tracing

Per machine Windows 11Windows Server 2025Windows Server 2022Windows Server 2019Windows Server 2016

Supported on: At least Windows Server 2003 operating systems or Windows XP Professional with SP2

When the GPO stops applying: Windows removes the value (it is under a Policies branch). How cleanup works

Registry keyHKLM\Software\Policies\Microsoft\Windows\Group Policy\{E47248BA-94CC-49c4-BBB5-9EB7F05183D0}
OptionValueTypeAllowed values
Event loggingLogLevel3 (REG_DWORD) = Informational, Warnings and Errors
2 (REG_DWORD) = Warnings and Errors
1 (REG_DWORD) = Errors Only
0 (REG_DWORD) = None
TracingTraceLevel2 (REG_DWORD) = On
0 (REG_DWORD) = Off
User traceTraceFilePathUserREG_EXPAND_SZText
Computer traceTraceFilePathMachineREG_EXPAND_SZText
Planning traceTraceFilePathPlanningREG_EXPAND_SZText
Maximum size of trace file (KB)TraceFileMaxSizeREG_DWORDNumber 0 to 16384
What it does (vendor explanation)

This policy setting allows you to configure the level of detail recorded by event logging for the Internet preference extension, and to turn on tracing for the Internet extension. Logging and tracing provide diagnostic information for troubleshooting.

If you enable this policy setting, you can configure event logging and turn on tracing for the Internet extension for client computers.

If you disable or do not configure this policy setting, by default event logging for this extension includes only warnings and errors, and tracing for this extension is turned off.

Security caution: Secure the configured network share with minimum required permissions only. Do not use broad access (e.g., Any standard account or Everyone with Full Control), as this may result in unauthorized access to logging and tracing data

Notes:

1. User Configuration tracing: To perform tracing for items in this preference extension listed under User Configuration, you must provide a path in the "User trace" box to the location where a user trace file can be created on the client computer, and you must turn on the "Tracing" option. If there are no preference items under User Configuration in this extension, no user trace file is created.

2. Computer Configuration tracing: This preference extension is available under User Configuration only, so computer configuration tracing is not applicable.

3. Group Policy Modeling query tracing: To perform tracing for items in this preference extension when you perform a Group Policy Modeling query, you must provide a path in the "Planning trace" box to the location where a planning trace file can be created on the computer where you run modeling, and you must turn on the "Tracing" option. If you are not performing Group Policy Modeling or there are no preference items in this extension, no planning trace file is created.

Group Policy path: Computer Configuration > Administrative Templates > System > Group Policy > Logging and tracing > Configure Internet Settings preference logging and tracing

PowerShell equivalent (generated from the template)
# Event logging
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\Group Policy\{E47248BA-94CC-49c4-BBB5-9EB7F05183D0}' -Name 'LogLevel' -Value 3 -PropertyType DWord -Force
# Tracing
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\Group Policy\{E47248BA-94CC-49c4-BBB5-9EB7F05183D0}' -Name 'TraceLevel' -Value 2 -PropertyType DWord -Force
# User trace
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\Group Policy\{E47248BA-94CC-49c4-BBB5-9EB7F05183D0}' -Name 'TraceFilePathUser' -Value <value> -PropertyType ExpandString -Force
# Computer trace
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\Group Policy\{E47248BA-94CC-49c4-BBB5-9EB7F05183D0}' -Name 'TraceFilePathMachine' -Value <value> -PropertyType ExpandString -Force
# Planning trace
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\Group Policy\{E47248BA-94CC-49c4-BBB5-9EB7F05183D0}' -Name 'TraceFilePathPlanning' -Value <value> -PropertyType ExpandString -Force
# Maximum size of trace file (KB)
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\Group Policy\{E47248BA-94CC-49c4-BBB5-9EB7F05183D0}' -Name 'TraceFileMaxSize' -Value <value> -PropertyType DWord -Force

Group Policy or Intune is the supported way to set policies. Writing the same values directly works like a local policy and is removed by nothing: delete the values to return to "Not configured".

ADMX: GroupPolicyPreferencesLogging.admx · policy name CSE_Internet_Logging

Configure Local Users and Groups preference logging and tracing

Per machine Windows 11Windows Server 2025Windows Server 2022Windows Server 2019Windows Server 2016

Supported on: At least Windows Server 2003 operating systems or Windows XP Professional with SP2

When the GPO stops applying: Windows removes the value (it is under a Policies branch). How cleanup works

Registry keyHKLM\Software\Policies\Microsoft\Windows\Group Policy\{17D89FEC-5C44-4972-B12D-241CAEF74509}
OptionValueTypeAllowed values
Event loggingLogLevel3 (REG_DWORD) = Informational, Warnings and Errors
2 (REG_DWORD) = Warnings and Errors
1 (REG_DWORD) = Errors Only
0 (REG_DWORD) = None
TracingTraceLevel2 (REG_DWORD) = On
0 (REG_DWORD) = Off
User traceTraceFilePathUserREG_EXPAND_SZText
Computer traceTraceFilePathMachineREG_EXPAND_SZText
Planning traceTraceFilePathPlanningREG_EXPAND_SZText
Maximum size of trace file (KB)TraceFileMaxSizeREG_DWORDNumber 0 to 16384
What it does (vendor explanation)

This policy setting allows you to configure the level of detail recorded by event logging for the Local User and Local Group preference extension, and to turn on tracing for the Local User and Local Group extension. Logging and tracing provide diagnostic information for troubleshooting.

If you enable this policy setting, you can configure event logging and turn on tracing for the Local User and Local Group extension for client computers.

If you disable or do not configure this policy setting, by default event logging for this extension includes only warnings and errors, and tracing for this extension is turned off.

Security caution: Secure the configured network share with minimum required permissions only. Do not use broad access (e.g., Any standard account or Everyone with Full Control), as this may result in unauthorized access to logging and tracing data

Notes:

1. User Configuration tracing: To perform tracing for items in this preference extension listed under User Configuration, you must provide a path in the "User trace" box to the location where a user trace file can be created on the client computer, and you must turn on the "Tracing" option. If there are no preference items under User Configuration in this extension, no user trace file is created.

2. Computer Configuration tracing: This preference extension is available under User Configuration only, so computer configuration tracing is not applicable.

3. Group Policy Modeling query tracing: To perform tracing for items in this preference extension when you perform a Group Policy Modeling query, you must provide a path in the "Planning trace" box to the location where a planning trace file can be created on the computer where you run modeling, and you must turn on the "Tracing" option. If you are not performing Group Policy Modeling or there are no preference items in this extension, no planning trace file is created.

Group Policy path: Computer Configuration > Administrative Templates > System > Group Policy > Logging and tracing > Configure Local Users and Groups preference logging and tracing

PowerShell equivalent (generated from the template)
# Event logging
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\Group Policy\{17D89FEC-5C44-4972-B12D-241CAEF74509}' -Name 'LogLevel' -Value 3 -PropertyType DWord -Force
# Tracing
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\Group Policy\{17D89FEC-5C44-4972-B12D-241CAEF74509}' -Name 'TraceLevel' -Value 2 -PropertyType DWord -Force
# User trace
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\Group Policy\{17D89FEC-5C44-4972-B12D-241CAEF74509}' -Name 'TraceFilePathUser' -Value <value> -PropertyType ExpandString -Force
# Computer trace
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\Group Policy\{17D89FEC-5C44-4972-B12D-241CAEF74509}' -Name 'TraceFilePathMachine' -Value <value> -PropertyType ExpandString -Force
# Planning trace
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\Group Policy\{17D89FEC-5C44-4972-B12D-241CAEF74509}' -Name 'TraceFilePathPlanning' -Value <value> -PropertyType ExpandString -Force
# Maximum size of trace file (KB)
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\Group Policy\{17D89FEC-5C44-4972-B12D-241CAEF74509}' -Name 'TraceFileMaxSize' -Value <value> -PropertyType DWord -Force

Group Policy or Intune is the supported way to set policies. Writing the same values directly works like a local policy and is removed by nothing: delete the values to return to "Not configured".

ADMX: GroupPolicyPreferencesLogging.admx · policy name CSE_LocalUsersAndGroups_Logging

Configure Network Options preference logging and tracing

Per machine Windows 11Windows Server 2025Windows Server 2022Windows Server 2019Windows Server 2016

Supported on: At least Windows Server 2003 operating systems or Windows XP Professional with SP2

When the GPO stops applying: Windows removes the value (it is under a Policies branch). How cleanup works

Registry keyHKLM\Software\Policies\Microsoft\Windows\Group Policy\{3A0DBA37-F8B2-4356-83DE-3E90BD5C261F}
OptionValueTypeAllowed values
Event loggingLogLevel3 (REG_DWORD) = Informational, Warnings and Errors
2 (REG_DWORD) = Warnings and Errors
1 (REG_DWORD) = Errors Only
0 (REG_DWORD) = None
TracingTraceLevel2 (REG_DWORD) = On
0 (REG_DWORD) = Off
User traceTraceFilePathUserREG_EXPAND_SZText
Computer traceTraceFilePathMachineREG_EXPAND_SZText
Planning traceTraceFilePathPlanningREG_EXPAND_SZText
Maximum size of trace file (KB)TraceFileMaxSizeREG_DWORDNumber 0 to 16384
What it does (vendor explanation)

This policy setting allows you to configure the level of detail recorded by event logging for the Network Options preference extension, and to turn on tracing for the Network Options extension. Logging and tracing provide diagnostic information for troubleshooting.

If you enable this policy setting, you can configure event logging and turn on tracing for the Network Options extension for client computers.

If you disable or do not configure this policy setting, by default event logging for this extension includes only warnings and errors, and tracing for this extension is turned off.

Security caution: Secure the configured network share with minimum required permissions only. Do not use broad access (e.g., Any standard account or Everyone with Full Control), as this may result in unauthorized access to logging and tracing data

Notes:

1. User Configuration tracing: To perform tracing for items in this preference extension listed under User Configuration, you must provide a path in the "User trace" box to the location where a user trace file can be created on the client computer, and you must turn on the "Tracing" option. If there are no preference items under User Configuration in this extension, no user trace file is created.

2. Computer Configuration tracing: This preference extension is available under User Configuration only, so computer configuration tracing is not applicable.

3. Group Policy Modeling query tracing: To perform tracing for items in this preference extension when you perform a Group Policy Modeling query, you must provide a path in the "Planning trace" box to the location where a planning trace file can be created on the computer where you run modeling, and you must turn on the "Tracing" option. If you are not performing Group Policy Modeling or there are no preference items in this extension, no planning trace file is created.

Group Policy path: Computer Configuration > Administrative Templates > System > Group Policy > Logging and tracing > Configure Network Options preference logging and tracing

PowerShell equivalent (generated from the template)
# Event logging
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\Group Policy\{3A0DBA37-F8B2-4356-83DE-3E90BD5C261F}' -Name 'LogLevel' -Value 3 -PropertyType DWord -Force
# Tracing
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\Group Policy\{3A0DBA37-F8B2-4356-83DE-3E90BD5C261F}' -Name 'TraceLevel' -Value 2 -PropertyType DWord -Force
# User trace
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\Group Policy\{3A0DBA37-F8B2-4356-83DE-3E90BD5C261F}' -Name 'TraceFilePathUser' -Value <value> -PropertyType ExpandString -Force
# Computer trace
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\Group Policy\{3A0DBA37-F8B2-4356-83DE-3E90BD5C261F}' -Name 'TraceFilePathMachine' -Value <value> -PropertyType ExpandString -Force
# Planning trace
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\Group Policy\{3A0DBA37-F8B2-4356-83DE-3E90BD5C261F}' -Name 'TraceFilePathPlanning' -Value <value> -PropertyType ExpandString -Force
# Maximum size of trace file (KB)
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\Group Policy\{3A0DBA37-F8B2-4356-83DE-3E90BD5C261F}' -Name 'TraceFileMaxSize' -Value <value> -PropertyType DWord -Force

Group Policy or Intune is the supported way to set policies. Writing the same values directly works like a local policy and is removed by nothing: delete the values to return to "Not configured".

ADMX: GroupPolicyPreferencesLogging.admx · policy name CSE_NetworkOptions_Logging

Configure Network Shares preference logging and tracing

Per machine Windows 11Windows Server 2025Windows Server 2022Windows Server 2019Windows Server 2016

Supported on: At least Windows Server 2003 operating systems or Windows XP Professional with SP2

When the GPO stops applying: Windows removes the value (it is under a Policies branch). How cleanup works

Registry keyHKLM\Software\Policies\Microsoft\Windows\Group Policy\{6A4C88C6-C502-4f74-8F60-2CB23EDC24E2}
OptionValueTypeAllowed values
Event loggingLogLevel3 (REG_DWORD) = Informational, Warnings and Errors
2 (REG_DWORD) = Warnings and Errors
1 (REG_DWORD) = Errors Only
0 (REG_DWORD) = None
TracingTraceLevel2 (REG_DWORD) = On
0 (REG_DWORD) = Off
User traceTraceFilePathUserREG_EXPAND_SZText
Computer traceTraceFilePathMachineREG_EXPAND_SZText
Planning traceTraceFilePathPlanningREG_EXPAND_SZText
Maximum size of trace file (KB)TraceFileMaxSizeREG_DWORDNumber 0 to 16384
What it does (vendor explanation)

This policy setting allows you to configure the level of detail recorded by event logging for the Network Shares preference extension, and to turn on tracing for the Network Shares extension. Logging and tracing provide diagnostic information for troubleshooting.

If you enable this policy setting, you can configure event logging and turn on tracing for the Network Shares extension for client computers.

If you disable or do not configure this policy setting, by default event logging for this extension includes only warnings and errors, and tracing for this extension is turned off.

Security caution: Secure the configured network share with minimum required permissions only. Do not use broad access (e.g., Any standard account or Everyone with Full Control), as this may result in unauthorized access to logging and tracing data

Notes:

1. User Configuration tracing: To perform tracing for items in this preference extension listed under User Configuration, you must provide a path in the "User trace" box to the location where a user trace file can be created on the client computer, and you must turn on the "Tracing" option. If there are no preference items under User Configuration in this extension, no user trace file is created.

2. Computer Configuration tracing: This preference extension is available under User Configuration only, so computer configuration tracing is not applicable.

3. Group Policy Modeling query tracing: To perform tracing for items in this preference extension when you perform a Group Policy Modeling query, you must provide a path in the "Planning trace" box to the location where a planning trace file can be created on the computer where you run modeling, and you must turn on the "Tracing" option. If you are not performing Group Policy Modeling or there are no preference items in this extension, no planning trace file is created.

Group Policy path: Computer Configuration > Administrative Templates > System > Group Policy > Logging and tracing > Configure Network Shares preference logging and tracing

PowerShell equivalent (generated from the template)
# Event logging
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\Group Policy\{6A4C88C6-C502-4f74-8F60-2CB23EDC24E2}' -Name 'LogLevel' -Value 3 -PropertyType DWord -Force
# Tracing
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\Group Policy\{6A4C88C6-C502-4f74-8F60-2CB23EDC24E2}' -Name 'TraceLevel' -Value 2 -PropertyType DWord -Force
# User trace
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\Group Policy\{6A4C88C6-C502-4f74-8F60-2CB23EDC24E2}' -Name 'TraceFilePathUser' -Value <value> -PropertyType ExpandString -Force
# Computer trace
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\Group Policy\{6A4C88C6-C502-4f74-8F60-2CB23EDC24E2}' -Name 'TraceFilePathMachine' -Value <value> -PropertyType ExpandString -Force
# Planning trace
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\Group Policy\{6A4C88C6-C502-4f74-8F60-2CB23EDC24E2}' -Name 'TraceFilePathPlanning' -Value <value> -PropertyType ExpandString -Force
# Maximum size of trace file (KB)
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\Group Policy\{6A4C88C6-C502-4f74-8F60-2CB23EDC24E2}' -Name 'TraceFileMaxSize' -Value <value> -PropertyType DWord -Force

Group Policy or Intune is the supported way to set policies. Writing the same values directly works like a local policy and is removed by nothing: delete the values to return to "Not configured".

ADMX: GroupPolicyPreferencesLogging.admx · policy name CSE_NetShares_Logging

Configure Power Options preference logging and tracing

Per machine Windows 11Windows Server 2025Windows Server 2022Windows Server 2019Windows Server 2016

Supported on: At least Windows Server 2003 operating systems or Windows XP Professional with SP2

When the GPO stops applying: Windows removes the value (it is under a Policies branch). How cleanup works

Registry keyHKLM\Software\Policies\Microsoft\Windows\Group Policy\{E62688F0-25FD-4c90-BFF5-F508B9D2E31F}
OptionValueTypeAllowed values
Event loggingLogLevel3 (REG_DWORD) = Informational, Warnings and Errors
2 (REG_DWORD) = Warnings and Errors
1 (REG_DWORD) = Errors Only
0 (REG_DWORD) = None
TracingTraceLevel2 (REG_DWORD) = On
0 (REG_DWORD) = Off
User traceTraceFilePathUserREG_EXPAND_SZText
Computer traceTraceFilePathMachineREG_EXPAND_SZText
Planning traceTraceFilePathPlanningREG_EXPAND_SZText
Maximum size of trace file (KB)TraceFileMaxSizeREG_DWORDNumber 0 to 16384
What it does (vendor explanation)

This policy setting allows you to configure the level of detail recorded by event logging for the Power Options preference extension, and to turn on tracing for the Power Options extension. Logging and tracing provide diagnostic information for troubleshooting.

If you enable this policy setting, you can configure event logging and turn on tracing for the Power Options extension for client computers.

If you disable or do not configure this policy setting, by default event logging for this extension includes only warnings and errors, and tracing for this extension is turned off.

Security caution: Secure the configured network share with minimum required permissions only. Do not use broad access (e.g., Any standard account or Everyone with Full Control), as this may result in unauthorized access to logging and tracing data

Notes:

1. User Configuration tracing: To perform tracing for items in this preference extension listed under User Configuration, you must provide a path in the "User trace" box to the location where a user trace file can be created on the client computer, and you must turn on the "Tracing" option. If there are no preference items under User Configuration in this extension, no user trace file is created.

2. Computer Configuration tracing: This preference extension is available under User Configuration only, so computer configuration tracing is not applicable.

3. Group Policy Modeling query tracing: To perform tracing for items in this preference extension when you perform a Group Policy Modeling query, you must provide a path in the "Planning trace" box to the location where a planning trace file can be created on the computer where you run modeling, and you must turn on the "Tracing" option. If you are not performing Group Policy Modeling or there are no preference items in this extension, no planning trace file is created.

Group Policy path: Computer Configuration > Administrative Templates > System > Group Policy > Logging and tracing > Configure Power Options preference logging and tracing

PowerShell equivalent (generated from the template)
# Event logging
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\Group Policy\{E62688F0-25FD-4c90-BFF5-F508B9D2E31F}' -Name 'LogLevel' -Value 3 -PropertyType DWord -Force
# Tracing
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\Group Policy\{E62688F0-25FD-4c90-BFF5-F508B9D2E31F}' -Name 'TraceLevel' -Value 2 -PropertyType DWord -Force
# User trace
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\Group Policy\{E62688F0-25FD-4c90-BFF5-F508B9D2E31F}' -Name 'TraceFilePathUser' -Value <value> -PropertyType ExpandString -Force
# Computer trace
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\Group Policy\{E62688F0-25FD-4c90-BFF5-F508B9D2E31F}' -Name 'TraceFilePathMachine' -Value <value> -PropertyType ExpandString -Force
# Planning trace
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\Group Policy\{E62688F0-25FD-4c90-BFF5-F508B9D2E31F}' -Name 'TraceFilePathPlanning' -Value <value> -PropertyType ExpandString -Force
# Maximum size of trace file (KB)
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\Group Policy\{E62688F0-25FD-4c90-BFF5-F508B9D2E31F}' -Name 'TraceFileMaxSize' -Value <value> -PropertyType DWord -Force

Group Policy or Intune is the supported way to set policies. Writing the same values directly works like a local policy and is removed by nothing: delete the values to return to "Not configured".

ADMX: GroupPolicyPreferencesLogging.admx · policy name CSE_PowerOptions_Logging

Configure Printers preference logging and tracing

Per machine Windows 11Windows Server 2025Windows Server 2022Windows Server 2019Windows Server 2016

Supported on: At least Windows Server 2003 operating systems or Windows XP Professional with SP2

When the GPO stops applying: Windows removes the value (it is under a Policies branch). How cleanup works

Registry keyHKLM\Software\Policies\Microsoft\Windows\Group Policy\{BC75B1ED-5833-4858-9BB8-CBF0B166DF9D}
OptionValueTypeAllowed values
Event loggingLogLevel3 (REG_DWORD) = Informational, Warnings and Errors
2 (REG_DWORD) = Warnings and Errors
1 (REG_DWORD) = Errors Only
0 (REG_DWORD) = None
TracingTraceLevel2 (REG_DWORD) = On
0 (REG_DWORD) = Off
User traceTraceFilePathUserREG_EXPAND_SZText
Computer traceTraceFilePathMachineREG_EXPAND_SZText
Planning traceTraceFilePathPlanningREG_EXPAND_SZText
Maximum size of trace file (KB)TraceFileMaxSizeREG_DWORDNumber 0 to 16384
What it does (vendor explanation)

This policy setting allows you to configure the level of detail recorded by event logging for the Printers preference extension, and to turn on tracing for the Printers extension. Logging and tracing provide diagnostic information for troubleshooting.

If you enable this policy setting, you can configure event logging and turn on tracing for the Printers extension for client computers.

If you disable or do not configure this policy setting, by default event logging for this extension includes only warnings and errors, and tracing for this extension is turned off.

Security caution: Secure the configured network share with minimum required permissions only. Do not use broad access (e.g., Any standard account or Everyone with Full Control), as this may result in unauthorized access to logging and tracing data

Notes:

1. User Configuration tracing: To perform tracing for items in this preference extension listed under User Configuration, you must provide a path in the "User trace" box to the location where a user trace file can be created on the client computer, and you must turn on the "Tracing" option. If there are no preference items under User Configuration in this extension, no user trace file is created.

2. Computer Configuration tracing: This preference extension is available under User Configuration only, so computer configuration tracing is not applicable.

3. Group Policy Modeling query tracing: To perform tracing for items in this preference extension when you perform a Group Policy Modeling query, you must provide a path in the "Planning trace" box to the location where a planning trace file can be created on the computer where you run modeling, and you must turn on the "Tracing" option. If you are not performing Group Policy Modeling or there are no preference items in this extension, no planning trace file is created.

Group Policy path: Computer Configuration > Administrative Templates > System > Group Policy > Logging and tracing > Configure Printers preference logging and tracing

PowerShell equivalent (generated from the template)
# Event logging
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\Group Policy\{BC75B1ED-5833-4858-9BB8-CBF0B166DF9D}' -Name 'LogLevel' -Value 3 -PropertyType DWord -Force
# Tracing
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\Group Policy\{BC75B1ED-5833-4858-9BB8-CBF0B166DF9D}' -Name 'TraceLevel' -Value 2 -PropertyType DWord -Force
# User trace
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\Group Policy\{BC75B1ED-5833-4858-9BB8-CBF0B166DF9D}' -Name 'TraceFilePathUser' -Value <value> -PropertyType ExpandString -Force
# Computer trace
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\Group Policy\{BC75B1ED-5833-4858-9BB8-CBF0B166DF9D}' -Name 'TraceFilePathMachine' -Value <value> -PropertyType ExpandString -Force
# Planning trace
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\Group Policy\{BC75B1ED-5833-4858-9BB8-CBF0B166DF9D}' -Name 'TraceFilePathPlanning' -Value <value> -PropertyType ExpandString -Force
# Maximum size of trace file (KB)
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\Group Policy\{BC75B1ED-5833-4858-9BB8-CBF0B166DF9D}' -Name 'TraceFileMaxSize' -Value <value> -PropertyType DWord -Force

Group Policy or Intune is the supported way to set policies. Writing the same values directly works like a local policy and is removed by nothing: delete the values to return to "Not configured".

ADMX: GroupPolicyPreferencesLogging.admx · policy name CSE_Printers_Logging

Configure Regional Options preference logging and tracing

Per machine Windows 11Windows Server 2025Windows Server 2022Windows Server 2019Windows Server 2016

Supported on: At least Windows Server 2003 operating systems or Windows XP Professional with SP2

When the GPO stops applying: Windows removes the value (it is under a Policies branch). How cleanup works

Registry keyHKLM\Software\Policies\Microsoft\Windows\Group Policy\{E5094040-C46C-4115-B030-04FB2E545B00}
OptionValueTypeAllowed values
Event loggingLogLevel3 (REG_DWORD) = Informational, Warnings and Errors
2 (REG_DWORD) = Warnings and Errors
1 (REG_DWORD) = Errors Only
0 (REG_DWORD) = None
TracingTraceLevel2 (REG_DWORD) = On
0 (REG_DWORD) = Off
User traceTraceFilePathUserREG_EXPAND_SZText
Computer traceTraceFilePathMachineREG_EXPAND_SZText
Planning traceTraceFilePathPlanningREG_EXPAND_SZText
Maximum size of trace file (KB)TraceFileMaxSizeREG_DWORDNumber 0 to 16384
What it does (vendor explanation)

This policy setting allows you to configure the level of detail recorded by event logging for the Regional Options preference extension, and to turn on tracing for the Regional Options extension. Logging and tracing provide diagnostic information for troubleshooting.

If you enable this policy setting, you can configure event logging and turn on tracing for the Regional Options extension for client computers.

If you disable or do not configure this policy setting, by default event logging for this extension includes only warnings and errors, and tracing for this extension is turned off.

Security caution: Secure the configured network share with minimum required permissions only. Do not use broad access (e.g., Any standard account or Everyone with Full Control), as this may result in unauthorized access to logging and tracing data

Notes:

1. User Configuration tracing: To perform tracing for items in this preference extension listed under User Configuration, you must provide a path in the "User trace" box to the location where a user trace file can be created on the client computer, and you must turn on the "Tracing" option. If there are no preference items under User Configuration in this extension, no user trace file is created.

2. Computer Configuration tracing: This preference extension is available under User Configuration only, so computer configuration tracing is not applicable.

3. Group Policy Modeling query tracing: To perform tracing for items in this preference extension when you perform a Group Policy Modeling query, you must provide a path in the "Planning trace" box to the location where a planning trace file can be created on the computer where you run modeling, and you must turn on the "Tracing" option. If you are not performing Group Policy Modeling or there are no preference items in this extension, no planning trace file is created.

Group Policy path: Computer Configuration > Administrative Templates > System > Group Policy > Logging and tracing > Configure Regional Options preference logging and tracing

PowerShell equivalent (generated from the template)
# Event logging
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\Group Policy\{E5094040-C46C-4115-B030-04FB2E545B00}' -Name 'LogLevel' -Value 3 -PropertyType DWord -Force
# Tracing
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\Group Policy\{E5094040-C46C-4115-B030-04FB2E545B00}' -Name 'TraceLevel' -Value 2 -PropertyType DWord -Force
# User trace
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\Group Policy\{E5094040-C46C-4115-B030-04FB2E545B00}' -Name 'TraceFilePathUser' -Value <value> -PropertyType ExpandString -Force
# Computer trace
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\Group Policy\{E5094040-C46C-4115-B030-04FB2E545B00}' -Name 'TraceFilePathMachine' -Value <value> -PropertyType ExpandString -Force
# Planning trace
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\Group Policy\{E5094040-C46C-4115-B030-04FB2E545B00}' -Name 'TraceFilePathPlanning' -Value <value> -PropertyType ExpandString -Force
# Maximum size of trace file (KB)
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\Group Policy\{E5094040-C46C-4115-B030-04FB2E545B00}' -Name 'TraceFileMaxSize' -Value <value> -PropertyType DWord -Force

Group Policy or Intune is the supported way to set policies. Writing the same values directly works like a local policy and is removed by nothing: delete the values to return to "Not configured".

ADMX: GroupPolicyPreferencesLogging.admx · policy name CSE_RegionalOptions_Logging

Configure Registry preference logging and tracing

Per machine Windows 11Windows Server 2025Windows Server 2022Windows Server 2019Windows Server 2016

Supported on: At least Windows Server 2003 operating systems or Windows XP Professional with SP2

When the GPO stops applying: Windows removes the value (it is under a Policies branch). How cleanup works

Registry keyHKLM\Software\Policies\Microsoft\Windows\Group Policy\{B087BE9D-ED37-454f-AF9C-04291E351182}
OptionValueTypeAllowed values
Event loggingLogLevel3 (REG_DWORD) = Informational, Warnings and Errors
2 (REG_DWORD) = Warnings and Errors
1 (REG_DWORD) = Errors Only
0 (REG_DWORD) = None
TracingTraceLevel2 (REG_DWORD) = On
0 (REG_DWORD) = Off
User traceTraceFilePathUserREG_EXPAND_SZText
Computer traceTraceFilePathMachineREG_EXPAND_SZText
Planning traceTraceFilePathPlanningREG_EXPAND_SZText
Maximum size of trace file (KB)TraceFileMaxSizeREG_DWORDNumber 0 to 16384
What it does (vendor explanation)

This policy setting allows you to configure the level of detail recorded by event logging for the Registry preference extension, and to turn on tracing for the Registry extension. Logging and tracing provide diagnostic information for troubleshooting.

If you enable this policy setting, you can configure event logging and turn on tracing for the Registry extension for client computers.

If you disable or do not configure this policy setting, by default event logging for this extension includes only warnings and errors, and tracing for this extension is turned off.

Security caution: Secure the configured network share with minimum required permissions only. Do not use broad access (e.g., Any standard account or Everyone with Full Control), as this may result in unauthorized access to logging and tracing data

Notes:

1. User Configuration tracing: To perform tracing for items in this preference extension listed under User Configuration, you must provide a path in the "User trace" box to the location where a user trace file can be created on the client computer, and you must turn on the "Tracing" option. If there are no preference items under User Configuration in this extension, no user trace file is created.

2. Computer Configuration tracing: This preference extension is available under User Configuration only, so computer configuration tracing is not applicable.

3. Group Policy Modeling query tracing: To perform tracing for items in this preference extension when you perform a Group Policy Modeling query, you must provide a path in the "Planning trace" box to the location where a planning trace file can be created on the computer where you run modeling, and you must turn on the "Tracing" option. If you are not performing Group Policy Modeling or there are no preference items in this extension, no planning trace file is created.

Group Policy path: Computer Configuration > Administrative Templates > System > Group Policy > Logging and tracing > Configure Registry preference logging and tracing

PowerShell equivalent (generated from the template)
# Event logging
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\Group Policy\{B087BE9D-ED37-454f-AF9C-04291E351182}' -Name 'LogLevel' -Value 3 -PropertyType DWord -Force
# Tracing
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\Group Policy\{B087BE9D-ED37-454f-AF9C-04291E351182}' -Name 'TraceLevel' -Value 2 -PropertyType DWord -Force
# User trace
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\Group Policy\{B087BE9D-ED37-454f-AF9C-04291E351182}' -Name 'TraceFilePathUser' -Value <value> -PropertyType ExpandString -Force
# Computer trace
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\Group Policy\{B087BE9D-ED37-454f-AF9C-04291E351182}' -Name 'TraceFilePathMachine' -Value <value> -PropertyType ExpandString -Force
# Planning trace
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\Group Policy\{B087BE9D-ED37-454f-AF9C-04291E351182}' -Name 'TraceFilePathPlanning' -Value <value> -PropertyType ExpandString -Force
# Maximum size of trace file (KB)
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\Group Policy\{B087BE9D-ED37-454f-AF9C-04291E351182}' -Name 'TraceFileMaxSize' -Value <value> -PropertyType DWord -Force

Group Policy or Intune is the supported way to set policies. Writing the same values directly works like a local policy and is removed by nothing: delete the values to return to "Not configured".

ADMX: GroupPolicyPreferencesLogging.admx · policy name CSE_PrefRegistry_Logging

Configure Scheduled Tasks preference logging and tracing

Per machine Windows 11Windows Server 2025Windows Server 2022Windows Server 2019Windows Server 2016

Supported on: At least Windows Server 2003 operating systems or Windows XP Professional with SP2

When the GPO stops applying: Windows removes the value (it is under a Policies branch). How cleanup works

Registry keyHKLM\Software\Policies\Microsoft\Windows\Group Policy\{AADCED64-746C-4633-A97C-D61349046527}
OptionValueTypeAllowed values
Event loggingLogLevel3 (REG_DWORD) = Informational, Warnings and Errors
2 (REG_DWORD) = Warnings and Errors
1 (REG_DWORD) = Errors Only
0 (REG_DWORD) = None
TracingTraceLevel2 (REG_DWORD) = On
0 (REG_DWORD) = Off
User traceTraceFilePathUserREG_EXPAND_SZText
Computer traceTraceFilePathMachineREG_EXPAND_SZText
Planning traceTraceFilePathPlanningREG_EXPAND_SZText
Maximum size of trace file (KB)TraceFileMaxSizeREG_DWORDNumber 0 to 16384
What it does (vendor explanation)

This policy setting allows you to configure the level of detail recorded by event logging for the Scheduled Tasks preference extension, and to turn on tracing for the Scheduled Tasks extension. Logging and tracing provide diagnostic information for troubleshooting.

If you enable this policy setting, you can configure event logging and turn on tracing for the Scheduled Tasks extension for client computers.

If you disable or do not configure this policy setting, by default event logging for this extension includes only warnings and errors, and tracing for this extension is turned off.

Security caution: Secure the configured network share with minimum required permissions only. Do not use broad access (e.g., Any standard account or Everyone with Full Control), as this may result in unauthorized access to logging and tracing data

Notes:

1. User Configuration tracing: To perform tracing for items in this preference extension listed under User Configuration, you must provide a path in the "User trace" box to the location where a user trace file can be created on the client computer, and you must turn on the "Tracing" option. If there are no preference items under User Configuration in this extension, no user trace file is created.

2. Computer Configuration tracing: This preference extension is available under User Configuration only, so computer configuration tracing is not applicable.

3. Group Policy Modeling query tracing: To perform tracing for items in this preference extension when you perform a Group Policy Modeling query, you must provide a path in the "Planning trace" box to the location where a planning trace file can be created on the computer where you run modeling, and you must turn on the "Tracing" option. If you are not performing Group Policy Modeling or there are no preference items in this extension, no planning trace file is created.

Group Policy path: Computer Configuration > Administrative Templates > System > Group Policy > Logging and tracing > Configure Scheduled Tasks preference logging and tracing

PowerShell equivalent (generated from the template)
# Event logging
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\Group Policy\{AADCED64-746C-4633-A97C-D61349046527}' -Name 'LogLevel' -Value 3 -PropertyType DWord -Force
# Tracing
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\Group Policy\{AADCED64-746C-4633-A97C-D61349046527}' -Name 'TraceLevel' -Value 2 -PropertyType DWord -Force
# User trace
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\Group Policy\{AADCED64-746C-4633-A97C-D61349046527}' -Name 'TraceFilePathUser' -Value <value> -PropertyType ExpandString -Force
# Computer trace
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\Group Policy\{AADCED64-746C-4633-A97C-D61349046527}' -Name 'TraceFilePathMachine' -Value <value> -PropertyType ExpandString -Force
# Planning trace
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\Group Policy\{AADCED64-746C-4633-A97C-D61349046527}' -Name 'TraceFilePathPlanning' -Value <value> -PropertyType ExpandString -Force
# Maximum size of trace file (KB)
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\Group Policy\{AADCED64-746C-4633-A97C-D61349046527}' -Name 'TraceFileMaxSize' -Value <value> -PropertyType DWord -Force

Group Policy or Intune is the supported way to set policies. Writing the same values directly works like a local policy and is removed by nothing: delete the values to return to "Not configured".

ADMX: GroupPolicyPreferencesLogging.admx · policy name CSE_ScheduledTasks_Logging

Configure Services preference logging and tracing

Per machine Windows 11Windows Server 2025Windows Server 2022Windows Server 2019Windows Server 2016

Supported on: At least Windows Server 2003 operating systems or Windows XP Professional with SP2

When the GPO stops applying: Windows removes the value (it is under a Policies branch). How cleanup works

Registry keyHKLM\Software\Policies\Microsoft\Windows\Group Policy\{91FBB303-0CD5-4055-BF42-E512A681B325}
OptionValueTypeAllowed values
Event loggingLogLevel3 (REG_DWORD) = Informational, Warnings and Errors
2 (REG_DWORD) = Warnings and Errors
1 (REG_DWORD) = Errors Only
0 (REG_DWORD) = None
TracingTraceLevel2 (REG_DWORD) = On
0 (REG_DWORD) = Off
User traceTraceFilePathUserREG_EXPAND_SZText
Computer traceTraceFilePathMachineREG_EXPAND_SZText
Planning traceTraceFilePathPlanningREG_EXPAND_SZText
Maximum size of trace file (KB)TraceFileMaxSizeREG_DWORDNumber 0 to 16384
What it does (vendor explanation)

This policy setting allows you to configure the level of detail recorded by event logging for the Services preference extension, and to turn on tracing for the Services extension. Logging and tracing provide diagnostic information for troubleshooting.

If you enable this policy setting, you can configure event logging and turn on tracing for the Services extension for client computers.

If you disable or do not configure this policy setting, by default event logging for this extension includes only warnings and errors, and tracing for this extension is turned off.

Security caution: Secure the configured network share with minimum required permissions only. Do not use broad access (e.g., Any standard account or Everyone with Full Control), as this may result in unauthorized access to logging and tracing data

Notes:

1. User Configuration tracing: To perform tracing for items in this preference extension listed under User Configuration, you must provide a path in the "User trace" box to the location where a user trace file can be created on the client computer, and you must turn on the "Tracing" option. If there are no preference items under User Configuration in this extension, no user trace file is created.

2. Computer Configuration tracing: This preference extension is available under User Configuration only, so computer configuration tracing is not applicable.

3. Group Policy Modeling query tracing: To perform tracing for items in this preference extension when you perform a Group Policy Modeling query, you must provide a path in the "Planning trace" box to the location where a planning trace file can be created on the computer where you run modeling, and you must turn on the "Tracing" option. If you are not performing Group Policy Modeling or there are no preference items in this extension, no planning trace file is created.

Group Policy path: Computer Configuration > Administrative Templates > System > Group Policy > Logging and tracing > Configure Services preference logging and tracing

PowerShell equivalent (generated from the template)
# Event logging
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\Group Policy\{91FBB303-0CD5-4055-BF42-E512A681B325}' -Name 'LogLevel' -Value 3 -PropertyType DWord -Force
# Tracing
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\Group Policy\{91FBB303-0CD5-4055-BF42-E512A681B325}' -Name 'TraceLevel' -Value 2 -PropertyType DWord -Force
# User trace
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\Group Policy\{91FBB303-0CD5-4055-BF42-E512A681B325}' -Name 'TraceFilePathUser' -Value <value> -PropertyType ExpandString -Force
# Computer trace
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\Group Policy\{91FBB303-0CD5-4055-BF42-E512A681B325}' -Name 'TraceFilePathMachine' -Value <value> -PropertyType ExpandString -Force
# Planning trace
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\Group Policy\{91FBB303-0CD5-4055-BF42-E512A681B325}' -Name 'TraceFilePathPlanning' -Value <value> -PropertyType ExpandString -Force
# Maximum size of trace file (KB)
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\Group Policy\{91FBB303-0CD5-4055-BF42-E512A681B325}' -Name 'TraceFileMaxSize' -Value <value> -PropertyType DWord -Force

Group Policy or Intune is the supported way to set policies. Writing the same values directly works like a local policy and is removed by nothing: delete the values to return to "Not configured".

ADMX: GroupPolicyPreferencesLogging.admx · policy name CSE_Services_Logging

Configure Shortcuts preference logging and tracing

Per machine Windows 11Windows Server 2025Windows Server 2022Windows Server 2019Windows Server 2016

Supported on: At least Windows Server 2003 operating systems or Windows XP Professional with SP2

When the GPO stops applying: Windows removes the value (it is under a Policies branch). How cleanup works

Registry keyHKLM\Software\Policies\Microsoft\Windows\Group Policy\{C418DD9D-0D14-4efb-8FBF-CFE535C8FAC7}
OptionValueTypeAllowed values
Event loggingLogLevel3 (REG_DWORD) = Informational, Warnings and Errors
2 (REG_DWORD) = Warnings and Errors
1 (REG_DWORD) = Errors Only
0 (REG_DWORD) = None
TracingTraceLevel2 (REG_DWORD) = On
0 (REG_DWORD) = Off
User traceTraceFilePathUserREG_EXPAND_SZText
Computer traceTraceFilePathMachineREG_EXPAND_SZText
Planning traceTraceFilePathPlanningREG_EXPAND_SZText
Maximum size of trace file (KB)TraceFileMaxSizeREG_DWORDNumber 0 to 16384
What it does (vendor explanation)

This policy setting allows you to configure the level of detail recorded by event logging for the Shortcuts preference extension, and to turn on tracing for the Shortcuts extension. Logging and tracing provide diagnostic information for troubleshooting.

If you enable this policy setting, you can configure event logging and turn on tracing for the Shortcuts extension for client computers.

If you disable or do not configure this policy setting, by default event logging for this extension includes only warnings and errors, and tracing for this extension is turned off.

Security caution: Secure the configured network share with minimum required permissions only. Do not use broad access (e.g., Any standard account or Everyone with Full Control), as this may result in unauthorized access to logging and tracing data

Notes:

1. User Configuration tracing: To perform tracing for items in this preference extension listed under User Configuration, you must provide a path in the "User trace" box to the location where a user trace file can be created on the client computer, and you must turn on the "Tracing" option. If there are no preference items under User Configuration in this extension, no user trace file is created.

2. Computer Configuration tracing: This preference extension is available under User Configuration only, so computer configuration tracing is not applicable.

3. Group Policy Modeling query tracing: To perform tracing for items in this preference extension when you perform a Group Policy Modeling query, you must provide a path in the "Planning trace" box to the location where a planning trace file can be created on the computer where you run modeling, and you must turn on the "Tracing" option. If you are not performing Group Policy Modeling or there are no preference items in this extension, no planning trace file is created.

Group Policy path: Computer Configuration > Administrative Templates > System > Group Policy > Logging and tracing > Configure Shortcuts preference logging and tracing

PowerShell equivalent (generated from the template)
# Event logging
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\Group Policy\{C418DD9D-0D14-4efb-8FBF-CFE535C8FAC7}' -Name 'LogLevel' -Value 3 -PropertyType DWord -Force
# Tracing
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\Group Policy\{C418DD9D-0D14-4efb-8FBF-CFE535C8FAC7}' -Name 'TraceLevel' -Value 2 -PropertyType DWord -Force
# User trace
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\Group Policy\{C418DD9D-0D14-4efb-8FBF-CFE535C8FAC7}' -Name 'TraceFilePathUser' -Value <value> -PropertyType ExpandString -Force
# Computer trace
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\Group Policy\{C418DD9D-0D14-4efb-8FBF-CFE535C8FAC7}' -Name 'TraceFilePathMachine' -Value <value> -PropertyType ExpandString -Force
# Planning trace
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\Group Policy\{C418DD9D-0D14-4efb-8FBF-CFE535C8FAC7}' -Name 'TraceFilePathPlanning' -Value <value> -PropertyType ExpandString -Force
# Maximum size of trace file (KB)
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\Group Policy\{C418DD9D-0D14-4efb-8FBF-CFE535C8FAC7}' -Name 'TraceFileMaxSize' -Value <value> -PropertyType DWord -Force

Group Policy or Intune is the supported way to set policies. Writing the same values directly works like a local policy and is removed by nothing: delete the values to return to "Not configured".

ADMX: GroupPolicyPreferencesLogging.admx · policy name CSE_Shortcuts_Logging

Configure Start Menu preference logging and tracing

Per machine Windows 11Windows Server 2025Windows Server 2022Windows Server 2019Windows Server 2016

Supported on: At least Windows Server 2003 operating systems or Windows XP Professional with SP2

When the GPO stops applying: Windows removes the value (it is under a Policies branch). How cleanup works

Registry keyHKLM\Software\Policies\Microsoft\Windows\Group Policy\{E4F48E54-F38D-4884-BFB9-D4D2E5729C18}
OptionValueTypeAllowed values
Event loggingLogLevel3 (REG_DWORD) = Informational, Warnings and Errors
2 (REG_DWORD) = Warnings and Errors
1 (REG_DWORD) = Errors Only
0 (REG_DWORD) = None
TracingTraceLevel2 (REG_DWORD) = On
0 (REG_DWORD) = Off
User traceTraceFilePathUserREG_EXPAND_SZText
Planning traceTraceFilePathPlanningREG_EXPAND_SZText
Maximum size of trace file (KB)TraceFileMaxSizeREG_DWORDNumber 0 to 16384
What it does (vendor explanation)

This policy setting allows you to configure the level of detail recorded by event logging for the Start Menu preference extension, and to turn on tracing for the Start Menu extension. Logging and tracing provide diagnostic information for troubleshooting.

If you enable this policy setting, you can configure event logging and turn on tracing for the Start Menu extension for client computers.

If you disable or do not configure this policy setting, by default event logging for this extension includes only warnings and errors, and tracing for this extension is turned off.

Security caution: Secure the configured network share with minimum required permissions only. Do not use broad access (e.g., Any standard account or Everyone with Full Control), as this may result in unauthorized access to logging and tracing data

Notes:

1. User Configuration tracing: To perform tracing for items in this preference extension listed under User Configuration, you must provide a path in the "User trace" box to the location where a user trace file can be created on the client computer, and you must turn on the "Tracing" option. If there are no preference items under User Configuration in this extension, no user trace file is created.

2. Computer Configuration tracing: This preference extension is available under User Configuration only, so computer configuration tracing is not applicable.

3. Group Policy Modeling query tracing: To perform tracing for items in this preference extension when you perform a Group Policy Modeling query, you must provide a path in the "Planning trace" box to the location where a planning trace file can be created on the computer where you run modeling, and you must turn on the "Tracing" option. If you are not performing Group Policy Modeling or there are no preference items in this extension, no planning trace file is created.

Group Policy path: Computer Configuration > Administrative Templates > System > Group Policy > Logging and tracing > Configure Start Menu preference logging and tracing

PowerShell equivalent (generated from the template)
# Event logging
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\Group Policy\{E4F48E54-F38D-4884-BFB9-D4D2E5729C18}' -Name 'LogLevel' -Value 3 -PropertyType DWord -Force
# Tracing
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\Group Policy\{E4F48E54-F38D-4884-BFB9-D4D2E5729C18}' -Name 'TraceLevel' -Value 2 -PropertyType DWord -Force
# User trace
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\Group Policy\{E4F48E54-F38D-4884-BFB9-D4D2E5729C18}' -Name 'TraceFilePathUser' -Value <value> -PropertyType ExpandString -Force
# Planning trace
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\Group Policy\{E4F48E54-F38D-4884-BFB9-D4D2E5729C18}' -Name 'TraceFilePathPlanning' -Value <value> -PropertyType ExpandString -Force
# Maximum size of trace file (KB)
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\Group Policy\{E4F48E54-F38D-4884-BFB9-D4D2E5729C18}' -Name 'TraceFileMaxSize' -Value <value> -PropertyType DWord -Force

Group Policy or Intune is the supported way to set policies. Writing the same values directly works like a local policy and is removed by nothing: delete the values to return to "Not configured".

ADMX: GroupPolicyPreferencesLogging.admx · policy name CSE_StartMenu_Logging