System Center Configuration Manager 2012 クライアントの修復機能について

こんにちは。システムセンターサポートの森です。

本ポストでは、System Center Configuration Manager 2012 より新たに搭載したクライアントの修復機能について紹介します。

System Center Configuration Manager 2012 よりクライアントをインストールすると、
端末のタスクスケジューラに タスクを一つ設定し、CCMEval.exe を 1 日に 1 回実行するようになりました。

この CCMEval.exeは、端末が CM 2012 クライアントの動作要件を満たしているか、
既定のルール (%windir%\CCM\ccmeval.xml) に基づきヘルス チェックを行います。
ヘルスチェックの項目は、例えば以下のようなものがあります。

>> ヘルスチェック 項目例

=========================

・WMI サービスは存在するか / 起動しているか

・WMI リポジトリへの Read / Write 権限があるか

・BITS サービスは存在するか / 起動しているか

・SMS Agent Host サービスは存在するか / 起動しているか

・CM 2012 クライアントが使用する WMI の名前空間およびクラスが存在するか

・etc…
CCMEval.exe によるヘルス チェックの結果、仮に WMI に異常を検知した場合には、

CCMEval.exe はコマンドを実行し、WMI リポジトリの再構築および CM 2012 クライアントの再インストールを行い、修復を図ります。
以上が System Center Configuration Manager 2012 より新たにクライアントが搭載した修復機能になります。
>> 補足:

1).ヘルス チェックの結果は C:\Windows\CCM\Logs\CcmEval.log で詳細を確認することができます。
(詳細は文末の参考情報をご覧ください。)

2). タスクスケジューラの設定は既定で AM 0 時台に実行されます。
OS の電源が落ちている場合などは、次回 OS 起動時に同タスクを実行いたします。

3).本機能は、クライアント側のレジストリの変更により、
修復をしないモード(異常検知にとどめる)に設定を変更することもできます。
サーバー機など自動修復をさせたくない場合には、個別に対応をご検討ください。

 < 変更箇所 >

HKLM\Software\Microsoft\CCM\CcmEval\NotifyOnly  を FALSE から TRUE に変更します。

参考技術情報:

How to Configure Client Status in Configuration Manager

https://technet.microsoft.com/en-us/library/hh338432.aspx
また、クライアント インストール時の NotifyOnly オプションで予め修復をしないモードに指定することも可能です。

例: CCMSetup.exe /NotifyOnly

参考技術情報:

About Client Installation Properties in Configuration Manager

https://technet.microsoft.com/en-us/library/gg699356.aspx

====================================================

>> 参考情報:
CcmEval.log

ヘルス チェックの様子は以下のようにログされます。
<![LOG[Evaluating health check rule {4AB7D77D-3BB0-4EAB-BEFD-7C0F7DA10296} : Verify WMI service exists.]LOG]!><time="00:27:11.244-540" date="08-20-2012" component="CcmEval" context="" type="1" thread="4048" file="ccmeval.cpp:251">

<![LOG[Evaluating health check rule {518C0699-03F8-4F38-85C4-4D319EAEFC05} : Verify/Remediate WMI service startup type.]LOG]!><time="00:27:11.244-540" date="08-20-2012" component="CcmEval" context="" type="1" thread="4048" file="ccmeval.cpp:251">

<![LOG[Evaluating health check rule {7F4B6E15-2221-455B-9615-93C379E470D5} : Verify/Remediate WMI service status.]LOG]!><time="00:27:11.244-540" date="08-20-2012" component="CcmEval" context="" type="1" thread="4048" file="ccmeval.cpp:251">

<![LOG[Evaluating health check rule {A81778B5-9A1E-4A52-9C6E-6939CEFAA118} : WMI Repository Integrity Test.]LOG]!><time="00:27:11.244-540" date="08-20-2012" component="CcmEval" context="" type="1" thread="4048" file="ccmeval.cpp:251">

<![LOG[Evaluating health check rule {14E6774A-1795-4E09-B17D-B6F36A124205} : WMI Repository Read/Write Test.]LOG]!><time="00:27:13.232-540" date="08-20-2012" component="CcmEval" context="" type="1" thread="4048" file="ccmeval.cpp:251">

<![LOG[Evaluating health check rule {5CC6C949-5001-4765-84B4-DD4FDC1E6940} : Verify BITS exists.]LOG]!><time="00:27:13.998-540" date="08-20-2012" component="CcmEval" context="" type="1" thread="4048" file="ccmeval.cpp:251">

<![LOG[Evaluating health check rule {C6E29CF5-F9B2-450B-AE61-C4B256A75023} : Verify/Remediate BITS startup type.]LOG]!><time="00:27:13.998-540" date="08-20-2012" component="CcmEval" context="" type="1" thread="4048" file="ccmeval.cpp:251">

<![LOG[Evaluating health check rule {CF4EFD8F-9A1E-4A89-BB35-7021D51767DB} : Verify/Remediate client and client prerequisites installation.]LOG]!><time="00:27:13.998-540" date="08-20-2012" component="CcmEval" context="" type="1" thread="4048" file="ccmeval.cpp:251">

