Hardware FixRecommendedDevice not working? Your driver may be the problemCheck updates for common hardware issues.Fix DriversOctober DealsAmazon USOctober deal check: compare before you payAmazon US: current deals, useful picks and tech finds.Check DealsClean PCRecommendedOne scan can reveal what keeps slowing WindowsLook for cleanup and repair opportunities.Run Scan×
Skip to content
VGSources
Blog

devicesetupmanager.dll Not Found: Restore Windows Safely

Length10 min Posted Quest giverVGSources Team

What’s actually slowing this PC down?

Pick the symptom - the matching free tool is one click away.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

devicesetupmanager.dll is a genuine Microsoft Windows system file, and errors naming it usually point to damaged Windows components, a failed device setup operation, or an unsafe replacement. Do not download a loose copy or register it first; repair Windows and verify the file’s location, signature, and build instead.

What this file actually does

DeviceSetupManager.dll is part of Windows Device Setup Manager, the component behind the DsmSvc service. This service helps Windows detect devices and download or install device-related software, including drivers.

The expected system path is:

%windir%System32DeviceSetupManager.dll

It is not a Visual C++ runtime, DirectX file, or .NET assembly. There is no separate, legitimate “DeviceSetupManager.dll redistributable” that should be installed independently.

A real copy should normally be under the Windows directory and carry a Microsoft digital signature. A same-named file in Downloads, %Temp%, a user profile, or an unrelated application folder needs additional scrutiny.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
#1 Best Overall
Sale
Microsoft Windows 11 (USB)
  • Less chaos, more calm. The refreshed design of Windows 11 enables you to do what you want effortlessly.
  • Biometric logins. Encrypted authentication. And, of course, advanced antivirus defenses. Everything you need, plus more, to protect you against the latest cyberthreats.
  • Make the most of your screen space with snap layouts, desktops, and seamless redocking.
  • Widgets makes staying up-to-date with the content you love and the news you care about, simple.
  • Stay in touch with friends and family with Microsoft Teams, which can be seamlessly integrated into your taskbar. (1)

The filename may appear in errors such as:

  • “The program can’t start because DeviceSetupManager.dll is missing from your computer.”
  • “The code execution cannot proceed because DeviceSetupManager.dll was not found.”
  • “There was a problem starting DeviceSetupManager.dll.”
  • “Error loading DeviceSetupManager.dll. The specified module could not be found.”
  • “DeviceSetupManager.dll is either not designed to run on Windows or it contains an error.”

These messages do not always prove that this file alone is missing. “The specified module could not be found” can also mean that a dependency failed to load. “Not designed to run on Windows” can indicate corruption, an incompatible architecture, a truncated file, or a tampered replacement.

Causes and symptoms

What you see Most likely cause Correct first action
Error appears during startup or after Windows activity Missing or damaged protected system file Run DISM, then SFC
Device, USB, printer, or driver installation fails DsmSvc, Windows Update, or a device driver problem Check the service and update the driver
Error began after antivirus cleanup File was quarantined or a threat altered Windows files Review Protection history and scan the system
Only one application shows the error Application-local file or damaged application installation Repair or reinstall that application
“Not designed to run on Windows” appears Wrong architecture, corruption, or unsigned replacement Check path and digital signature, then repair Windows
DISM says source files cannot be found Component store or repair source problem Install updates or use matching Windows media
File exists but the error remains Dependency, service, or broader Windows problem Check the event context and repair the related component

Fix 1: Repair Windows with DISM and SFC

This is the safest first repair when the file is missing or corrupted. Run both commands from an elevated Command Prompt, in this order.

  1. Save your work.
  2. Open Start and type Command Prompt.
  3. Right-click Command Prompt and select Run as administrator.
  4. Select Yes at the User Account Control prompt.
  5. Run:
DISM /Online /Cleanup-Image /RestoreHealth
  1. Wait for DISM to finish. It may appear to pause for a while.
  2. Then run:
sfc /scannow
  1. Restart Windows after both commands complete.

DISM repairs the Windows component store, which gives SFC a usable source for protected files. SFC then checks protected system files and replaces missing or damaged copies.

How to tell whether it worked

