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).

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.


previous-buttonnext-button

One thought on “Powershell Tip #100: Configure the netlogon.log size

  1. Pingback: Powershell Tip #101: Run a command from the history | Powershell Guru

Leave a Reply

Your email address will not be published. Required fields are marked *