Solved

virtual server has lost trust relationship inside virtual server that has own DC

Posted on 2011-09-29
2
268 Views
Last Modified: 2012-05-12
We have a Microsoft Windows 2008R server with hyperV that has a couple of virtual servers on it.  It has it's own domain and one of the virtual servers is a domain controller. Another of the virtual servers is an Exchange 2010 box which has worked well.

We had decommissioned the exchange server because we were bought by another company and have gone on their domain and exchange server.

However, the box is sitting there and was OK when we disconnected it from the network.  I was trying to get on the Exchange server the other day to get off some information that I needed.  I brought it up and it wasn't responding properly so I stopped and started it.  When I did, the Informaiton Store just said STARTING and wouldn't go to STARTED.  I had another image of the exchange server, so I reverted to the prior image.

When the Exchange server came back up, it said that the "trust relationship between the workstation and the primary domain failed".

I logged back on and it allowed me to log on as administrator of the machine, but not as administrator of the domain.

Do I just follow the same steps I would take as if this was a PC to regain trust?  Or do the steps have to be different because it is a virutal server?

Here are the steps I would use:

Delete the offending Computer Account that resides in Active Directory.
Delete the Computer’s IP Lease(s) in DHCP
On the client:  Log onto the local machine (not the Domain) as an Admin.
Unjoin the Domain by joining a “TEMP” workgroup.
Reboot
Log into TEMP workgroup as the Admin.
Rename the Computer.
Reboot
Log into the Local Machine, now rejoin the Domain.
Reboot
Login into the Domain.
Rename the Computer back to what I originally wanted.
Reboot
0
Comment
Question by:gleasoninc
2 Comments
 
LVL 42

Accepted Solution

by:
kevinhsieh earned 500 total points
ID: 36815653
Treat the VM just like a physical machine for rejoining the domain. You don't need to delete the DHCP lease, but otherwise your steps are correct.
0
 
LVL 12

Expert Comment

by:Deepu Chowdary
ID: 36816908
Yes unjoin and rejoin will do it for you.
0

Featured Post

Problems using Powershell and Active Directory?

Managing Active Directory does not always have to be complicated.  If you are spending more time trying instead of doing, then it's time to look at something else. For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Veeam Backup & Replication has added a new integration – Veeam Backup for Microsoft Office 365.  In this blog, we will discuss how you can benefit from Office 365 email backup with the Veeam’s new product and try to shed some light on the needs and …
In this article, I will show you HOW TO: Perform a Physical to Virtual (P2V) Conversion the easy way from a computer backup (image).
This tutorial will walk an individual through the steps necessary to enable the VMware\Hyper-V licensed feature of Backup Exec 2012. In addition, how to add a VMware server and configure a backup job. The first step is to acquire the necessary licen…
how to add IIS SMTP to handle application/Scanner relays into office 365.

910 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now