Powershell Tip #100: Configure the netlogon.log size

By | April 27, 2016

Tip: You can set the netlogon.log size, for example to 1GB (1073741824 bytes).


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.


Leave a Reply

Your email address will not be published.