Please start any new threads on our new site at We've got lots of great SQL Server experts to answer whatever question you can come up with.

Our new SQL Server Forums are live! Come on over! We've restricted the ability to create new threads on these forums.

SQL Server Forums
Profile | Active Topics | Members | Search | Forum FAQ
Save Password
Forgot your Password?

 All Forums
 SQL Server 2008 Forums
 SQL Server Administration (2008)
 Connect with Windows Account
 Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

Aged Yak Warrior

596 Posts

Posted - 10/03/2013 :  09:29:09  Show Profile  Reply with Quote
I need to connect to a Remote account. I have a Windows Account for this remote machine. To connect to the Database, I RDP which includes entering a password. When I RDP to the machine, I can run SSMS and I can connect with Windows Authentication.

My question is can I connect directly using my SSMS, i.e. without RDPing. As I seem to have everything just that my Windows Account requires a password to connect to Windows and the Windows Authentication has no option for a password.

Constraint Violating Yak Guru

352 Posts

Posted - 10/03/2013 :  09:43:48  Show Profile  Reply with Quote
Since with Windows Authentication you have already logged on with a username/password (to Windows) you do not need to log on again to SQL Server.

You may be able to connect directly to the SQL Server without RDPing to a separate system, if your computer has the rights to do so.

Go to Top of Page

Almighty SQL Goddess

38200 Posts

Posted - 10/03/2013 :  13:06:15  Show Profile  Visit tkizer's Homepage  Reply with Quote
So the account on the remote machine is not the same account that you use to log into your computer? If not, then use this trick:

Tara Kizer
SQL Server MVP since 2007
Go to Top of Page

Aged Yak Warrior

819 Posts

Posted - 10/03/2013 :  14:10:56  Show Profile  Reply with Quote
Another option is to download ShellRunAs from SysInternals. Once you have that, you can register the /netonly option and it will create a context menu item.

With that, you can then right-click (or shift right-click) any application and use the new context menu item to run as with network credentials. This will prompt you with a dialog box where you can enter the domain credentials instead of entering the credentials in a command window. ShellRunAs does open a command window - but you can close it once you enter your credentials.
Go to Top of Page
  Previous Topic Topic Next Topic  
 Reply to Topic
 Printer Friendly
Jump To:
SQL Server Forums © 2000-2009 SQLTeam Publishing, LLC Go To Top Of Page
This page was generated in 0.04 seconds. Powered By: Snitz Forums 2000