Specify maximum log file size
Jump to overview

Policy overview

Key metadata and intent for this policy.

Computer
Category
System > Net Logon
Supported on
At least Windows Server 2003

Supported OS tags: Windows10, Windows10RT, Windows11, Windows7, Windows8, Windows81, WindowsRT, WindowsRT81, WindowsServer2003, WindowsServer2008, WindowsServer2012, WindowsServer2012R2, WindowsServer2016, WindowsVista

This policy setting specifies the maximum size in bytes of the log file netlogon.log in the directory %windir%\debug when logging is enabled. By default, the maximum size of the log file is 20MB. If you enable this policy setting, the maximum size of the log file is set to the specified size. Once this size is reached the log file is saved to netlogon.bak and netlogon.log is truncated. A reasonable value based on available storage should be specified. If you disable or do not configure this policy setting, the default behavior occurs as indicated above.

Internal name
Netlogon_MaximumLogFileSize
Policy ID
c21d977bd4e6
Elements
1

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.

ScopeElementTypeRegistry mappingConstraints & behaviorCopy
Computer
Bytes:
ID Netlogon_MaximumLogFileSizeLabel
decimal
Path
Software\Policies\Microsoft\Netlogon\Parameters
Value name
MaximumLogFileSize
Type
REG_DWORD
Range: ? to 4294967295
Bytes:
Computer · Type decimal
Registry mapping
Path
Software\Policies\Microsoft\Netlogon\Parameters
Value name
MaximumLogFileSize
Type
REG_DWORD
Details
Range: ? to 4294967295