Fix the problem when removing Windows Server 2008 Server Core from the domain

In the following article, we will show you how to handle and fix errors when removing Windows Server 2008 R2 Server Core from the domain system. The case here is that both Core and Domain Controller (DC) systems are virtual machines, when the user tries to switch DC to the state of the previous snapshot, but the Core part cannot access the data source on the DC. ...

TipsMake.com - In the following article, we will show you how to handle and fix errors when removing Windows Server 2008 R2 Server Core from the domain system. The case here is that both Core and Domain Controller (DC) systems are virtual machines, when the user tries to switch DC to the state of the previous snapshot, but the Core part cannot access the data source on the DC. , and therefore users cannot log on using the same Admin account.

Specifically, when a user tries to log in via the domain user account, he / she will receive the following error message:

Fix the problem when removing Windows Server 2008 Server Core from the domain Picture 1Fix the problem when removing Windows Server 2008 Server Core from the domain Picture 1
"Cơ sở dữ liệu bảo vệ trên máy phục vụ không có một tài khoản tài khoản này để trust relationship workstation."

To test, we can follow the instructions below. For Core , it is applied in 1 of 2 ways below:

- Use SCONFIG

- Using NETDOM

First, type SCONFIG in the Command Prompt window, when SCONFIG displays, press 1:

Fix the problem when removing Windows Server 2008 Server Core from the domain Picture 2Fix the problem when removing Windows Server 2008 Server Core from the domain Picture 2

Our 'idea' here is to remove the computer from the domain first, then rejoin it:

Fix the problem when removing Windows Server 2008 Server Core from the domain Picture 3Fix the problem when removing Windows Server 2008 Server Core from the domain Picture 3

Enter the identity of the account in use:

Fix the problem when removing Windows Server 2008 Server Core from the domain Picture 4Fix the problem when removing Windows Server 2008 Server Core from the domain Picture 4

But immediately, the following error message will appear:

Fix the problem when removing Windows Server 2008 Server Core from the domain Picture 5Fix the problem when removing Windows Server 2008 Server Core from the domain Picture 5
"Lỗi kết nối miền."

To continue testing with NETDOM , type the following command at the Command Prompt window :

 netdom / remove% computername% /domain:petri-labs.local / userd: administrator / passwordd: ************ 

then there was an error:

" Between mapping between account names and security IDs was done."
Lỗi câu lệnh không thành công được successfully.

For other User accounts, the result is the same:

 netdom / remove% computername% /domain:petri-labs.local / userd: petri-labsadministrator / passwordd: ************ 

Fix the problem when removing Windows Server 2008 Server Core from the domain Picture 6Fix the problem when removing Windows Server 2008 Server Core from the domain Picture 6

So is the real cause of this problem? It is a system that does not host any corresponding Computer accounts for Server Core in Active Directory Users and Computers!

To fix it, open DC> Active Directory Users and Computers , where we can see very clearly that there are no computer accounts.

Fix the problem when removing Windows Server 2008 Server Core from the domain Picture 7Fix the problem when removing Windows Server 2008 Server Core from the domain Picture 7
Create new Computer by right-clicking and selecting New> Computer

Naming this Computer matches the name of the Server Core computer :

Fix the problem when removing Windows Server 2008 Server Core from the domain Picture 8Fix the problem when removing Windows Server 2008 Server Core from the domain Picture 8
Here is WIN2008-CORE

Fix the problem when removing Windows Server 2008 Server Core from the domain Picture 9Fix the problem when removing Windows Server 2008 Server Core from the domain Picture 9

Then, the process of removing the computer from the complete domain without any problems, restart the system at this step:

Fix the problem when removing Windows Server 2008 Server Core from the domain Picture 10Fix the problem when removing Windows Server 2008 Server Core from the domain Picture 10

When you open Active Directory Users and Computers , you can see that Computer 's corresponding account is locked:

Fix the problem when removing Windows Server 2008 Server Core from the domain Picture 11Fix the problem when removing Windows Server 2008 Server Core from the domain Picture 11

However, it should be noted that such errors often occur with the Core components in the system, more typically with the graphical interfaces such as Windows XP, Vista and 7.

Good luck!

4 ★ | 3 Vote