共用方式為


Run a Management Agent

For this procedure, you can run a selected management agent profile to perform all of the management agent's configured actions. To complete this procedure, you must be logged on as a member of the FIMSyncOperators security group or the FIMSyncAdmins security group.

To run a management agent using Management Agents

  1. On the Tools menu, click Management Agents.

  2. In Management Agents, click the management agent that you want to run.

  3. On the Actions menu, click Run.

  4. On the Run Management Agent page, in Run profiles, click a run profile to be run with the management agent, and then click OK.

    Note

    When you run a management agent from a script, you might need to refresh the Management Agents screen by pressing F5 to view current run statistics.

To run a management agent using Operations

  1. On the Tools menu, click Operations.

  2. In Management Agent Operations, click the management agent that you want to run.

  3. On the Actions menu, click Run.

  4. On the Run Management Agent page, in Run profiles, click the run profile that you want to run with the management agent, and then click OK.

    Note

    You must use Management Agents to run a management agent for the first time. After you run the management agent at least once from Management Agents, you can run the management agent from Operations.

To run a management agent using a script

  • Open a command prompt, and then do one of the following:

    • For Visual Basic, type: cscript script**.vbs**

    • For C#, type: script**.exe**

      Note

      To open a command prompt, click Start, point to All Programs or Programs, point to Accessories, and then click Command Prompt.

      Note

      C# scripts must be compiled into an .exe file with csc.exe.

      Note

      When you run a management agent from a script, you might need to refresh the Management Agents screen by pressing F5 to view current run statistics.

Warning

If your management agent uses rules extensions, do not make changes to the Extensions folder during a run. By default, the extensions folder is C:\Program Files\Microsoft Forefront Identity Server\2010\Synchronization Service\Extensions.

Note

You cannot run more than one run profile for the same management agent at the same time.

Note

You cannot run two or more management agents for Lotus Notes at the same time.

See Also

Concepts

Stop a Management Agent Run
Create a Management Agent Run Profile
Create a Script for a Management Agent Run Profile