0X000019DC: Log Policy Not Installed – Real Fix
This error hits when Windows can't find a log policy during event logging or backup. It's usually a missing registry key or corrupted policy file.
When This Error Shows Up
You'll see ERROR_LOG_POLICY_NOT_INSTALLED (0X000019DC) in two specific places. First, in the Windows Event Viewer under "System" logs – often after a failed backup or audit policy change. Second, in the command output when running wevtutil or auditpol commands. The exact message says: "The log policy in question was not installed at the time of the request." This happens most on Windows Server 2016 and 2019 after a group policy update or a security template import that didn't complete properly.
Root Cause in Plain English
Windows keeps log policies (like auditing rules and event log sizes) in two places: the registry under HKLM\SYSTEM\CurrentControlSet\Services\EventLog\ and in policy files under %SystemRoot%\System32\GroupPolicy\. When a policy gets corrupted or the registry key goes missing – often after a failed Windows update or a botched security template apply – Windows can't find the policy it's supposed to use. The result? This error. It's not a hardware problem. It's a configuration file that's gone sideways.
The Fix: Step by Step
You'll need administrative rights for all steps. Make sure you're logged in as an admin.
Step 1: Check the Registry Key
- Press Win + R, type
regedit, hit Enter. - Navigate to:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\EventLog\Security - Look for a value named
File. It should be%SystemRoot%\System32\Winevt\Logs\Security.evtx. - If that key is missing or the path is wrong, that's your problem.
After you check, close Registry Editor – don't change anything yet.
Step 2: Run a System File Check
- Open Command Prompt as Administrator: right-click Start, choose "Command Prompt (Admin)" or "Windows Terminal (Admin)".
- Type
sfc /scannowand press Enter. - Wait for it to finish – it scans all protected system files. This can take 10-15 minutes.
- If it finds corrupt files, it will replace them automatically. You'll see a message like "Windows Resource Protection found corrupt files and successfully repaired them."
After that, restart your computer. Open Event Viewer and check if the error's gone. If not, move to step 3.
Step 3: Re-register the Event Log Service
- Open Command Prompt as Administrator again.
- Run these commands one at a time, pressing Enter after each:
- Then re-install the manifests:
- You should see "Successfully installed" for each manifest.
wevtutil um %SystemRoot%\System32\Winevt\Setup\Application.man
wevtutil um %SystemRoot%\System32\Winevt\Setup\Security.man
wevtutil um %SystemRoot%\System32\Winevt\Setup\Setup.man
wevtutil um %SystemRoot%\System32\Winevt\Setup\System.man
wevtutil im %SystemRoot%\System32\Winevt\Setup\Application.man
wevtutil im %SystemRoot%\System32\Winevt\Setup\Security.man
wevtutil im %SystemRoot%\System32\Winevt\Setup\Setup.man
wevtutil im %SystemRoot%\System32\Winevt\Setup\System.man
After this, restart the Event Log service: open Services.msc, find "Windows Event Log", right-click, choose Restart. Then test with wevtutil gl security – it should show the policy config without errors.
Step 4: Restore Group Policy Log Settings (If Step 3 Fails)
- Open Group Policy Management Console: type
gpmc.mscin Run. - Find the GPO that applies to your machine (usually Default Domain Policy or a custom one).
- Right-click it, choose Edit.
- Go to: Computer Configuration > Policies > Windows Settings > Security Settings > Event Log.
- Double-click each setting (like "Maximum log size for Security") and set it to a valid value. For Security log, I'd set it to 32768 KB (32 MB) as a safe start.
- Click OK, then run
gpupdate /forcein Command Prompt.
After the update, check Event Viewer. This forces Windows to reapply the policy.
Step 5: If Still Broken – Manual Registry Repair
Only do this if nothing else worked. It's the nuclear option.
- Open Registry Editor as Admin.
- Navigate to
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\EventLog\Security. - Right-click the Security key, choose Export to back it up.
- Delete the Security key entirely. Yes, delete it.
- Now run
sc config eventlog start= autoin Command Prompt (Admin). - Restart the computer. Windows will recreate the Security key with default values on boot.
After reboot, open Event Viewer. The error should be gone. Your existing Security log history will be lost, but that's better than a broken system.
If It Still Fails
Three things to check. First, make sure your system isn't infected – run a full scan with Windows Defender or Malwarebytes. Some malware wipes event log policies to hide themselves. Second, check if you have any third-party audit software (like Splunk or SolarWinds) that might have changed the policy. Disable it temporarily. Third, look at the Windows Update history. If the error started after a specific KB update, uninstall it via Control Panel > Programs > Installed Updates. Reboot, and see if that resolves it. If none of this works, you're looking at a repair install of Windows – boot from installation media and choose "Repair your computer." That keeps your files but resets system components.
Was this solution helpful?