remove sub-domain on root domain

P

Pcnetnet

Hi All,
I have problem on AD, we have sub-domain A.abc.com, on this domain
contoller already delete on this domain ,remove this domain not choose this
DC is last server , so i use the ADSI connect to domain abc.com , i can see
the domain on ADSI , i cannot create user , if the username as same as
a.abc.com , but i cannot delete the username on a.abc.com , becuase this
domain is remove , how to remove this domain on AD , i try ntdsutil metadata
cleanup , but no success , how to remove , i cannot create many user account
on domain abc.com , Help ..........Thanks,


NTDSutil command
select operation target: list site
Found 10 site(s)
0 - CN=Default-First-Site-Name,CN=Sites,CN=Configuration,DC=sml,DC=com
1 - CN=Korea,CN=Sites,CN=Configuration,DC=sml,DC=com
2 - CN=Thailand,CN=Sites,CN=Configuration,DC=sml,DC=com
3 - CN=HongKong,CN=Sites,CN=Configuration,DC=sml,DC=com
4 - CN=RPDI,CN=Sites,CN=Configuration,DC=sml,DC=com
5 - CN=Vietnam,CN=Sites,CN=Configuration,DC=sml,DC=com
6 - CN=DR_Site,CN=Sites,CN=Configuration,DC=sml,DC=com
7 - CN=US,CN=Sites,CN=Configuration,DC=sml,DC=com
8 - CN=China-DG,CN=Sites,CN=Configuration,DC=sml,DC=com
9 - CN=UKC,CN=Sites,CN=Configuration,DC=sml,DC=com
select operation target:
select operation target: select domain 5
No current site
Domain - DC=china-dg,DC=sml,DC=com
No current server
No current Naming Context
select operation target: list site
Found 10 site(s)
0 - CN=Default-First-Site-Name,CN=Sites,CN=Configuration,DC=sml,DC=com
1 - CN=Korea,CN=Sites,CN=Configuration,DC=sml,DC=com
2 - CN=Thailand,CN=Sites,CN=Configuration,DC=sml,DC=com
3 - CN=HongKong,CN=Sites,CN=Configuration,DC=sml,DC=com
4 - CN=RPDI,CN=Sites,CN=Configuration,DC=sml,DC=com
5 - CN=Vietnam,CN=Sites,CN=Configuration,DC=sml,DC=com
6 - CN=DR_Site,CN=Sites,CN=Configuration,DC=sml,DC=com
7 - CN=US,CN=Sites,CN=Configuration,DC=sml,DC=com
8 - CN=China-DG,CN=Sites,CN=Configuration,DC=sml,DC=com
9 - CN=UKC,CN=Sites,CN=Configuration,DC=sml,DC=com
select operation target: select site 8
Site - CN=China-DG,CN=Sites,CN=Configuration,DC=sml,DC=com
Domain - DC=china-dg,DC=sml,DC=com
No current server
No current Naming Context
select operation target: list server in site
Found 0 server(s)
select operation target: ?

? - Show this help information
Connections - Connect to a specific domain controller
Help - Show this help information
List current selections - List the current site/domain/server/Naming
Cont
ext
List domains - Lists all domains which have Cross-Refs
List domains in site - Lists domains in the selected site
List Naming Contexts - Lists known Naming Contexts
List roles for connected server - Lists roles connected server knows about
List servers for domain in site - Lists servers for selected domain and
site
List servers in site - Lists servers in selected site
List sites - List sites in the enterprise
Quit - Return to the prior menu
Select domain %d - Make domain %d the selected domain
Select Naming Context %d - Make Naming Context %d the selected Naming
Cont
ext
Select server %d - Make server %d the selected server
Select site %d - Make site %d the selected site

select operation target: q
metadata cleanup: ?

? - Show this help information
Connections - Connect to a specific domain controller
Help - Show this help information
Quit - Return to the prior menu
Remove selected domain - Remove DS objects for selected domain
Remove selected Naming Context - Remove DS objects for selected Naming
Context
Remove selected server - Remove DS objects for selected server
Remove selected server %s - Remove DS objects for selected server
Remove selected server %s on %s - Remove DS objects for selected server
Select operation target - Select sites, servers, domains, roles and
naming contexts

metadata cleanup: remove selected domain ?
Error 80070057 parsing input - illegal syntax?
metadata cleanup: remove selected domain china-dg.sml.com
Error 80070057 parsing input - illegal syntax?
metadata cleanup: remove selected domain
DsRemoveDsDomainW error 0x2015(The directory service can perform the
requested o
peration only on a leaf object.)
metadata cleanup:
 
M

Meinolf Weber

Hello pcnetnet,

Just to understand you correct, the last DC from the subdomain is demoted
and you have only the old subdomainname listed in the root domain? What's
the part about user creation in a non-existing domain?

Or was the only domain controller deleted in Active directory without demoting
it? Then see here:
http://support.microsoft.com/kb/255229

See here about removing a domain:
http://support.microsoft.com/kb/230306


Best regards

Meinolf Weber
Disclaimer: This posting is provided "AS IS" with no warranties, and confers
no rights.
** Please do NOT email, only reply to Newsgroups
** HELP us help YOU!!! http://www.blakjak.demon.co.uk/mul_crss.htm
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top