Tip: You can set the netlogon.log size, for example to 1GB (1073741824 bytes).
1 |
New-ItemProperty -Path 'HKLM:\SYSTEM\CurrentControlSet\Services\Netlogon\Parameters' -Name MaximumLogFileSize -Type DWORD -Value 1073741824 |
Reminder
To enable : Nltest /DBFlag:2080FFFF
To disable : Nltest /DBFlag:0x0
Note1: By default, the maximum size of the C:\Windows\debug\Netlogon.log file is 20 MB.
When the file reaches 20 MB, it’s renamed to Netlogon.bak, and a new Netlogon.log file is created.