Share via

Error SQL72014: .Net SqlClient Data Provider: Msg 15404, Level 16, State 11, Line 1 Could not obtain information about Windows NT group/user 'DESKTOP-QEMQDPL\alenc', error code 0x534.

Alen Cappelletti 1,047 Reputation points
2021-10-03T14:06:48.167+00:00

Hi, in many situation (not always) I got this error... now I'm trying to install using powershell a library.
"DESKTOP-QEMQDPL\alenc" was the name of my workstation before I renamed it... unfortunately after SQL SERVER installation.

It's my DEV environment and this was the name of the sysadmin windows authentication.

There is a way for fixe it definitely.
Alen

SQL Server | Other
SQL Server | Other

Additional SQL Server features and topics not covered by specific categories

0 comments No comments

Answer accepted by question author

Erland Sommarskog 134.7K Reputation points MVP Volunteer Moderator
2021-10-03T17:40:20.927+00:00

What does SELECT @@servername return? May I guess DESKTOP-QEMQDPL?

Do this:

EXEC sp_dropserver 'DESKTOP-QEMQDPL'
EXEC sp_addserver 'MACHINENAME', 'local'

And then restart SQL Server. Verify that SELECT @@servername now returns the correct name.

Also check sys.server_principals if there are any logins with the old machine name:

ALTER LOGIN [DESKTOP-QEMQDPL\login] WITH NAME = [MACHINENAME\login]

Was this answer helpful?


0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.