SteveOH

[SOLVED] Microsoft SQL Server 2008 x64 Error: 15401

by Steve Hernandez on Nov.17, 2009, under Uncategorized

I recently came across this error within an Server 2008 Active Directory Environment where I attempted to add a domain user account to Microsoft SQL Server 2008 x64.

As you may see on the internet, the problem is in fact related to SID, but in my situation it was not the SSID of the user, but of the actual server.  The instance of Server 2008 x64 is running in VMWare Workstation 7 and was created by cloning another VM.  This, of course, makes them identical, such that changing the computer name only results in what ‘appears’ to be disparite systems.  In a workgroup this shouldn’t be an issue, but once Active Directory is introduced, it gets wacky.  AD relies on SID’s, and thus, acts unpredictably when 2 machines / users / groups have the same SID.  This is further exagerated when SQL Server is involved, since it creates and / or stores its own SID for the user.

Here are the steps I followed to solve this issue:

  1. Remove the server running SQL Server from the domain.  Reboot.
  2. Verify the AD Computer Account has been deleted for the system (on a domain controller).
  3. Run newSID.exe (found here) and change the SID of the server running SQL Server to a new random SID.  Reboot.
  4. Add server back to the domain and verify the account is created within AD.

Once I did all that, the user added with ease.

Good luck.

:, , , , , ,

3 Comments for this entry

  • Jason

    I was able to fix this with just a disjoin/join without re SIDing the server. I had renamed and joined to the domain in one step. I know in past that has been “problematic”.

  • Alencar

    I had the same problem, clone a virtual machine for testing. installing sql server 2008 was quiet but when you add a domain user or group had the error 15 401, follow directions from the guide microsoft solution for this error but was not helpful. finally solved the problem with the steps outlined above.

    Thank you very much

  • Xavier Wolfs

    Thanks Steve, managed to fix this problem thanks to your blog. Been stuck on it for a full day.

Leave a Reply

Looking for something?

Use the form below to search the site:

Still not finding what you're looking for? Drop a comment on a post or contact us so we can take care of it!

Visit our friends!

A few highly recommended friends...