Easy Access “Run” Commands for SCCM professionals . SCCM ConfigMgr commands from RUN menu of Windows.
Updated one – SCCM Shortcut Commands Windows Shortcut Commands (anoopcnair.com)
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
%windir%\System32\CCM\ccmrepair.exe
%windir%\SysWOW64\CCM\ccmrepair.exe
—-policy.vbs—————-
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
————-
Code Snippet
function repairclient([String] $strComputer)
{
$SMSCli = [wmiclass] "\\$strComputer\root\ccm:sms_client"
$SMSCli.RepairClient()
}
Author
Anoop C Nair is Microsoft MVP! He is a Device Management Admin with more than 20 years of experience (calculation done in 2021) in IT. He is Blogger, Speaker, and Local User Group HTMD Community leader. His main focus is on Device Management technologies like SCCM 2012, Current Branch, and Intune. He writes about ConfigMgr, Windows 11, Windows 10, Azure AD, Microsoft Intune, Windows 365, AVD, etc.
%windir%\ccm\smscfgrc.cpl