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

Nintendo Wii JailBreaking

1. install Hackmii 2. install cIOS38_rev14 (requires IOS36-64-v1042.wad or connection to the Internet) 3. install…

Run Windows Commands Remotely

# RPC WMIC /node:SERVER1 process call create 'powershell.exe' # WinRM winrs -r:SERVER1 powershell.exe # Systernals psexec //SERVER1 powershell.exe

How To Add or Remove a Path in Windows Environmental Paths

There are 2 functions to Add and Remove, at your convenience: # addEnvironmentalPath.ps1 $pathToAdd='C:\Scripts' $pathToRemove='C:\Scripts'…