SQL Server Management Studio AddOn - runas /netonly

SQL Server Management Studio AddOn - runas /netonly

avatar

I am a remote service provider, so most of my connections are made from computers that are not on the customer's domain. Can a "/netonly" option be added to the "RunAs" feature of the SSMS plugin? I imagine the same option can be shared across all runas programs.

The current workaround is to setup a command line call to SSMS, but having it implemented directly in runas or the SSMS addon will be a little more straight forward. http://help.remotedesktopmanager.com/index.html?tipsandtricks_runas_manualrunas.htm

All Comments (12)

avatar

Hi,

I will add a feature request that. Thank you

David Hervieux

avatar

Done, you can now set the "Net Only".

Until this morning it was impossible to do in code since you can't set the NetOnly option when using ProcessStartInfo and using RunAs.exe is impossible to send the password via a parameter but this morning we got a break through and got it working.

Download the attached dll file and copy into your AddOn folder. Under normal installs it should be here:

%localappdata%\Devolutions\RemoteDesktopManager

Once you let me know all is good, I will publish it via the website.

Best regards,

Stéfane Lavergne

avatar

Nice, that was quick! I am not seeing the ddl in case the attachment did not make it.

Thanks,

Shad

avatar

Sorry here is the file (.zip) this time.

Best regards,

(I deleted the file, since it had a bug, see other message in thread)

edited by slavergne on 4/30/2015

Stéfane Lavergne

avatar

Thanks, I just tried it, and it seems to work with or without the "Net Only" checkbox checked. I am not sure if it will break anyone else, but maybe we do not need the checkbox if it defaults to Net Only.

avatar

It's most probably a "feature" aka bug :-)

Stéfane Lavergne

avatar

Here try this one, will fix always NetOnly bug.

Best regards,

Stéfane Lavergne

avatar

Looks good! The checkbox seems to be working as expected, and I was able to setup and test a few new connections. I'm sure a few other users will like this fix.

avatar

I've published the update for the Sql Server Management Studio Add-on

http://remotedesktopmanager.com/Home/AddOn#sqlservermanagementstudio

Stéfane Lavergne

avatar

Stefane, would there be any reason, when I have SSMS 2012 installed on my local PC I'm running RDM on, that it pops up with the box "Unable to find SQL Server Management Studio executable!!!"?

Normally I get prompted with a window that allows me to point the add-on the the correct installation location, but in this case, I do not. I'm running Win7 Enterprise w/ SP1 and have SSMS executable installed here: "C:\Program Files (x86)\Microsoft SQL Server\110\Tools\Binn\ManagementStudio\Ssms.exe"

Is there a location within RDM that holds all of the external application binary locations that I can edit so that it knows where to look for those applications?