A successful SFC run usually reports one of these outcomes:

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
  • No integrity violations were found.
  • Corrupt files were found and successfully repaired.

Restart and repeat the action that produced the error. Try the device installation, Windows sign-in, or application launch again.

If SFC says it could not repair some files, do not copy a DLL from the internet. First inspect:

%windir%LogsCBSCBS.log

If the file exists at the expected path and you need to check that individual file, an administrator can run:

sfc /scanfile=%windir%System32DeviceSetupManager.dll

Use /scannow when the file is missing. /scanfile is for checking a file that is already present.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Repeatedly running SFC without knowing what changed can make troubleshooting slow. Outbyte PC Repair offers a free scan that shows what it identifies; the repair is performed by the full version. It is optional, and Windows DISM and SFC remain the appropriate built-in repair path.

Fix 2: Install Windows updates and use Windows 11 repair reinstall

A failed update or damaged component store can leave device-setup files unavailable.

Windows 11 and Windows 10 updates

  1. Open Start > Settings.
  2. Select Windows Update.
  3. Select Check for updates.
  4. Install all applicable updates.
  5. Restart, even if Windows does not immediately require it.
  6. Run DISM and SFC again using the commands above.

Windows 10 support ended on October 14, 2025. If you are maintaining Windows 10, use the updates and recovery options still available for that installation, but plan a supported operating-system strategy rather than relying on old DLL copies.

Windows 11 repair reinstall

On supported Windows 11 installations:

  1. Open Start > Settings.
  2. Select System > Recovery.
  3. Find Fix problems using Windows Update.
  4. Select Reinstall now.
  5. Follow the prompts and keep the computer connected to power.

This reinstalls the current Windows version while preserving apps, files, and settings. It is different from resetting the PC and is useful when ordinary component repair cannot restore the protected file.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Fix 3: Check antivirus quarantine safely

Security software may quarantine a genuine file after a false detection, or it may remove a malicious replacement. Treat the detection details as important evidence rather than restoring every item with this filename.

In Windows Security:

  1. Open Start and type Windows Security.
  2. Open the app.
  3. Select Virus & threat protection.
  4. Select Protection history.
  5. Review entries related to DeviceSetupManager.dll.
  6. Open an entry and inspect its path, detection name, and action.

Only consider restoring a quarantined file after confirming that it was the expected Microsoft-signed file under the Windows directory and that the detection is demonstrably false. If the entry points to a temporary folder, download folder, user profile, or unknown application directory, leave it quarantined and complete a full or offline security scan.

Rank #2
Microsoft Windows 11 PRO (Ingles) FPP 64-BIT ENG INTL USB Flash Drive
  • MICROSOFT WINDOWS 11 PRO (INGLES) FPP 64-BIT ENG INTL USB FLASH DRIVE

If the file was deleted rather than quarantined, use DISM and SFC to restore Windows. Do not replace it manually.

If the problem began after malware, finish the security scan before repairing system files. Otherwise, an active threat may damage the replacement again.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Fix 4: Check Device Setup Manager and the related driver

Use this path when the failure involves a USB device, printer, display adapter, sound device, or driver installation rather than one application opening.

Check the service

  1. Press Win+R.
  2. Enter:
services.msc
  1. Press Enter.
  2. Locate Device Setup Manager.
  3. Open its properties.
  4. Leave its startup configuration at the Windows default, normally Manual or trigger-start.
  5. Do not permanently disable the service.

For a temporary service-state test, open Command Prompt as administrator and run:

net stop DsmSvc
net start DsmSvc

A successful restart only shows that the service can be stopped and started. It does not repair a missing or corrupt DLL. If net start DsmSvc fails, record the message and continue with Windows repair rather than changing random service dependencies.

Check the device in Device Manager

  1. Right-click Start.
  2. Select Device Manager.
  3. Expand the category related to the failing device.
  4. Look for a yellow warning icon.
  5. Right-click the device and select Properties.
  6. Read the status on the General tab.
  7. On the Driver tab, note the provider and driver date.
  8. Select Update Driver > Search automatically for drivers.

You can also select Uninstall device, restart Windows, and allow Windows to detect the hardware again. Do this only when you know the device can be re-detected and you have any manufacturer installer needed for it.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

