Fix DeviceSetupManager Error 131 in Windows 11, 10

Solutions to DeviceSetupManager error Event id 131  Metadata staging failed in the log in Windows 11 and 10.

DeviceSetupManager error 131 in Event Viewer can be a hectic issue for users which hampers the seamless functioning of Windows 11. This problem is associated with Metadata Staging failed Error Event id 131 which indicates trouble in fetching metadata from the metadata server. Frequent and repeated appearance of this event id in the log might hamper system performance ultimately leading to crashes.

Generally, several factors can contribute to error 131 including corrupt system files, outdated device drivers, or conflicting software installations. Additionally, the error 131 may be the result of incompatible drivers, software conflicts, or a malfunctioning Windows Update service. If you are facing this disturbing issue in your Windows 11, you are in the right place to get the solutions. Here, we will emphasize the practical solutions to address Device Setup Manager Error 131 in Windows 11.

Devicesetupmanager Error 131

DeviceSetupManager Error 131 Event id

Here is how to fix Devicesetupmanager Error 131 in Windows 11, 10:

Change Registry Entries

Commonly, a few Event id 131 are shown in the log and they do not harm Windows so there is an option to prevent them from requesting from Metadata server.  The following registry changes are found to solve the issue this way:

  1. Click Start and type regedit.exe.
  2. Select Registry Editor from the result.
  3. Once, on the Registry Editor, navigate to:
  1. Find DWORD Value Enabled and double-click on it.
  2. Change the Value Data to 0 and click OK.
how to fix Devicesetupmanager Error 131 in Windows 11, 10
  1. Then go to:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Device Metadata
  1. Change the Value data of PreventDeviceMetadataFromNetwork to 1.
  2. Finally, navigate to:
HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\Device Metadata
  1. Modify the Value data of “PreventDeviceMetadataFromNetwork” to 1.
  2. Restart the System and check if Event id 31 is gone from Event Viewer.

You can see more about this method in Fix Metadata staging failed Error 0x80070490 in Windows 10/11.

Install pending Windows updates

Windows Update-related issues can lead to Device Setup Manager Error 131 and disrupt device installations. Usually, outdated or failed updates cause conflicts and affect the proper functioning of the DsmSvc.

That is why updating Windows is important to ensure that the latest patches and fixes are applied to resolve potential conflicts and restore error free device management. Here is the process to do it:

  1. Press “Windows+I” to open “Settings”.
  2. Then, select “Windows Update”.
  3. Click on “Check for updates” and wait for the system to find any available patches.
Settings Windows Update Check for updates
  1. If any update is found, download it to your Windows 11.

Disable Auto Driver Installations

Automatic driver installation can trigger the Devicesetupmanager error 31 because of having incompatible or outdated drivers that are installed automatically. Disabling this can prevent such issues to ensure that you can manually select and install drivers that are compatible and up-to-date. Follow these to disable the auto installation process:

  1. Type “Control Panel” in the search box and open the application.
  2. Now, type “device installation” in the control panel search box.
  3. Click on “Change device installation settings” under “Devices and Printers”.
  4. Select “No (Your device may not work as expected)”.
Device Setup Manager Error 131

Uninstall the Problematic Updates

In case, you see the Device Setup Manager Error 131 immediately after any installation, that means, the issue is associated with that installation/update on your Windows.

In these scenarios, consider uninstalling the update or application to solve this error and find alternatives to install the target update. To uninstall follow the steps:

  1. Navigate to Settings > Windows update > Update history > Uninstall updates.
  2. Click on Uninstall for the recently installed update and confirm the prompt.

Repair Corrupted System Files

Corrupted system files can impede the device setup manager service and trigger Error 131 in your Windows 11. Repairing these files is crucial for resolving the issue and ensuring proper functionality. Here are the steps to follow:

  1. Type “cmd” in the search bar and select Run as administrator.
  2. Enter the command: sfc /scannow and hit Enter.
  3. Then, reboot your computer.
  4. If SFC does not show an error, use these commands one by one, and hit “Enter” after each:
