how do you keep a console open after a runas command completes?

Posted by Ben Collins on Super User See other posts from Super User or by Ben Collins
Published on 2010-04-09T20:20:27Z Indexed on 2010/04/09 20:23 UTC
Read the original article Hit count: 466

Filed under:
|
|

I'm trying to run the SharePoint 'stsadm' command using 'runas /user:spsetup "stsadm args...". The user authenticates, and the program runs, but it runs in a new console window which closes immediately upon termination of the 'stsadm' program. What can I do to keep it open?

© Super User or respective owner

Related posts about Windows

Related posts about runas