SEAN BOUDREAU1709152297 Posted July 10, 2013 Share Posted July 10, 2013 What i would like to do is publish ADUC but i want to do the equivalent of a right click and run as different user so when it opens i can enter my admin creds. Thanks Link to comment
1 SEAN BOUDREAU1709152297 Posted September 5, 2013 Author Share Posted September 5, 2013 Thanks, that got me on the right track... ended up using powershell and then calling a power shell script that had Start-Process -FilePath "C:\Windows\System32\mmc.exe" -Credential (Get-Credential) -ArgumentList “dsa.msc” Did the trick 1 Link to comment
0 Alvaro Diogenes Bastida Posted September 5, 2013 Share Posted September 5, 2013 1 - Publish a .cmd file. E.G: call.cmd. In this content call dsa.msc call.cmd C:\Windows\System32\runas.exe /user:YourADMuser dsa.msc 2- It will ask your for the password. I hope it helps. 1 Link to comment
0 Dave Morse Posted October 29, 2014 Share Posted October 29, 2014 @Sean Just what I was looking for, except it didn't handle spaces in the argument list. I was trying to launch the Exchange Management Console.msc My final working fix was: Start-Process -FilePath "C:\Windows\System32\mmc.exe" -Credential (Get-Credential) -ArgumentList '"C:\Program Files\Microsoft\Exchange Server\V14\Bin\Exchange Management Console.msc"' Note the double quotes are embedded in single quotes for the argument list. Also, I am using Powershell 4. Link to comment
0 Leandro Goncalves1709153010 Posted December 3, 2014 Share Posted December 3, 2014 In my case, I'm using CPAU Software.http://www.joeware.net/freetools/tools/cpau/ Link to comment
0 Nelson Kaeppel Posted November 20, 2019 Share Posted November 20, 2019 How did you get past the Get-Credential prompt? I am trying to launch a published app the uses Get-Credential, and the GUI pop-up for Get-Credential never shows up In the seamless application window (it acts almost like a UAC prompt). If I go full screen, then I see it. But in the seamless mode, I get nothing. Thanks NK Link to comment
Question
SEAN BOUDREAU1709152297
What i would like to do is publish ADUC but i want to do the equivalent of a right click and run as different user so when it opens i can enter my admin creds.
Thanks
Link to comment
5 answers to this question
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now