Remove a Child Domain from Root Domain running Windows Server 2019 (Child Domain unavailable)
780 بار بازدید -
6 سال پیش
-
Donate Us : paypal.me/MicrosoftLabRemove a
Donate Us : paypal.me/MicrosoftLab
Remove a Child Domain from Root Domain running Windows Server 2019 (Child Domain unavailable - for lab environment)
1. Prepare
DC31 : Domain Controller(Yi.vn - Root Domain) | DC32 : Domain Controller(Site01.Yi.vn - Child Domain - Unavailable)
2. Step by step : Remove Site01.Yi.vn from Yi.vn (Site01.Yi.vn unavailable)
DC31 : Remove Site01.Yi.vn
Start - cmd - ping Site01.Yi.vn, ping DC32.Site01.Yi.vn === fail # Check Site01.Yi.vn
Server Manager - Tools - Active Directory Users and Computers - Right-click 'Active Directory Users and Computers [DC31.Yi.vn]' - Change Domain...
Browse... : Site01.Yi.vn - OK === Unavailable # Check Site01.Yi.vn
Computers Container - Right-click DC32 - Delete
Server Manager - Tools - DNS - DC31 - Forward Lookup Zones - Yi.vn - Right-click Site01 - Delete
Server Manager - Tools - ADSI Edit - Right-click 'ADSI Edit' - Connect to... - Select a well known Naming Context : Default naming Context
Default naming Context [DC31.Yi.vn] - DC=Yi,DC=vn - CN=System - Right-click 'CN=Site01.Yi.vn' - Delete - Yes
Right-click 'ADSI Edit' - Connect to... - Select a well known Naming Context : Choose 'Configuration' - Configuration[DC31.Yi.vn] - CN=Configuration,DC=Yi,DC=vn
CN=Sites - CN=Default-Fist-Site-Name - CN=Servers - Right-click 'CN=DC32' - Delete - Yes
Start - cmd, type :
ntdsutil + ntdsutil : partition management + partition management : connections
server connections : connect to server DC31 + server connections : quit + partition management : list (Found 7 Naming Context(s))
0 - CN=Configuration,DC=Yi,DC=vn
1 - DC=Yi,DC=vn
2 - CN=Schema,CN=Configuration,DC=Yi,DC=vn
3 - DC=DomainDnsZones,DC=Yi,DC=vn
4 - DC=ForestDnsZones,DC=Yi,DC=vn
5 - DC=Site01,DC=Yi,DC=vn
6 - DC=DomainDnsZones,DC=Site01,DC=Yi,DC=vn
partition management: delete nc DC=DomainDnsZones,DC=Site01,DC=Yi,DC=vn === The operation was successful === OK
partition management: delete nc DC=Site01,DC=Yi,DC=vn === The operation was successful === OK
Server Manager - Tools - Active Directory Users and Computers - Yi.vn - Find object in Active Directory Domain Services === Site01.Yi.vn removed
-----------------------------------------------------------------******************** microsoftlab ********************------------------------------------------------------------
Remove a Child Domain from Root Domain running Windows Server 2019 (Child Domain unavailable - for lab environment)
1. Prepare
DC31 : Domain Controller(Yi.vn - Root Domain) | DC32 : Domain Controller(Site01.Yi.vn - Child Domain - Unavailable)
2. Step by step : Remove Site01.Yi.vn from Yi.vn (Site01.Yi.vn unavailable)
DC31 : Remove Site01.Yi.vn
Start - cmd - ping Site01.Yi.vn, ping DC32.Site01.Yi.vn === fail # Check Site01.Yi.vn
Server Manager - Tools - Active Directory Users and Computers - Right-click 'Active Directory Users and Computers [DC31.Yi.vn]' - Change Domain...
Browse... : Site01.Yi.vn - OK === Unavailable # Check Site01.Yi.vn
Computers Container - Right-click DC32 - Delete
Server Manager - Tools - DNS - DC31 - Forward Lookup Zones - Yi.vn - Right-click Site01 - Delete
Server Manager - Tools - ADSI Edit - Right-click 'ADSI Edit' - Connect to... - Select a well known Naming Context : Default naming Context
Default naming Context [DC31.Yi.vn] - DC=Yi,DC=vn - CN=System - Right-click 'CN=Site01.Yi.vn' - Delete - Yes
Right-click 'ADSI Edit' - Connect to... - Select a well known Naming Context : Choose 'Configuration' - Configuration[DC31.Yi.vn] - CN=Configuration,DC=Yi,DC=vn
CN=Sites - CN=Default-Fist-Site-Name - CN=Servers - Right-click 'CN=DC32' - Delete - Yes
Start - cmd, type :
ntdsutil + ntdsutil : partition management + partition management : connections
server connections : connect to server DC31 + server connections : quit + partition management : list (Found 7 Naming Context(s))
0 - CN=Configuration,DC=Yi,DC=vn
1 - DC=Yi,DC=vn
2 - CN=Schema,CN=Configuration,DC=Yi,DC=vn
3 - DC=DomainDnsZones,DC=Yi,DC=vn
4 - DC=ForestDnsZones,DC=Yi,DC=vn
5 - DC=Site01,DC=Yi,DC=vn
6 - DC=DomainDnsZones,DC=Site01,DC=Yi,DC=vn
partition management: delete nc DC=DomainDnsZones,DC=Site01,DC=Yi,DC=vn === The operation was successful === OK
partition management: delete nc DC=Site01,DC=Yi,DC=vn === The operation was successful === OK
Server Manager - Tools - Active Directory Users and Computers - Yi.vn - Find object in Active Directory Domain Services === Site01.Yi.vn removed
6 سال پیش
در تاریخ 1397/10/14 منتشر شده
است.
780
بـار بازدید شده