Posted On March 31, 2019

Run mmc with elevated domain administrator permissions

kimconnect 0 comments
blog.KimConnect.com >> Windows >> Run mmc with elevated domain administrator permissions
Method 1: Create a link with this path
C:\Windows\System32\runas.exe /profile /env /user:[domain]\[user] “cmd /c mmc C:\Scripts\Toolbox.msc”
 
Method 2: create a batch file with this command
psexec -d -u <domain>\<user> -p <password> “%windir%\system32\cmd /c %windir%\system32\mmc.exe C:\Scripts\Toolbox.msc”

Leave a Reply

Your email address will not be published. Required fields are marked *

Related Post

PowerShell: Checking Duplicating Identifiers Among ADFS Relying Party Trusts

function getDuplicatingIfd{ write-host "Checking each relying party trust for any duplicates of identifiers..." $trusts=Get-AdfsRelyingPartyTrust $allTrustNames=$trusts.Name…

Script to Disable User Accounts

accountsToDisable.txtorangeapplepeartermed user REM disableAccounts.batREM read accountsToDisable.txt and convert names into proper DN entries. Save result…

SAN Storage: Using 3PAR StoreServ to Provision LUNs for vSphere ESXi or Windows Server

Overview: Assumptions MDS Zoning Configuration has been completed. Operating Systems ESXi OS has been installed…