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

    Option Description
    Use default credentials Use the credentials from the Windows session.
    Use session credentials Use the same credentials as the session.
    Prompt for credentials Prompts for the credentials on use.
    Custom Enter a custom username, domain, and password.
    Linked (vault) Specify a set of credentials from a specific vault.
    My personal credentials Use My Personal Credentials set in File – My account settings.
    My privileged account Use 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