Forums on Intune, SCCM, and Windows 11

Welcome to the forums. Register a free account today to become a member! Once signed in, you'll be able to participate on this site by adding your topics and posts, as well as connect with other members through your own private inbox!

PENDING Issues installing SCCM Client on Windows 10

simon hutton WG

New Member
Messages
2
Reaction score
0
Points
1
I am currently experiencing issues installing the SCCM Client on a Windows 10 machine, other Windows 10 devices have worked fine it's just just 1 that is having issues. I have tried depoying it from the server and also manually running the ccmsetup.exe but neither are working. Attached is the log file from the client.

I use SCCM 2012 R2 SP1
 

Attachments

Try running the below script on client machine and then install the client agent.
Code:
IF NOT EXIST "%windir%\ccmsetup\logs" MKDIR "%windir%\ccmsetup\logs"
@ECHO Uninstalling client...

C:\Windows\ccmsetup\ccmsetup.exe" /uninstall
@ECHO Post uninstall cleanup...
IF EXIST %windir%\CCM RMDIR /S /Q %windir%\CCM
IF EXIST %windir%\ccmcache RMDIR /S /Q %windir%\ccmcache
IF EXIST %windir%\ccmsetup RMDIR /S /Q %windir%\ccmsetup
GOTO REPAIR_WMI

:REPAIR_WMI
@ECHO Repairing WMI...
sc config winmgmt start= disabled
net stop winmgmt /y
%SYSTEMDRIVE% >nul
cd %windir%\system32\wbem
For /f %%s in ('dir /b *.dll') do regsvr32 /s %%s
wmiprvse /regserver
REM winmgmt /regserver
net start winmgmt
for /f %%s in ('dir /b *.mof *.mfl') do mofcomp %%s
@ECHO Waiting for WMI repair to finish...
@ping -n 90 %computername%>nul
 
Back
Top