How to enable DHCP server logging ?

Enable DHCP server logging

1/ Start the DHCP MMC
2/ Select “properties” on your DHCP Server
3/ And select “Enable DHCP audit logging” checkbox

dhcp

Now, you can browse %systemroot%\system32\dhcp directory.
A new file is created : DhcpSrvLog-XXX.log

example : DhcpSrvLog-Thu.log, DhcpSrvLog-Wed.log, …

You can also enable by PowerShell :

Set-DhcpServerAuditLog -Enable True -Path "C:\Windows\System32\dhcp" -MaxMBFileSize 50
About Nicolas 282 Articles
I work as an IT Production Manager, based in Paris (France) with a primary focus on Microsoft technologies. I have 10 years experience in administering Windows Servers. . I am a Microsoft MVP for Cloud & Datacenter Management. I also received the PowerShell Hero 2016 award by PowerShell.0rg. And finally, I am "MCSE: Cloud Platform and Infrastructure", "MCSA: Windows Servers", "Administering & Deploying SCCM", and CheckPoint CCSA certified.