Tag: event logs

Back Up and Clear Windows Event Logs with Perl

Years ago, I combined and modified several pieces of Perl code to create a Windows Event Log backup utility. The original version was based partly on an Event Log script included with some Windows Perl distributions. This version can: Back up Windows Event Logs to the C:, D:, or E: drive. List the fixed drives available on the computer. Create…

Read More »

How to remove the DnsEvent, NTDS, and NtFrs event logs on DC

How to remove the DnsEvent, NTDS, and NtFrs event logs from Demoted Domain Controller. It is not possible to delete event logs while EVentLog service is running, and the EventLog service cannot be stopped. You can use the following procedure to locally remove the subject event logs: 1. Start->Run->CMD, press ENTER 2. Type REG ADD \\DemotedDC\HKLM\SYSTEM\CurrentControlSet\Services\Eventlog /V Start /T REG_DWORD…

Read More »