Skip to content
Bloggy McBlogface

Bloggy McBlogface

Tag: trust

Cannot Log on to a Renamed Member Server

I came across an interesting problem when renaming two of my hosts that were running Hyper-V 2008 a few days ago – I wanted to rename them from having an “SVR” suffix to a more specific “VS” to denote them as Virtual Servers.

These servers were joined to a Windows 2003 domain, where the domain controllers were virtualised on these hosts (one DC was on each of the Hyper-V boxes).

I did the usual GUI rename steps and then restarted, but then got this error when trying to log on…

The security database on the server does not have a computer account for this workstation trust relationship

After some digging around in adsiedit (actually, I was using the Attribute Editor tab available in the advanced view of the 2008 dsa.msc snap-in) looking at the attributes of the computer account, it looked like the rename didn’t quite work correctly because the servicePrincipalName attribute was incorrect. Instead of the new machine name in the entries, it was the old name, yet the computer account was renamed correctly.

I renamed the following entries…

HOST/BNE01SVR
HOST/BNE01SVR.mydomain.internal
Microsoft Virtual Console Service/BNE01SVR
Microsoft Virtual Console Service/BNE01SVR.mydomain.internal
TERMSRV/BNE01SVR
TERMSRV/BNE01SVR.mydomain.internal

…to…

HOST/BNE01VS
HOST/BNE01VS.mydomain.internal
Microsoft Virtual Console Service/BNE01VS
Microsoft Virtual Console Service/BNE01VS.mydomain.internal
TERMSRV/BNE01VS
TERMSRV/BNE01VS.mydomain.internal

…and then I was able to log in fine.

I haven’t really thoroughly investigated this issue, so I don’t know whether this is a specific 2008 thing, or whether you woud see the same thing in a 2003 setup, but my guess is that I caused this problem myself by renaming the Hyper-V boxes when they were hosting the only DC’s in the environment, and therefore the problem was caused by replication timing.

In any case, if you get this error, renaming the entries in the servicePrincipalName attribute should do the trick.

Author Mathew MirabitoPosted on December 7, 2008Categories WindowsTags adsiedit, adsiedit.msc, attribute, attribute editor, computer account, dc, domain controller, dsa.msc, hyper-v, hyper-v 2008, hyperv, hyperv 2008, machine account, relationship, rename, rename computer, rename machine, rename server, replication, serviceprincipalname, termsrv, the security database on the server does not have a computer account for this workstation trust relationship, trust, virtual, virtual server, vs 2008, workstation, workstation trust relationshipLeave a comment on Cannot Log on to a Renamed Member Server

Recent Posts

  • Error 456 for Exchange Online autodiscover
  • SMTP error from remote mail server after end of data: 550 Action not taken
  • OneDrive stuck forever “processing changes”
  • Example Arduino code for debouncing and long pressing buttons
  • Azure directory synchronisation fails with “Invalid namespace”

Recent Comments

  • Rafael B on SMTP error from remote mail server after end of data: 550 Action not taken
  • Smtp Error From Remote Mail Server After End Of Data » LoginCast.Com on SMTP error from remote mail server after end of data: 550 Action not taken
  • Pradeep K Liyanage on Example Arduino code for debouncing and long pressing buttons
  • Ing Posada on SMTP error from remote mail server after end of data: 550 Action not taken
  • Ian on OneDrive stuck forever “processing changes”

Archives

  • August 2019
  • October 2018
  • February 2018
  • September 2017
  • July 2015
  • August 2014
  • July 2014
  • February 2014
  • May 2013
  • March 2013
  • December 2012
  • November 2012
  • May 2011
  • March 2011
  • February 2011
  • December 2010
  • November 2010
  • September 2010
  • June 2010
  • May 2010
  • April 2010
  • November 2009
  • October 2009
  • September 2009
  • June 2009
  • April 2009
  • March 2009
  • January 2009
  • December 2008
  • November 2008
  • October 2008
  • May 2008

Categories

  • Electronics
  • General
  • Linux
  • Network
  • Windows

Meta

  • Log in
  • Entries feed
  • Comments feed
  • WordPress.org
Bloggy McBlogface Proudly powered by WordPress