If you want to enable or disable debug logging for Netlogon service on Windows 10, this post provides a detailed guide. MiniTool software, a top software provider, releases data recovery software, disk partition manager, system backup and restore, and more for users.

This post introduces how to enable or disable debug logging for Netlogon service on Windows 10. Netlogon is a Windows Server service. It can authenticate users and other services in a domain. This service can monitor and troubleshoot authentication, account lockout and other domain-related problems. Netlogon is a service running in the background unless it is manually stopped.

If the Netlogon service is unexpectedly stopped, then many Windows Server functions may be affected. Users cannot log into their accounts.

You can learn below how to enable debug logging for Netlogon service on Windows 10.

Method 1. Enable or Disable Debug Logging with CMD

Step 1. Open elevated Command Prompt on Windows 10. You can press Windows + R, type cmd, and press Ctrl + Shift + Enter to run CMD as administrator.

Step 2. Copy and paste the command line Nltest /DBFlag:2080FFFF in Command Prompt window, and press Enter to enable debug logging for Netlogon service.

If you want to disable debug logging for Netlogon service, you can open elevated Command Prompt again, and type the command line Nltest /DBFlag:0x0, and press Enter.

enable or disable debug logging with CMD

Method 2. Enable or Disable Debug Logging via Registry

You can also enable or disable debug logging for Netlogon service by modifying the registry. But before you edit Windows registry, it’s advised that you back up registry first or back up Windows system in case something goes wrong and make your system crash.

Step 1. Open Registry Editor in Windows 10. You can press Windows + R, type regedit, and press Enter to open it.

Step 2. Next click as the following path to locate the target registry key: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Netlogon\Parameters\DBFlag.

Step 3. If you can find a DBFlag key, delete the Reg_SZ value of the registry key. Then create a REG_DWORD value with a name DBFlag, and set it value data as 2080FFFF hexadecimal value. This will enable debug logging for Netlogon service. If you want to disable debug logging for Netlogon service later, you can get into Registry Editor again, and change the DBFlag key Value data to 0x0.

Bottom Line

You can try the 2 ways above to enable or disable debug logging for Netlogon service on Windows 10.

If your computer has problems and some important data gets lost, you can use MiniTool Power Data Recovery to easily restore lost data.

MiniTool Power Data Recovery is a professional data recovery program for Windows 10. You can use this data recovery tool to recover deleted/lost data from Windows computer (incl. crashed PC), external hard drive, SSD, USB flash drive, SD card, memory card, and more. This tool is 100% clean and extremely easy-to-use. Even novice users can operate it with ease.

Computer can sometime crashes and you can’t access data on it. Therefore, to keep you data safe, it’s recommended that you regularly back up your Windows system as well as the important data. If something goes wrong, you can easily restore your Windows system and data.

MiniTool ShadowMaker is a professional PC backup software, aiming to help users easily back up Windows OS and data on it. With the extremely simple operation, you can use this tool to easily create a backup image of your Windows system and restore your computer if your computer meet problems.

  • linkedin
  • reddit