SQL Server Forums
Profile | Register | Active Topics | Members | Search | Forum FAQ
 
Register Now and get your question answered!
Username:
Password:
Save Password
Forgot your Password?

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

denis_the_thief
Aged Yak Warrior

Canada
591 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.

djj55
Constraint Violating Yak Guru

USA
317 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.

djj
Go to Top of Page

tkizer
Almighty SQL Goddess

USA
36820 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:

http://weblogs.sqlteam.com/lucaz/archive/2011/08/29/running-your-ssms-client-as-a-domain-user.aspx

Tara Kizer
SQL Server MVP since 2007
http://weblogs.sqlteam.com/tarad/
Go to Top of Page

jeffw8713
Aged Yak Warrior

USA
792 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  
 New 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.06 seconds. Powered By: Snitz Forums 2000