ConfigMgr (SCCM) EXE file locations and RUN Commands

Posted: October 1, 2014 in Powershell, SCCM

Client ConfigMgr console Properties

%windir%\System32\CCM\SMSCliUI.exe
%windir%\SysWOW64\CCM\SMSCliUI.exe

Run Advertised Program (x64 & x86)

%windir%\System32\CCM\SMSRAP.CPL
%windir%\SysWOW64\CCM\SMSRAP.CPL

Task Sequence Progress Bar (x64 & x86)

%windir%\System32\CCM\TsProgressUI.exe
%windir%\SysWOW64\CCM\TsProgressUI.exe

SMS Agent Host Restart (x64 & x86)

%windir%\System32\CCM\CcmRestart.exe
%windir%\SysWOW64\CCM\CcmRestart.exe

SCCM (ConfigMgr) Client Repair – Command Line/ VB script / Powershell

%windir%\System32\CCM\ccmrepair.exe
%windir%\SysWOW64\CCM\ccmrepair.exe

—-policy.vbs—————-

On Error Resume Next
Dim oCPAppletMgr
Set oCPAppletMgr = CreateObject(“CPApplet.CPAppletMgr”)
Dim oClientActions
Set oClientActions = oCPAppletMgr.GetClientActions()
Dim oClientAction
For Each oClientAction In oClientActions
If oClientAction.Name = “Request & Evaluate Machine Policy” Then oClientAction.PerformAction
End If
Next
———————————————–
Powershell:

————-
Code Snippet

function repairclient([String] $strComputer)
{
$SMSCli = [wmiclass] “\\$strComputer\root\ccm:sms_client
$SMSCli.RepairClient()
}
———————————————–

Comments are closed.