Wednesday, February 12, 2020

Run MSC using RunAs

At times you need to run MSC as a different user. Specifically for active directory users and computers when managing AD objects. I have to run this app as an elevated admin to make changes. Finally made a shortcut and documenting it here for the future.

C:\Windows\System32\runas.exe /user:DOMAIN\user /savecred "cmd /c start /b mmc %SystemRoot%\system32\dsa.msc"

0 comments:

Post a Comment