Logo
programming4us
programming4us
programming4us
programming4us
Home
programming4us
XP
programming4us
Windows Vista
programming4us
Windows 7
programming4us
Windows Azure
programming4us
Windows Server
programming4us
Windows Phone
 
Windows Server

System Center Configuration Manager 2007 : Desired Configuration Management - Troubleshooting

- Free product key for windows 10
- Free Product Key for Microsoft office 365
- Malwarebytes Premium 3.7.1 Serial Keys (LifeTime) 2019
9/9/2013 2:37:37 AM
As with all automated systems, many assumptions are made about the environment where the system is functioning. When these assumptions no longer hold true, the system fails to operate as expected. DCM is an automated system and therefore operates on certain assumptions. When issues arise, troubleshooting is necessary to determine which assumption or assumptions are no longer true.

Troubleshooting DCM, like the rest of ConfigMgr, is largely a log file review exercise. Because DCM is a client activity, the logs for DCM processing are on the client in the client logs folder (%SystemRoot%\System32\CCM\Logs on 32-bit systems and %SystemRoot%\SysWOW64\CCM\Logs on 64-bit systems). Five log files are used by DCM to store activity; Table 1 describes these files.

Table 1. DCM Log Files
FilenameDescription
Dcmagent.logProvides high-level information about the evaluation of assigned configuration baselines plus information regarding desired configuration management processes
Ciagent.logProvides information about downloading, storing, and accessing assigned configuration baselines
Sdmagent.logProvides information about downloading, storing, and accessing configuration item content
Sdmdiscagent.logProvides high-level information about the evaluation process for the objects and settings configured in the referenced configuration items
Discovery.logProvides detailed information about the Service Modeling Language processes

Debug and Verbose Logging

In addition to the normal logging available by default in the preceding logs, you can enable verbose and debug logging:

  • Verbose logging adds extra detail and increases the descriptiveness of the log entries made. Verbose logging also adds one additional client log file that is specific to DCM, SmsClrHost.log, and one management point log file, MP_GetSdmPackage.log. SmsClrHost.log includes details about ConfigMgr’s use of the .NET Framework, which is required for DCM, and MP_GetSdmPackage.log lists details about a management point’s retrieval of DCM-specific package information.

  • Debug logging is similar to verbose logging, but is typically meant for the developers of the component.

Enabling one or both of these can often provide you with that one extra clue that helps you solve an issue you are having.

You can also enable an extra debug log file for DCM on the client. This debug log file is not for the faint of heart, but can provide that extra information needed to troubleshoot an issue. The format of this file is XML. To enable this log file, add a REG_SZ value to HKEY_LOCAL_MACHINE\Software\Microsoft\CCM\SDMAgent named DebugFile and set the value to the name of an output file (as an example, DCMdmp.xml).

None of the preceding logging options should be enabled for normal operation because they add overhead that can bog the client down.


In addition to troubleshooting DCM itself, you will often have to troubleshoot issues with the baselines and the configuration items they contain. Issues involving the ability for DCM to evaluate a baseline or configuration item are reported through the ConfigMgr status message reporting mechanism. To view these status messages, perform the following procedure:

1.
Navigate to Site Database -> System Status -> Status Message Queries in the ConfigMgr tree.

2.
In the resulting details pane on the right, right-click All Status Messages and select Show Messages.

3.
In the All Status Messages dialog box, enter the desired timeframe for which you would like to see status messages.

4.
Review the displayed messages looking for the message IDs listed in Table 1.

Table 1. DCM Status Message IDs
Message IDDescription
11800Indicates a download failure for a configuration item
11801Indicates a hash failure for a configuration item
11802Indicates that the .NET Framework 2.0 is not installed
11850Indicates a download failure for SML content
11851Indicates the policy could not be uncompressed
11853Indicates the client computer has evaluated one or more assigned configuration baselines but cannot send the compliance results to its management point
11854A compliance change from noncompliant to compliant or from unknown to compliant
11855A compliance change to noncompliant with a noncompliance severity level of Information
11856A compliance change to noncompliant with a noncompliance severity level of Warning
11857A compliance change to noncompliant with a noncompliance severity level of Error
11858Indicates that packages for SML content could not be uncompressed
11859Indicates a failure in evaluating a configuration item
11860Indicates a failure in evaluating SML content
11861Indicates a failure in the SML discovery type process
11862Indicates the SML discovery type is halted
11859Indicates a failure in evaluating a configuration item
11860Indicates a failure in evaluating SML content

