FIX: Ccmsetup Failed With Error Code 0x80041010

SCCM may fail at deployment due to network security settings

Reading time icon 3 min. read


Readers help support Windows Report. We may get a commission if you buy through our links. Tooltip Icon

Read our disclosure page to find out how can you help Windows Report sustain the editorial team. Read more

A message from our partner

Resolve multiple Windows PC issues and speed up your PC effortlessly with specialized software.

  • Download HelpSoft PC Cleaner and install it on your PC.
  • Click on Start Scan button to find corrupt or broken files that affect your PC.
  • Now the software will start the fixing process and boost your PC performance.
Download now HelpSoft PC Cleaner has been downloaded by 0 readers this month

Error code 80041010 signals a malfunction in the Windows Management Instrumentation (WMI) subsystem, which SCCM relies on for remote management.

It could be caused by a damaged WMI databes or corrupt registry settings. Even though it is not a common error, we were able to gather information about it and how you can fix it.

Just follow the steps below.

resolve these issues.

How do I fix error 0x80041010?

1. Repair WMI

  1. Hit the Windows key, type cmd in the search bar, and click Run as administrator.cmd-run-admin-w11 unexpected kernel mode trap windows 11
  2. Type the following command to switch folders where the WMI repository is located: c:\windows\system32\wbem
  3. Next, type and Enter the following command: dir /b *.mof *.mfl | findstr /v /i uninstall > moflist.txt & for /F %s in (moflist.txt) do mofcomp %s
  4. If you’re still experiencing the error, proceed to run the following commands: Net Stop winmgmt C: CD %SystemRoot%\System32\wbem RD /S /Q repository regsvr32 /s %SystemRoot%\system32\scecli.dll regsvr32 /s %SystemRoot%\system32\userenv.dll for /f %%s in (‘dir /b /s *.dll’) do regsvr32 /s %%s scrcons.exe /regserver unsecapp.exe /regserver winmgmt.exe /regserver wmiadap.exe /regserver wmiapsrv.exe /regserver wmiprvse.exe /regserver mofcomp cimwin32.mof mofcomp cimwin32.mfl mofcomp rsop.mof mofcomp rsop.mfl for /f %%s in (‘dir /b *.mof’) do mofcomp %%s for /f %%s in (‘dir /b *.mfl’) do mofcomp %%s

2. Reset WMI

  1. Hit the Windows key, type cmd in the search bar, and click Run as administrator.cmd-run-admin-w11 unexpected kernel mode trap windows 11
  2. Type in the following commands and press Enter after each one: winmgmt /salvagerepository winmgmt /verifyrepository winmgmt /resetrepository

3. Increase WMI memory

  1. Type regedit in the search bar and open the Registry Editor.opening registry editor windows
  2. Locate HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\WBEM\CIMOMregistry editor wmi
  3. Locate the value High Threshold On Events section and doubled click to open it.high threshold
  4. If the value is too low (e.g., under 512MB), increase it to 1024 or 2048 (representing 1GB or 2GB of memory).

Running out of memory could also lead to WMI errors, so make sure you allocate enough. This tweak could help you get rid of error code 0x80041010.

These commands will check for any inconsistencies and rebuild if necessary.

Elsewhere, you may also come across the SCCM task sequence error, so check out our recommended fixes for the same. The SCNotification may also fail at times, but we have answers on how to get it back up.

That’s it from us, but share any additional thoughts in the comment section below.

More about the topics: Windows 11

User forum

1 messages