I want to connect to a SQL Database that is on a domain. I can ping the server no problem, and I’m connecting to it from a VPN.
The problem is in SQL Management Studio, when Windows Authentication is selected (as opposed to SQL Authentication) and this is on the make new connection dialog. The Username field is disabled, so you can’t just type in [domain]\username.
This is a pretty big show stopper for me, but I can’t believe management studio is so limited as to not allow you to connect with an account other than logged in user.
Is there something wrong with my installation or is this the way it is?
Any work arounds? If not a better tool than SQL Management Studio (which I kinda like).
Thanks
You need to use
runas .. netonlywhen starting up SSMS to use Windows Authentication with different credentials (You might need to change the path to the executable depending upon what version you are on)NB: To future readers if you get a generic “invalid credentials” type message when trying this please read the comments trail below!