Configure Files preference logging and tracing

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.

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.

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

Event logging


  1. Informational, Warnings and Errors
    Registry HiveHKEY_LOCAL_MACHINE
    Registry PathSoftware\Policies\Microsoft\Windows\Group Policy\{7150F9BF-48AD-4da4-A49C-29EF4A8369BA}
    Value NameLogLevel
    Value TypeREG_DWORD
    Value3
  2. Warnings and Errors
    Registry HiveHKEY_LOCAL_MACHINE
    Registry PathSoftware\Policies\Microsoft\Windows\Group Policy\{7150F9BF-48AD-4da4-A49C-29EF4A8369BA}
    Value NameLogLevel
    Value TypeREG_DWORD
    Value2
  3. Errors Only
    Registry HiveHKEY_LOCAL_MACHINE
    Registry PathSoftware\Policies\Microsoft\Windows\Group Policy\{7150F9BF-48AD-4da4-A49C-29EF4A8369BA}
    Value NameLogLevel
    Value TypeREG_DWORD
    Value1
  4. None
    Registry HiveHKEY_LOCAL_MACHINE
    Registry PathSoftware\Policies\Microsoft\Windows\Group Policy\{7150F9BF-48AD-4da4-A49C-29EF4A8369BA}
    Value NameLogLevel
    Value TypeREG_DWORD
    Value0

Tracing


  1. On
    Registry HiveHKEY_LOCAL_MACHINE
    Registry PathSoftware\Policies\Microsoft\Windows\Group Policy\{7150F9BF-48AD-4da4-A49C-29EF4A8369BA}
    Value NameTraceLevel
    Value TypeREG_DWORD
    Value2
  2. Off
    Registry HiveHKEY_LOCAL_MACHINE
    Registry PathSoftware\Policies\Microsoft\Windows\Group Policy\{7150F9BF-48AD-4da4-A49C-29EF4A8369BA}
    Value NameTraceLevel
    Value TypeREG_DWORD
    Value0

User trace

Registry HiveHKEY_LOCAL_MACHINE
Registry PathSoftware\Policies\Microsoft\Windows\Group Policy\{7150F9BF-48AD-4da4-A49C-29EF4A8369BA}
Value NameTraceFilePathUser
Value TypeREG_EXPAND_SZ
Default Value%COMMONAPPDATA%\GroupPolicy\Preference\Trace\User.log
Computer trace

Registry HiveHKEY_LOCAL_MACHINE
Registry PathSoftware\Policies\Microsoft\Windows\Group Policy\{7150F9BF-48AD-4da4-A49C-29EF4A8369BA}
Value NameTraceFilePathMachine
Value TypeREG_EXPAND_SZ
Default Value%COMMONAPPDATA%\GroupPolicy\Preference\Trace\Computer.log
Planning trace

Registry HiveHKEY_LOCAL_MACHINE
Registry PathSoftware\Policies\Microsoft\Windows\Group Policy\{7150F9BF-48AD-4da4-A49C-29EF4A8369BA}
Value NameTraceFilePathPlanning
Value TypeREG_EXPAND_SZ
Default Value%COMMONAPPDATA%\GroupPolicy\Preference\Trace\Planning.log
Maximum size of trace file (KB)

Registry HiveHKEY_LOCAL_MACHINE
Registry PathSoftware\Policies\Microsoft\Windows\Group Policy\{7150F9BF-48AD-4da4-A49C-29EF4A8369BA}
Value NameTraceFileMaxSize
Value TypeREG_DWORD
Default Value1024
Min Value
Max Value16384

grouppolicypreferences.admx

Administrative Templates (Computers)

Administrative Templates (Users)