当前位置:网站首页 > 更多 > 玩电脑 > 正文

[玩转系统] 修复 SCCM 中的 CcmSetup 失败,错误代码为 0x80041010

作者:精品下载站 日期:2024-12-14 12:04:14 浏览:15 分类:玩电脑

修复 SCCM 中的 CcmSetup 失败,错误代码为 0x80041010


本文介绍了修复 SCCM 中 CcmSetup 失败并出现错误代码 0x80041010 的多种解决方案。客户端计算机上的 ccmsetup.log 文件包含错误 0x80041010 的记录。

在配置管理器客户端代理安装过程中,您可能会遇到多个错误。您可以通过查看 SCCM 日志文件中的错误代码来确定客户端代理安装失败的原因。

检查 ccmsetup.log 文件发现尝试在远程 Windows 计算机上安装 ConfigMgr 客户端时出现错误代码 0x80041010。需要注意的是,错误0x80041010仅出现在少数计算机上;这不是一个普遍的问题。

当您尝试使用客户端推送方法甚至手动客户端安装来安装代理时,会出现 SCCM 客户端错误代码 0x80041010。我们将查看解决此问题的步骤并找到适当的解决方案。

查看与一些常见客户端代理错误相关的一些有用指南:

  • SCCM 客户端代理安装错误 0x80200010
  • 修复 SCCM 客户端代理安装错误代码 80041002
  • 修复 ConfigMgr 客户端安装错误 0000052e
  • CcmSetup 失败,错误代码为 0x80080005
  • SCCM 客户端安装错误 00000005
  • 修复 SCCM 中的 CcmSetup 失败,错误代码为 0x80200014

修复 CcmSetup 失败,错误代码为 0x80041010

在 Windows 设备上安装 SCCM 客户端代理期间,CcmSetup 失败,出现错误代码 0x80041010。 SCCM 中的错误代码 0x80041010 转换为未知错误,并且有多种与此错误相关的解决方案。

首先,让我们看一下 CcmSetup 失败,错误代码为 0x80041010 的错误。此错误记录在客户端计算机上的 ccmsetup.log 文件中。

[玩转系统] 修复 SCCM 中的 CcmSetup 失败,错误代码为 0x80041010

除了其他错误之外,还有另一个错误,即操作系统不是 Win10RS3+,ENDOK。安装 SCCM 客户端时,需要检查的参数很少,其中之一是支持的 Windows 操作系统。当然,就我而言,这似乎不适用,因为客户端计算机运行的是 Windows 10 21H2。

No MP or source location has been explicitly specified. Trying to discover a valid content location… ccmsetup
Looking for MPs from AD
Unexpected row count (0) retrieved from AD
GetADInstallParams failed with 0x80004005
Couldn't find an MP source through AD. Error 0x80004005
No valid source or MP locations ccmsetup
Sending state '322'… ccmsetup
Updating MDM_ConfigSetting.ClientDeploymentErrorCode with value 2147500037
OS is not Win10RS3+, ENDOK. ccmsetup
Failed to get client version for sending state messages. Error 0x8004100e ccmsetup
[] Params to send '5.0.9078.1005 Deployment "C:\WINDOWS\ccmsetup\ccmsetup.exe" /runservice "/RetryWinTask:1" "/source:" CCMHOSTNAME="ZADC1PCMPRI01.ZUTARI.COM" CLIENT="Client" INSTALL\CCMSETUP.EXE="Install\ccmsetup.exe" SCCM="SCCM" SMSCACHESIZE="15360" SMSSITECODE="ZUT"' ccmsetup
Unable to load profiler: 0x80070002 ccmsetup
A Fallback Status Point has not been specified and no client was installed. Message with STATEID='322' will not be sent.
Failed to send status 322. Error (87D00215)
Failed to connect to policy namespace.
Failed to revoke client upgrade local policy. Error 0x8004100e ccmsetup
Sending state '301'… ccmsetup
Updating MDM_ConfigSetting.ClientDeploymentErrorCode with value 2147500037 ccmsetup
OS is not Win10RS3+, ENDOK.
CcmSetup failed with error code 0x80004005 ccmsetup

如果您在客户端安装过程中遇到类似的错误代码,您可以使用错误查找工具将 SCCM 错误代码转换为错误消息。 ConfigMgr 免费提供这些工具,您可以在解码时找到有关错误的更多详细信息。

现在我将列出一些解决方案来修复 CcmSetup failed with error code 0x80041010。如果其他方法对您有用,请在下面的评论部分告诉我。

解决方案 1:修复 WMI

当 SCCM 代理安装失败并出现错误代码 0x80041010 时,您应该尝试的第一件事是修复客户端上的 WMI。如果 WMI 损坏或损坏,客户端代理安装将失败,并且您会在 ccmsetup.log 中看到错误代码 0x80041010。

以下脚本可用于修复 WMI 问题并修复 Windows 计算机上的 WMI。复制 VB 脚本并将其粘贴到文本文件中。将此文件另存为 RepairWMI.bat

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

要运行此脚本,请以管理员身份启动命令提示符并运行以下批处理文件。输入“Y”继续停止所需的服务并继续执行脚本。

[玩转系统] 修复 SCCM 中的 CcmSetup 失败,错误代码为 0x80041010

The following services are dependent on the Windows Management Instrumentation service.
Stopping the Windows Management Instrumentation service will also stop these services.The following services are dependent on the Windows Management Instrumentation service.
Stopping the Windows Management Instrumentation service will also stop these services.

IP Helper
SMS Agent Host

Do you want to continue this operation? (Y/N) [N]: Y
The IP Helper service is stopping.
The IP Helper service was stopped successfully.

The SMS Agent Host service is stopping..
The SMS Agent Host service was stopped successfully.

The Windows Management Instrumentation service is stopping.
The Windows Management Instrumentation service was stopped successfully.

上述脚本运行后,它将修复客户端计算机上的 WMI。重新启动计算机一次,然后安装 SCCM 客户端代理,这应该可以解决错误代码 0x80041010。

解决方案 2:DNS 问题

有时,当客户端计算机上出现 DNS 问题时,客户端代理安装可能会失败,并显示错误代码 0x80041010。从ccmsetup.log中,我们看到两个错误:未明确指定 MP 或源位置没有有效的源或 MP 位置

这可能并不意味着管理点服务器已关闭。您必须在客户端计算机上运行 nslookup 命令并检查是否正确解析 SCCM 管理点服务器。此外,在客户端计算机上运行gpupdate命令,检查计算机策略和用户策略是否更新成功。

您需要 登录账户 后才能发表评论

取消回复欢迎 发表评论:

关灯