次の方法で共有


Configuration Manager クライアントのポリシーの取得を開始する方法

適用対象: System Center Configuration Manager 2007, System Center Configuration Manager 2007 R2, System Center Configuration Manager 2007 R3, System Center Configuration Manager 2007 SP1, System Center Configuration Manager 2007 SP2

Configuration Manager 2007 クライアントは、スケジュールに従ってクライアント ポリシーをダウンロードします。既定では、この値は、60 分間隔であるように構成され、[ポリシーのポーリング間隔 (分)]オプションを使用して構成されます(このオプションを構成できるダイアログ ボックスを確認するには、「コンピュータ クライアント エージェントのプロパティ :[全般] タブ」を参照してください)。ただし、トラブルシューティングのシナリオやテストなどで、クライアントから特別なポリシー取得を開始する場合があります。

次の手順に従って、Configuration Manager クライアントの[操作]タブを使用するか、コンピュータでスクリプトを実行することにより、クライアントから特別なポリシー取得をスケジュールされたポーリング間隔以外で開始します。この手順を実行するには、ローカル管理者権限でクライアント コンピュータにログオンしている必要があります。

注意

クライアント コンピュータのコントロール パネルで "Systems Management " という名前が設定されている、SMS 2003 クライアントでも同じ手順を使用できます。

Configuration Manager クライアントの[操作]タブを使用してクライアント ポリシーの取得を手動で開始するには、

  1. コンピュータのコントロール パネルで、[Configuration Manager]を選択します。

  2. [操作]タブをクリックします。

  3. [コンピュータ ポリシーの取得および評価サイクル]をクリックし、[動作の開始]をクリックします。

  4. [OK]をクリックしてプロンプトを確認し、もう一度[OK]をクリックして Configuration Manager を閉じます。

スクリプトを使用してクライアント ポリシーの取得を手動で開始するには

  1. メモ帳などのテキスト エディタを開きます。

  2. 次をコピーし、ファイルに挿入します。

    on error resume next
    
    dim oCPAppletMgr 'Control Applet manager object.
    dim oClientAction 'Individual client action.
    dim oClientActions 'A collection of client actions.
    
    'Get the Control Panel manager object.
    set  oCPAppletMgr=CreateObject("CPApplet.CPAppletMgr")
    if err.number <> 0 then
        Wscript.echo "Couldn't create control panel application manager"
        WScript.Quit
    end if
    
    'Get a collection of actions.
    set oClientActions=oCPAppletMgr.GetClientActions
    if err.number<>0 then
        wscript.echo "Couldn't get the client actions"
        set oCPAppletMgr=nothing
        WScript.Quit
    end if
    
    'Display each client action name and perform it.
    For Each oClientAction In oClientActions
    
        if oClientAction.Name = "Request & Evaluate Machine Policy" then
            wscript.echo "Performing action " + oClientAction.Name 
            oClientAction.PerformAction
        end if
    next
    
    set oClientActions=nothing
    set oCPAppletMgr=nothing
    
  3. ファイルを .vbs 拡張子で保存します。

  4. クライアント コンピュータにおいて、次のいずれかの方法でこのファイルを実行します。

    • エクスプローラを使用してファイルに移動し、スクリプト ファイルをダブルクリックします。

    • コマンド プロンプトを開き、次を入力します。cscript <path\filename.vbs>

  5. [Windows スクリプト ホスト]ダイアログ ボックスで、[OK]をクリックします。

参照:

タスク

Configuration Manager コンピュータ クライアント エージェントの構成方法

概念

Configuration Manager のクライアント ポリシーについて

その他のリソース

Configuration Manager クライアントの管理のタスク

その他の情報については、「Configuration Manager 2007 Information and Support」 (Configuration Manager 2007 の情報とサポート) を参照してください。
ドキュメント チームに連絡するには、次のアドレスに電子メールを送信してください。 SMSdocs@microsoft.com.