For hardware that Windows Update cannot handle, obtain the driver from the hardware manufacturer’s official support page. Match the driver to the exact hardware model and Windows architecture.

Hunting through many driver packages by hand is error-prone. Outbyte Driver Updater provides a free scan showing the drivers it identifies; driver installation is handled by the full version. It is optional, and the hardware manufacturer’s driver or Windows Update remains the preferred source when available.

Fix 5: Repair the application that shows the error

If the error appears only when one program starts, determine where Windows is trying to load the file.

  1. Note the full error text and when it appears.
  2. Check whether the named file is under %windir%System32 or inside the application’s installation directory.
  3. If it is inside the application’s own directory, do not replace it with the System32 copy.
  4. Open Settings > Apps > Installed apps.
  5. Select the affected application.
  6. Choose Advanced options, if available.
  7. Select Repair.
  8. If Repair does not help, select Reset only after confirming that the application can be configured again.
  9. For a desktop program without those options, uninstall it from Installed apps, restart, and reinstall it using the publisher’s official installer.
  10. For a game, use the launcher’s Verify, Repair, or equivalent file-checking function.

The supplied error strings are generic and are not tied to one particular game or application. A program-specific repair is appropriate only when the file is clearly an application-local component.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Fix 6: Check architecture and the Windows build

Do not choose a replacement based on the newest-looking version number. Windows system files must match the installed Windows release, servicing state, architecture, and dependencies.

Windows may contain both 64-bit and 32-bit system components. A 64-bit Windows installation does not mean that every process uses a 64-bit DLL. A 32-bit application may require a 32-bit component, while a 64-bit Windows service requires its compatible system file.

Reported historical versions include:

  • 64-bit 10.0.10586.0
  • 32-bit 6.3.9600.16384
  • 32-bit 6.2.9200.16628

These are historical examples, not universal replacement targets. A file from another Windows release can cause the same error or create a new version mismatch.

To inspect an existing file:

  1. Open File Explorer.
  2. Browse to %windir%System32.
  3. Right-click DeviceSetupManager.dll.
  4. Select Properties.
  5. Check Digital Signatures.
  6. Select the signature and choose Details.
  7. Confirm that Windows reports a valid Microsoft signature.

If the file is in the wrong directory, unsigned, or signed unexpectedly, do not keep troubleshooting it as a normal Windows component. Scan the machine and repair Windows from trusted Microsoft sources.

Free tools Windows power users keep installed

One-click scans. No signup required.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
Rank #3
Microsoft System Builder | Windоws 11 Home | Intended use for new systems | Install on a new PC | Branded by Microsoft
  • STREAMLINED & INTUITIVE UI, DVD FORMAT | Intelligent desktop | Personalize your experience for simpler efficiency | Powerful security built-in and enabled.
  • OEM IS TO BE INSTALLED ON A NEW PC with no prior version of Windows installed and cannot be transferred to another machine.
  • OEM DOES NOT PROVIDE SUPPORT | To acquire product with Microsoft support, obtain the full packaged “Retail” version.
  • PRODUCT SHIPS IN PLAIN ENVELOPE | Activation key is located under scratch-off area on label.
  • GENUINE WINDOWS SOFTWARE IS BRANDED BY MIRCOSOFT ONLY.
Independent reader supportYour contribution helps us test, update, and keep practical guides available for everyone.Support on Ko-Fi

Do not use regsvr32 for this file

regsvr32 is intended for DLLs that expose registration functions, such as certain COM, OLE, or ActiveX components. DeviceSetupManager.dll is a Windows service component, not normally a self-registering control.

Running this is therefore not a standard repair:

regsvr32 DeviceSetupManager.dll

It may produce a message that DllRegisterServer was not found. That result does not mean Windows needs a different copy or a different regsvr32 version. Use DISM, SFC, Windows Update, or application repair instead.

Do not download or manually copy the DLL

Random DLL download pages cannot prove that a file matches your Windows build, architecture, signature, dependencies, or component store. A downloaded file may contain malware, may be the wrong bitness, or may only hide the original repair problem.

