A while back I came across a need for this and dug up the following batch script to do the trick for me:
1 2 3 4 5 |
@Echo Off set INPUT= set /P INPUT=Username: %=% C:\Windows\System32\runas.exe /user:pioneer\%INPUT% "cmd /c start /B mmc %windir%\system32\dsa.msc" |
As one would expect, this will only work if RSAT is installed on the computer it is ran on.