Policy
Configure Devices preference logging and tracing
Microsoft Windows
Policy overview
Key metadata and intent for this policy.
Supported OS tags: Windows10, Windows10RT, Windows11, Windows7, Windows8, Windows81, WindowsRT, WindowsRT81, WindowsServer2003, WindowsServer2008, WindowsServer2012, WindowsServer2012R2, WindowsServer2016, WindowsVista, WindowsXP
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. 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.
Registry values
How enabled and disabled states update the registry.
No explicit registry values are set for enabled or disabled states.
Policy elements
Inputs and configuration options exposed by this policy.
| Scope | Element | Type | Registry mapping | Constraints & behavior | Copy |
|---|---|---|---|---|---|
| Computer | User trace ID CSE_TRACEFILEPATHUSER | text | Path Software\Policies\Microsoft\Windows\Group Policy\{1A6364EB-776B-4120-ADE1-B63A406A76B5} Value name TraceFilePathUser Type REG_SZ | None | |
| Computer | Computer trace ID CSE_TRACEFILEPATHMACHINE | text | Path Software\Policies\Microsoft\Windows\Group Policy\{1A6364EB-776B-4120-ADE1-B63A406A76B5} Value name TraceFilePathMachine Type REG_SZ | None | |
| Computer | Planning trace ID CSE_TRACEFILEPATHPLANNING | text | Path Software\Policies\Microsoft\Windows\Group Policy\{1A6364EB-776B-4120-ADE1-B63A406A76B5} Value name TraceFilePathPlanning Type REG_SZ | None | |
| Computer | Maximum size of trace file (KB) ID CSE_TRACEFILEMAXSIZE | decimal | Path Software\Policies\Microsoft\Windows\Group Policy\{1A6364EB-776B-4120-ADE1-B63A406A76B5} Value name TraceFileMaxSize Type REG_DWORD | Range: ? to 16384 | |
| Computer | Event logging ID CSE_LOGLEVEL | enum | Path Software\Policies\Microsoft\Windows\Group Policy\{1A6364EB-776B-4120-ADE1-B63A406A76B5} Value name LogLevel Type REG_DWORD | Options: Informational, Warnings and Errors (3), Warnings and Errors (2), Errors Only (1), None (0) | |
| Computer | Tracing ID CSE_TRACELEVEL | enum | Path Software\Policies\Microsoft\Windows\Group Policy\{1A6364EB-776B-4120-ADE1-B63A406A76B5} Value name TraceLevel Type REG_DWORD | Options: On (2), Off (0) |