Using the message IDs listed in Table 1, you can narrow down issues DCM has when evaluating baselines and configuration items. These status messages also provide the ability to track and monitor the evaluation status of baselines in your site.

Note: .NET Framework

Not having the correct version of the .NET Framework installed on a client system can cause strange results that are difficult to troubleshoot. The lack of the .NET Framework can clearly be identified by the status messages returned by the client, but these are not always the first place you look to troubleshoot issues.


Information needed for DCM compliance scans often takes more than one client policy refresh cycle to be fully staged to the client. During this period, the status of the scan will not match your expectations for the result of the scan; this is to be expected and should not be cause for alarm or an extensive troubleshooting exercise. Patiently wait for an extra policy refresh cycle, and DCM will dutifully report its results in full.

It is often advantageous to trigger a DCM evaluation cycle on a remote system without interactively connecting to that system and initiating it from the Control Panel applet. The following code shows an example of how to trigger every applicable baseline on a remote system using VBScript:

system = "remote-system-name"
set objDCM = GetObject("winmgmts:{impersonationLevel=impersonate}!\\" &_ system & "\root\ccm\dcm:SMS_DesiredConfiguration") Set objSWbemServices = GetObject("winmgmts:\\" & system & "\root\ccm\dcm") Set colSWbemObjectSet = objSWbemServices.ExecQuery("SELECT * FROM SMS_DesiredConfiguration")
For Each objSWbemObject In colSWbemObjectSet
objDCM.TriggerEvaluation objSWbemObject.Name,objSWbemObject.Version
Next


This simple VBScript can easily be extended to connect to multiple systems or to allow the choice of which baseline to trigger an evaluation on.

Other -----------------
- System Center Configuration Manager 2007 : Desired Configuration Management - DCM Strategies
- Microsoft Exchange Server 2007 : Leveraging the Capabilities of the Outlook Web Access Client - Understanding OWA Security Features, Tips for OWA Users with Slow Access
- Microsoft Exchange Server 2007 : Leveraging the Capabilities of the Outlook Web Access Client - Using Contacts in OWA
- What's new and improved in SharePoint 2013 : Creating an eDiscovery Center
- What's new and improved in SharePoint 2013 : Creating badges, Using Visual Designer for workflows within SharePoint Designer
- What's new and improved in SharePoint 2013 : Previewing search documents, Using the Community Site template
- Windows Small Business Server 2011 : Adding a Terminal Server - Adding a RemoteApp to Remote Web Workplace
- Windows Small Business Server 2011 : Adding a Terminal Server - Configuring RemoteApps (part 2) - Deploying with .rdp and .msi files
- Windows Small Business Server 2011 : Adding a Terminal Server - Configuring RemoteApps (part 1) - RemoteApp Manager
- SQL Server 2012 : XML and the Relational Database - Querying XML Data Using XQuery (part 2) - SQL Server XQuery in Action, XML DML
 
 
Top 10
- Microsoft Visio 2013 : Adding Structure to Your Diagrams - Finding containers and lists in Visio (part 2) - Wireframes,Legends
- Microsoft Visio 2013 : Adding Structure to Your Diagrams - Finding containers and lists in Visio (part 1) - Swimlanes
- Microsoft Visio 2013 : Adding Structure to Your Diagrams - Formatting and sizing lists
- Microsoft Visio 2013 : Adding Structure to Your Diagrams - Adding shapes to lists
- Microsoft Visio 2013 : Adding Structure to Your Diagrams - Sizing containers
- Microsoft Access 2010 : Control Properties and Why to Use Them (part 3) - The Other Properties of a Control
- Microsoft Access 2010 : Control Properties and Why to Use Them (part 2) - The Data Properties of a Control
- Microsoft Access 2010 : Control Properties and Why to Use Them (part 1) - The Format Properties of a Control
- Microsoft Access 2010 : Form Properties and Why Should You Use Them - Working with the Properties Window
- Microsoft Visio 2013 : Using the Organization Chart Wizard with new data
 
programming4us
Windows Vista
programming4us
Windows 7
programming4us
Windows Azure
programming4us
Windows Server