Fix the problem when removing Windows Server 2008 Server Core from the domain
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:
"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:
Our 'idea' here is to remove the computer from the domain first, then rejoin it:
Enter the identity of the account in use:
But immediately, the following error message will appear:
"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:
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: ************
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.
Create new Computer by right-clicking and selecting New> Computer
Naming this Computer matches the name of the Server Core computer :
Here is WIN2008-CORE
Then, the process of removing the computer from the complete domain without any problems, restart the system at this step:
When you open Active Directory Users and Computers , you can see that Computer 's corresponding account is locked:
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!
You should read it
- Instructions for installing Active Directory on Windows Server 2008
- Instructions for creating a Domain Controller - DC on Windows Server 2012
- 5 ways to install updates on Windows Server 2008 R2 Core
- How to install Active Directory on Windows Server 2019
- Deploy Domain System On Windows Server 2003 Active Directory
- Server Core - Install Roles and Features
- Restore deleted components in Active Directory
- Run Windows Server 2008 R2 - Install and create a Lab Domain Controller (Part 1)
- Prevent deleting data in Windows Server 2003 Active Directory
- 10 tips with PowerShell in Windows Server 2008 - Part 2
- Deploy KMS activation on Windows Server 2008
- Theory - What is Active Directory?
May be interested
Restore deleted components in Active Directory
Transfer system from Windows Small Business Server 2003 to SBS 2011
Troubleshoot service errors in Windows Server 2008 R2 - Part 1
Instructions for creating virtual hosts with Apache in Ubuntu
Configure the Lightweight Directory Service service - Part 5
Instructions for configuring DNS Service Discovery