How do you fix Login failed the login is from an untrusted domain and Cannot be used with Windows Authentication?
Rachel Hickman
Published Mar 17, 2026
How do you fix Login failed the login is from an untrusted domain and Cannot be used with Windows Authentication?
This problem may be due to the incorrect server authentication method used by your database server. If this case, you can try to right-click your server in SQL–select properties, and check the server authentication as “SQL Server and Windows Authentication Mode” in the security page.
How do I connect to SQL Server Remote using Windows Authentication?
Connect to your server and right click your server and click Properties. Go to the Security page and for Server Authentication, select SQL Server and Windows Authentication mode. Then, go to the Connections page and ensure that “Allow remote connections to this server” is checked and click OK.
How do I enable integrated security in SQL Server?
To implement SQL Server integrated security, perform the following steps:
- From SQL Enterprise Manager, right-click the SQL Server name that appears in the Server Manager window and click Configure on the shortcut menu.
- Click Security Options.
- Select Windows NT Integrated as the Login Security Mode, and then click OK.
How do I turn off Windows Authentication in SQL?
- Login Using SQL Server Authentication mode,
- Run the following script. USE [master] GO ALTER LOGIN [DomainName\Login] DISABLE GO.
How do you solve Login failed the login is from an untrusted domain and Cannot be used with Windows Authentication?
Go to properties. Click on the security tab. Change “Server authentication” to “SQL Server and Windows Authentication mode”. You might have to restart the SQL services.
How do I change SQL Server to use both Windows and SQL Server?
On the Object Explorer window right click on the server name and go to Properties.
- Select the Security section. Under Server Authentication change the selection from Windows Authentication mode to SQL Server and Windows Authentication mode. Click Ok.
- Click Ok.
How do I log into SQL Server with Windows authentication?
Open SQL Server Management Studio. In Connect to Server, select Database Engine, enter your SQL Server name, and enter administrator credentials to connect to the server. Select Connect. In Object Explorer, expand the SQL Server, expand Security, right-click Logins, and then select New Login.
How do I change Windows authentication to SQL authentication?
What is the difference between integrated security and trusted connection?
In short. Trusted_connection is same as integrated security. SSPI is equivalent to true. Persist security info controls if the password is returned as part of the connections string.
What is SQL Server trusted connection?
A Trusted connection means Windows Authentication (i.e. a Windows login). SQL Server has two Authentication modes: Mixed and Windows Authentication Mode. Mixed has the option of SQL server logins (username and password) and Windows Authentication.
How do I remove Windows authentication?
For Internet Explorer and Chrome browser
- Navigate through Menu bar to Tools -> Internet Options -> Security.
- Select Local Intranet and Click on “Custom Level” button.
- Scroll to bottom of the window to User Authentication section, select “Prompt for user name and password”
- Click Ok, Apply and Ok to save changes.
How do I enable Windows authentication in SQL Server 2014?
Change authentication mode with SSMS
- In SQL Server Management Studio Object Explorer, right-click the server, and then click Properties.
- On the Security page, under Server authentication, select the new server authentication mode, and then click OK.
How do I create a SQL login?
Create Windows Login in SQL Server Management Studio. In order to create windows login, please expand the Security folder, and right-click on the Login folder to open the context menu. Please select the New Login.. option to create a login. Once you select the New Login.. option, following window will be opened.
How to script login and user permissions in SQL Server?
Start ApexSQL Script.
Can Informatica access SQL Server with Windows Authentication?
Is it possible to use WINDOWS authentication of SQL Server in Informatica Connection Strings Yes; if you have access to the server, your ‘Log On As’ id for the Informatica app in the Services console (on the server) should be the same as the one you are logging in with to your client.
What is a SQL Server?
Summary: SQL Server is defined as a relational database management system (RDBMS) developed by Microsoft T-SQL means Transact-SQL, a propriety Language by Microsoft Microsoft and Sybase released version 1.0 in 1989 Various Editions of SQL Server are Enterprise, Standard, Web, Developer, and Express