The error
"command enum-log is not supported" points to syntax or compatibility issues. Since the command
wevtutil enum-log is part of Windows' event logging utilities, this issue may occur if the tool isn’t functioning as expected or due to a PowerShell or
wevtutil version mismatch.
Let’s address this error first and adjust our approach to diagnose and resolve your Event Viewer channel issues properly.
Step 1: Test a Different Command Syntax
Verify if
wevtutil works and the issue is with the syntax or specific commands:
- Run this basic
wevtutil command to ensure the tool is functional:
- This should list all available event logs on the server.
- If it’s successful, proceed to step 2.
- If
el works and the enum-log command doesn’t, adjust the syntax:
Code:
bash wevtutil el | findstr Debug
- This filters the list for any log containing the word "Debug" to find the DebugChannel or related logs.
Step 2: Use PowerShell for Event Logs
If
wevtutil continues to misbehave, switch to using
PowerShell cmdlets for event log management:
- List Logs in PowerShell:
Run:
Code:
powershell Get-WinEvent -ListLog *
- This is equivalent to listing all event logs on the server.
- Look for:
- DebugChannel
- Microsoft-RMS-MSIPC/Debug
- Filter Logs:
To find the specific logs causing issues, search:
Code:
powershell Get-WinEvent -ListLog * | Where-Object {$_.LogName -like "*Debug*"}
Step 3: Rebuild or Repair the Event Logs
Depending on the status of the problematic logs, you can rebuild or repair their configuration:
A. Delete and Recreate the Event Log
If the logs exist but are corrupt, remove and recreate them:
- Delete the Log:
Code:
powershell Remove-EventLog -LogName "Microsoft-RMS-MSIPC/Debug"
- Use with care, as it deletes the log configuration.
- Recreate the Log:
Code:
powershell New-EventLog -LogName "Microsoft-RMS-MSIPC/Debug" -Source "Microsoft.RMS.MSIPC"
B. Regenerate Logs by Reinstalling Features
If the logs don’t exist, reinstalling their parent components often restores the missing functionality:
- For Microsoft-RMS-MSIPC/Debug:
- Verify Active Directory Rights Management Services (AD RMS):
- Use Server Manager > Add Roles and Features to reinstall AD RMS.
- Confirm that Microsoft RMS Information Protection Client is updated.
- For Generic DebugChannel Logs:
- DebugChannel issues may relate to logging tools or framework components like .NET. Ensure that:
- .NET Framework features are intact.
- Windows Event Log services are operational.
Step 4: Check Event Viewer Permissions
Verify that no permission issues are preventing access to the Debug and MSIPC logs:
- Open Services (
services.msc):
- Ensure Windows Event Log is running.
- Check File Permissions:
- Navigate to:
Code:
C:\Windows\System32\winevt\Logs
- Look for logs associated with:
- Microsoft-RMS-MSIPC/Debug.
- Ensure that SYSTEM and Administrators have full access permissions.
Step 5: Check for Updates
Since the issues arose after an
upgrade to Windows Server 2025, it’s possible that components like
AD RMS,
logging services, or the kernel event framework need updates for compatibility.
- Run Windows Update to ensure no pending fixes are missing.
- Manually check for Feature or Role updates in Server Manager.
If All Else Fails
If the issue persists:
- Collect specific Windows error codes from Event Viewer or logs related to the problematic log files.
- Consider resetting Event Viewer configuration:
- Navigate to:
Code:
C:\Windows\System32\winevt
- Backup the logs.
- Reset individual logs or the entire "logs" folder if needed.
Final Thoughts
Try filtering the logs using
wevtutil el or PowerShell to narrow down specifics first. Once you identify and fix (or recreate) the problematic log channels, the errors in Event Viewer should clear up.
Let me know how these steps go or if you need further guidance!