<![LOG[Evaluating health check rule {8883C683-04C8-4228-BB76-2EDD666BA781} : Verify SMS Agent Host service exists.]LOG]!><time="00:27:31.789-540" date="08-20-2012" component="CcmEval" context="" type="1" thread="4048" file="ccmeval.cpp:251">

<![LOG[Evaluating health check rule {13F46523-5B82-417d-A363-A644E80CAD76} : Verify/Remediate SMS Agent Host service startup type.]LOG]!><time="00:27:31.789-540" date="08-20-2012" component="CcmEval" context="" type="1" thread="4048" file="ccmeval.cpp:251">

<![LOG[Evaluating health check rule {70BECB51-44A1-4b46-8A23-6EA3D345B677} : Verify/Remediate SMS Agent Host service status.]LOG]!><time="00:27:31.789-540" date="08-20-2012" component="CcmEval" context="" type="1" thread="4048" file="ccmeval.cpp:251">

<![LOG[Evaluating health check rule {C35E790D-4C05-40A8-BB46-A68578966D19} : WMI Event Sink Test.]LOG]!><time="00:27:31.789-540" date="08-20-2012" component="CcmEval" context="" type="1" thread="4048" file="ccmeval.cpp:251">

<![LOG[Evaluating health check rule {D9D0245D-0617-4C2F-8837-84A397AC5B22} : Verify/Remediate Microsoft Policy Platform service startup type.]LOG]!><time="00:27:32.415-540" date="08-20-2012" component="CcmEval" context="" type="1" thread="4048" file="ccmeval.cpp:251">

<![LOG[Evaluating health check rule {09886543-BE8B-431F-BC00-7D917632E22C} : Verify/Remediate Antimalware service startup type.]LOG]!><time="00:27:32.415-540" date="08-20-2012" component="CcmEval" context="" type="1" thread="4048" file="ccmeval.cpp:251">

<![LOG[Evaluating health check rule {5B50566C-363E-4F1C-8A7D-6F2D2A51B142} : Verify/Remediate Antimalware service status.]LOG]!><time="00:27:32.431-540" date="08-20-2012" component="CcmEval" context="" type="1" thread="4048" file="ccmeval.cpp:251">

<![LOG[Evaluating health check rule {6BC824B4-BD8C-4779-BB10-ABDBCD5AFAEB} : Verify/Remediate Network Inspection service startup type.]LOG]!><time="00:27:32.431-540" date="08-20-2012" component="CcmEval" context="" type="1" thread="4048" file="ccmeval.cpp:251">

<![LOG[Evaluating health check rule {D6CB32EA-423D-44CB-9C58-97CE55D2148E} : Verify/Remediate Windows Update service startup type.]LOG]!><time="00:27:32.431-540" date="08-20-2012" component="CcmEval" context="" type="1" thread="4048" file="ccmeval.cpp:251">

<![LOG[Evaluating health check rule {D3E01C5F-CE42-4022-B51D-680ADFA1CCD4} : Verify/Remediate Windows Update service status.]LOG]!><time="00:27:32.431-540" date="08-20-2012" component="CcmEval" context="" type="1" thread="4048" file="ccmeval.cpp:251">

<![LOG[Evaluating health check rule {9040BA8C-580D-4FCA-8846-BBD5F5BB1597} : Verify/Remediate Configuration Manager Remote Control service startup type.]LOG]!><time="00:27:32.446-540" date="08-20-2012" component="CcmEval" context="" type="1" thread="4048" file="ccmeval.cpp:251">

<![LOG[Result: Not Applicable, ResultCode: 0, ResultType: 0, ResultDetail: ]LOG]!><time="00:27:32.446-540" date="08-20-2012" component="CcmEval" context="" type="2" thread="4048" file="ccmeval.cpp:287">

<![LOG[Evaluating health check rule {9DCD49EF-E021-46FF-A777-49210B558527} : Verify/Remediate Configuration Manager Remote Control service status.]LOG]!><time="00:27:32.446-540" date="08-20-2012" component="CcmEval" context="" type="1" thread="4048" file="ccmeval.cpp:251">

<![LOG[Result: Not Applicable, ResultCode: 0, ResultType: 0, ResultDetail: ]LOG]!><time="00:27:32.446-540" date="08-20-2012" component="CcmEval" context="" type="2" thread="4048" file="ccmeval.cpp:287">

<![LOG[Evaluating health check rule {7B9F8FF6-EDF7-42CA-A67F-073A2E161C19} : Verify/Remediate SQL CE database is healthy.]LOG]!><time="00:27:32.446-540" date="08-20-2012" component="CcmEval" context="" type="1" thread="4048" file="ccmeval.cpp:251">

<![LOG[Successfully evaluated all client health rules.]LOG]!><time="00:27:32.446-540" date="08-20-2012" component="CcmEval" context="" type="1" thread="4048" file="ccmeval.cpp:296">

========================================================================

コミュニティにおけるマイクロソフト社員による発言やコメントは、マイクロソフトの正式な見解またはコメントではありません。