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

How to Install PowerShell Module on An Offlined Computer

# Download the desired module onto a 'jump host' (an intermediary computer that has access…

PowerShell: Kill a Windows Service Forcefully

# killService.ps1 $serviceName='vmms' function killService($serviceName='Spooler',$restart=$false){ $processId=Get-WmiObject -Class Win32_Service -Filter "Name LIKE '$serviceName'"|Select-Object -ExpandProperty ProcessId if($processId.count…

Windows Server: Fibre Channel HBA Administration

Overview High performance servers, such as those being designated for SQL database workloads, are often…
Other project: DragonCoin.com