This is an old revision of the document!


Active Directory

Tools

run-mmc.bat

Run AD domain tools from machines not joined to domain.

@echo off
@rem This script allows mmc to be ran for AD domains from non domain joined machines.
@rem Run this script as administrator.
set /p USER="Username: "
runas /netonly /user:contoso.com\%USER% "mmc C:\Users\Public\Desktop\contoso.msc /server=contoso.com"
pause
  • active_directory.1642426343.txt.gz
  • Last modified: 2022/01/17 13:32
  • by mgupton