This error signals that the WinRM service on the collector computer successfully contacted the subscription manager (the source computer), but the data returned about the available event logs or configurations was corrupted, misformatted, or incompatible. It is frequently caused by:
- Corrupted XML configuration files in the WinRM subscription database.
- Incomplete or broken Event Forwarding configurations on the source computer.
- Outdated runtime data cached by the WinRM service.
- Permissions issues preventing the Network Service or specific machine accounts from reading the required event logs.
Step-by-Step Fix
Follow these steps in order to clear out the invalid enumeration data, reset the WinRM configurations, and resolve the error.
Step 1: Restart the WinRM and Event Log Services
Sometimes the enumeration results are temporarily cached in memory. Restarting the core services can clear this state.
- Press the Windows Key + X and select Terminal (Admin) or Command Prompt (Admin).
- Type the following command to stop the WinRM service and press Enter:
net stop winrm - Type the following command to restart the Windows Event Log service (which handles event forwarding) and press Enter:
net start eventlog - Restart the WinRM service by typing this command and pressing Enter:
net start winrm
Step 2: Delete and Recreate the Subscription
Since the subscription manager is returning invalid results, the subscription configuration itself might be corrupted.
- Open the Event Viewer by pressing Windows Key + R, typing
eventvwr.msc, and pressing Enter. - Click on Subscriptions in the left-hand console tree.
- Locate the specific subscription that is failing.
- Right-click the subscription and select Delete.
- Restart your computer to ensure all hooks are cleared.
- Re-open Event Viewer, go to Subscriptions, right-click an empty space, select Create Subscription, and configure it again from scratch.
Step 3: Clear the WinRM Configuration Database (If Problem Persists)
If recreating the subscription via the GUI does not work, you may need to force-delete the configuration using the command line.
- Open Command Prompt as Administrator.
- Run the following command to list all active subscriptions and find the exact name of the broken one:
wecutil es - Delete the problematic subscription using its exact name:
wecutil ds "Your Subscription Name"(Replace
Your Subscription Namewith the actual name displayed in the previous step).
Step 4: Verify Event Log Permissions on the Source Computer
The subscription manager will return invalid or empty enumeration results if the underlying account does not have permission to read the logs it is trying to forward.
- Log into the Source Computer (the machine sending the logs).
- Open Computer Management (
compmgmt.msc). - Go to Local Users and Groups > Groups.
- Double-click the Event Log Readers group.
- Ensure that the Network Service account or the Computer Account of the collector machine is added to this group.
- If they are missing, click Add, type the names, and click OK.
- Reboot the source computer to apply the new group permissions.
There may be some errors. Learn Microsoft