Issue:-On my SCCM server 2007 R3, component SMS_MP_CONTROL_MANAGER status changed to critical.When I checked the status messagefor component SMS_MP_CONTROL_MANAGER it said:-“MP could not write settings to WMI. This component stopped“ Then I checked the mpcontrol.log on the SCCM server which said:-“SMS_MP_CONTROL_MANAGER failed to start with 0x800705aa” After reviewing the logs and status message it was clear that… Continue reading SMS_MP_CONTROL_MANAGER failed
For Drivers deployment , we need to find the exact Manufacturer and Model to deploy using SCCM. s We need to create WMI Query to install the Driver Package based on Make & Model.Set objShell = CreateObject("WScript.Shell")Set objWMIService = GetObject("winmgmts:\\.\root\cimv2")strWinDir = objShell.ExpandEnvironmentStrings("%WinDir%")Set colItems = objWMIService.ExecQuery("SELECT * FROM Win32_ComputerSystem")For Each objItem In colItems … Continue reading To get Model String
Many times we come across a scenario where we need to delete a package from SQL database. Below is the script to delete a package entry for the same. select* from pkgstatus where id='Package ID' and sitecode='SCCM Site Code'delete from pkgstatus where id='Package ID' and sitecode='SCCM Site Code'
Below is the WMI script to check computer Make & Model, output of which can be used in SCCM/MDT for make & model based driver deployment query. Hope, this will find a place in your requirement J. Go to Start and open Run.1. WBEMTEST2. Click on “Connect” 3. Type “root\cimv2” and click “connect” 4. Click on… Continue reading SCCM/MDT: WMI Script to check computer Make & Model