HomeWindowsHow to resolve Device Setup Manager Event ID 131 error?

How to resolve Device Setup Manager Event ID 131 error?

Meta data staging failed

Device Setup Manager Event ID 131 is an error related to the Windows Device Setup Manager. This event is logged in the Windows Event Viewer and can indicate issues with device setup or installation processes. Commonly known as the “Metadata staging failed” error, indicates a problem during the device setup process, typically associated with Windows Update’s difficulty in retrieving metadata about the installed hardware during the startup phase. Understanding this error and its resolution is essential for maintaining system stability and ensuring proper hardware functionality.

Event viewer

What is Device Setup Manager Event ID 131?

Event ID 131 is logged in the Windows Event Viewer and generally appears with descriptions such as:

meta data staging failed error

This error signifies that Windows Update is encountering issues while trying to access or stage metadata required for hardware setup, often impacting the functionality of the related device.

Reasons for the Error

The error can stem from various causes, including:

  1. Driver Issues: Outdated, corrupted, or incompatible drivers may hinder metadata retrieval.
  2. Windows Update Problems: Issues with Windows Update services or configurations can disrupt metadata staging.
  3. Hardware Conflicts: Conflicts with other devices or hardware components may prevent proper metadata handling.
  4. Corrupted System Files: Corruption within system files can affect the device setup process.
  5. Insufficient Permissions: Lack of appropriate permissions or security settings can interfere with metadata retrieval.

How to Resolve Device Setup Manager Event ID 131

1. Check for Windows Updates

-> Open Windows Settings: Press Win + I to open the Settings app.
-> Go to Update & Security: Click on Update & Security.
-> Check for Updates: Click on Check for updates and install any available updates.

2. Repair System Files

  • Run SFC Scan: Open Command Prompt as Administrator and run
sfc /scannow
  • Run DISM Tool: Repair the Windows image with
DISM /Online /Cleanup-image /Checkhealth
DISM /Online /Cleanup-image /Scanhealth
DISM /Online /Cleanup-image /Restorehealth

3. Modify Registry Settings (Advanced)

-> Open the Run Window: Press Win + R, type regedit, and press Enter.
-> Navigate to location:

-> Edit the DeviceMetadataServiceURL Key: Double-click the DeviceMetadataServiceURL key in the right pane.


-> Update the URL: If the Value Data is http://go.microsoft.com/fwlink/?LinkID=252669&clcid=0x409,
change it to: http://dmd.metaservices.microsoft.com/dms/metadata.svc

Once this has been done, you can clear the current event logs & closely monitor the situation.
To clear the event log,
-> Open the PowerShell.
->Copy and paste the command below into the PowerShell, and press Enter.

Disable metadata staging

  1. Disable metadata staging
  • Windows Settings > System > About > Advanced System Settings > Select the Hardware tab > Click the Device Installation Settings button.
  • In the pop-up box that appears, you can change it from Yes (recommended) to No (device may not function as expected).

2. Edit the registry

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\WINEVT\Channels\Microsoft-Windows-DeviceSetupManager/Admin 

“Enabled”=dword:00000000

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Device Metadata 

“PreventDeviceMetadataFromNetwork”=dword:00000001

Conclusion

Device Setup Manager Event ID 131, or the “Metadata staging failed” error, highlights issues with retrieving hardware metadata during the setup phase. By following the troubleshooting steps outlined, including advanced registry modifications, you can address and resolve the root causes of this error. Regular updates and system maintenance can help prevent future occurrences.

It is a known issue that can occur across all Windows environments due to the way Windows handles updates and metadata retrieval. To achieve a permanent solution, it may require intervention from the development team at Microsoft. We recommend submitting your ideas and suggestions through the Feedback Hub, where the development team regularly reviews submissions for potential fixes or improvements.

How to change DNS server in Windows
Using Built-in SSH & WSL in Windows as PuTTY Alternative
Scroll to Top