<>DISM /Online /Cleanup-Image /CheckHealth
DISM /Online /Cleanup-Image /ScanHealth
DISM /Online /Cleanup-Image /RestoreHealth
  1. In the end, reboot the device.

Change Your Internet Time Server

Devicesetupmanager Error 131 can be linked to Internet time server issues as well. When the system clock is out of sync due to server problems, it can disrupt installations on your computer. Changing the time server can ensure accurate synchronization and prevent conflicts to resolve Error 131. Here is the way to change the time server:

  1. Open the Search bar and type “control panel”.
  2. Set “View by” to “Category”.
  3. Now, click “Clock and Region”.
  4. Select “Date and Time”, go to “Internet Time”, and hit “Change setting”.
  5. Then, select “” from the drop-down.
  6. Click “Update now”, and then “OK” to save changes.
  7. Finally, click “OK” and close the “Date and Time” window.
Change Your Internet Time Server

Update Graphics Card Driver

Sometimes, the Device Setup Manager Error 131 may stem from graphics card driver issues associated with your computer. If this is the case, updating the display adapter driver can be crucial to address and solve compatibility and performance conflicts.

  1. Search “device manager” in the Taskbar and open it.
  2. Expand “Display adapters”.
  3. Identify your desired graphics card and hit the “Update device driver” icon.
Devicesetupmanager Error 131 in Windows 11
  1. Now, choose “Search automatically for updated driver software”.
  2. If any update is available, it will be installed automatically.

Reinstall the Graphics Card Driver

If you’re still facing the error after the update (previous method), your graphics card driver may have serious complications. To resolve this issue, you may consider reinstalling the driver which has come in handy for many users.

  1. Follow the first 3 steps of the last method and locate the Graphics Card Driver.
  2. Now, right-click on it and choose “Uninstall device”.
  3. Go to the official website of your Graphics card driver manufacturer.
  4. Download the latest version.
  5. Launch the installer and follow the on-screen instructions to successfully reinstall the Graphics card driver.
  6. Restart your computer system.

Modify Registry Value

Registry value issues often cause the Devicesetupmanager Error 131 in Windows 11 because of incorrect or corrupted entries which can ultimately disrupt the service. Modifying the registry to accurate values can effectively help you resolve these conflicts and get your PC in good condition.

  1. Right-click the “Start”.
  2. Select “Run”, type or paste “regedit”, and hit “OK”.
  3. You will see a Regedit window; Click on Edit and select Find.
  4. Type “DeviceMetadataServiceURL”, then, hit “Find next”.
  5. Wait for some time to find “DeviceMetadataServiceURL” in the right panel.
  6. Right-click on it and select “Modify”.
  7. Now, replace the old address with “”.
  8. Make sure that you have saved the old address in your Notepad so that you can get back to the previous stage if any issue occurs with the update.
  9. Close the registry to end the process.

Then, restart your computer and check whether the error no longer occurs.

Initiate a System Restore

If everything went in vain, consider system restore as the final method to solve this Devicesetupmanager Error 131. Here is the way to restore the system:

  1. Press “Shift+Restart” to open “Advanced Startup Options”.
  2. Navigate to “Troubleshoot”, “Advanced options”, then, “System Restore”.
  3. Hit “Next” and “Select Date”.
  4. Now, click “Finish” to initiate the restoring process.

Change Registry Entries
Update Your Windows 11
Disable Auto Driver Installations
Uninstall the Problematic Updates
Repair Corrupted System Files
Change Your Internet Time Server
Update Graphics Card Driver
Reinstall the Graphics Card Driver
Modify Registry Value
Initiate a System Restore

That’s all!!

Sharing is caring    Share Whatsapp

Topics:  Windows
About Sunita
Love to play with Windows 11 and 10. Suggestion - Going for Registry change or system files edit then remember to take a backup or create a restore point before Starting.