The safe sources are:

  • Windows component repair through DISM and SFC
  • Windows Update
  • Windows 11’s Reinstall now recovery option
  • Official Windows installation media
  • The official installer for a particular application
  • The hardware manufacturer’s official driver package

If DISM reports that source files cannot be found, install pending Windows updates and retry. If that fails, use matching installation media as a repair source rather than borrowing a DLL from another computer.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Fix 7: Use System Restore after a recent change

If the error began immediately after a driver, update, or software installation, System Restore may roll back the related system files, drivers, registry settings, and installed programs.

  1. Press Win+R.
  2. Enter:
rstrui.exe
  1. Press Enter.
  2. Select Next.
  3. Choose a restore point from before the failure.
  4. Select Scan for affected programs if available.
  5. Confirm the restore point and select Finish.
  6. Restart and test Windows.

System Restore does not delete personal files, but it can remove programs, drivers, system files, and settings installed after the selected restore point.

If DISM and SFC still cannot repair Windows

Use the escalation path rather than replacing the DLL repeatedly:

  1. Check Settings > Windows Update for pending updates.
  2. Review CBS.log for servicing errors.
  3. Run a full or offline malware scan.
  4. Check whether the storage drive reports errors or broader file corruption.
  5. Try a suitable System Restore point.
  6. On Windows 11, use Settings > System > Recovery > Reinstall now when available.
  7. Perform an in-place repair using official Windows installation media.
  8. Choose Keep personal files and apps when that option is offered.

If multiple protected files fail, Windows Update repeatedly breaks, or storage errors appear, the underlying issue may be the drive, servicing stack, user profile, or broader Windows installation rather than this one DLL.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

FAQ

Is DeviceSetupManager.dll safe?

A Microsoft-signed copy in %windir%System32 is the expected Windows component. A same-named file elsewhere is not automatically safe and should be scanned and investigated.

Should I install Visual C++, DirectX, or .NET?

No. This file belongs to Windows Device Setup Manager and is not a normal Visual C++, DirectX, or .NET runtime file.

Can restarting DsmSvc fix the missing DLL?

It can clear a service-state problem, but it cannot recreate a missing or corrupted binary. Use DISM and SFC for that.

Should I copy the file from another PC?

No. Different Windows builds and architectures can make the copied file incompatible. Use Windows servicing or matching installation media.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Does Windows Features contain Device Setup Manager?

No optional Windows Feature is the normal installation method for this system component. Do not enable unrelated features to obtain it.

Why does the message say “not found” when the file exists?

The file may have an unloadable dependency, the wrong architecture, a damaged signature, or a problem with the service or application requesting it. Check the path and signature, then repair Windows.

Quick Recap

SaleBestseller No. 1
Microsoft Windows 11 (USB)
Microsoft Windows 11 (USB)
Make the most of your screen space with snap layouts, desktops, and seamless redocking.; FPP is boxed product that ships with USB for installation
$128.99
Bestseller No. 2
Microsoft Windows 11 PRO (Ingles) FPP 64-BIT ENG INTL USB Flash Drive
Microsoft Windows 11 PRO (Ingles) FPP 64-BIT ENG INTL USB Flash Drive
MICROSOFT WINDOWS 11 PRO (INGLES) FPP 64-BIT ENG INTL USB FLASH DRIVE
Bestseller No. 3

Product prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on Amazon at the time of purchase will apply.

Leave a Reply

Your email address will not be published. Required fields are marked *

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

More quests from Patch Notes

  1. How To Create Custom Stickers & Shoutouts In Monster Hunter WildsMonster Hunter WildsBlog20min
  2. How to Get XL Gogoat in Pokemon Legends Z-A (An Extra-Large Gogoat)Pokemon Legends Z-ABlog20min
  3. How to Get Rotting Lightbringer in Diablo 4Diablo 4Blog17min
Recommended PC Tool
Recommended PC Tool
Outdated Drivers Are Slowing You DownFree scan - exact matches
PC Slower Than It Used to Be?Free scan - under a minute

Two free Windows tools

One Free Minute Could Fix That PC

Before you go - each of these free tools takes about a minute and tackles what quietly slows a Windows PC down.

Special offer. View Outbyte info, uninstall instructions, EULA, and Privacy Policy.