Automating Remote Microsoft Management Console (MMC)

On this page

You can configure a MMC snap-in console to run on any of your servers. The snap-in needs to support remote access.

Settings

  1. Create the session tool via Edit – New entry.

  2. In Macro/Script/Tool, select the Command Line entry type.

  3. Name the session DHCP.

  4. Under the General tab, in the Run field, type dhcpmgmt.msc /ComputerName $HOST$ ($HOST$ is the variable that will be replaced by the server name or IP address).

    Run
    Run

  5. Under the Advanced tab, enable Run as Administrator.

    If you are running a Windows 64-bit edition, enable Run in 64-bit mode as well.

  6. Click Add to save your entry.

  7. Verify that your sessions use the appropriate credentials to run the tool. In the Management Tools – Tools section of each session, make sure you have selected the proper credentials to be supplied.

    Management Tools – Tools – Credentials
    Management Tools – Tools – Credentials

    OptionDescription
    Use default credentialsUse the credentials from the Windows session.
    Use session credentialsUse the same credentials as the session.
    Prompt for credentialsPrompts for the credentials on use.
    CustomEnter a custom username, domain, and password.
    Linked (vault)Specify a set of credentials from a specific vault.
    My personal credentialsUse My Personal Credentials set in File – My account settings.
    My privileged accountUse My Privileged Account set in File – My account settings.

To run the snpa-in, select your session and execute the tool from the dashboard.

Run from the dashboard
Run from the dashboard

Devolutions Forum logo Give us Feedback