When you join a server or any computer to the domain it should appear in the computers OU. Unless it is a domain controller then it will appear in the domain controller OU by default.
Main Topics
Browse All TopicsIf I join a server to the domain [make it member server] , can I see it in the Active directory? or where can I confirm that's joined to the domain?
thanks
This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.
Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.
If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.
Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.
Access the answers to your technology questions today.
30-day free trial. Register in 60 seconds.
Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Try it out and discover for yourself.
30-day free trial. Register in 60 seconds.
Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.
Try force replication. If all your domain controllers are on the same site, you can use Active Directory Sites and Services to force replicate. If the domain controllers are in different sites you can use Replication Monitor found in the Windows Support tools. Once all replication is done, then check the computers container in Active Directory, or you can simply run a search for computer objects.
Here are a few other hints.
These scripts are not mine and the credits are in the scripts themselves.
To enumerate (list) all servers in the domain run this script by copying and pasting it into a notepad document and save as "ListServers.vbs".
' EnumServers.vbs
' VBScript program to enumerate all servers in the domain.
'
' --------------------------
' Copyright (c) 2002 Richard L. Mueller
' Hilltop Lab web site - http://www.rlmueller.net
' Version 1.0 - November 10, 2002
' Version 1.1 - February 19, 2003 - Standardize Hungarian notation.
' Version 1.2 - March 11, 2003 - Remove SearchScope property.
' Version 2.0 - February 9, 2004 - Find computers with server operating
' systems.
'
' Program enumerates the Distinguished Name of all computer objects that
' have the string "server" in the operating System attribute.
'
' You have a royalty-free right to use, modify, reproduce, and
' distribute this script file in any way you find useful, provided that
' you agree that the copyright owner above has no warranty, obligations,
' or liability for such use.
Option Explicit
Dim objRootDSE, strDNSDomain, objConnection, objCommand, strQuery
Dim objRecordSet, strComputerDN, strOS
' Determine DNS domain name from RootDSE object.
Set objRootDSE = GetObject("LDAP://RootDSE"
strDNSDomain = objRootDSE.Get("defaultNam
' Use ADO to search Active Directory for all computers.
Set objCommand = CreateObject("ADODB.Comman
Set objConnection = CreateObject("ADODB.Connec
objConnection.Provider = "ADsDSOObject"
objConnection.Open "Active Directory Provider"
objCommand.ActiveConnectio
strQuery = "<LDAP://" & strDNSDomain _
& ">;(objectCategory=compute
& "distinguishedName,operati
objCommand.CommandText = strQuery
objCommand.Properties("Pag
objCommand.Properties("Tim
objCommand.Properties("Cac
Set objRecordSet = objCommand.Execute
' Enumerate computer objects with server operating systems.
Do Until objRecordSet.EOF
strOS = objRecordSet.Fields("opera
If InStr(UCase(strOS), "SERVER") > 0 Then
strComputerDN = objRecordSet.Fields("disti
Wscript.Echo strComputerDN
End If
objRecordSet.MoveNext
Loop
' Clean up.
objConnection.Close
Set objRootDSE = Nothing
Set objCommand = Nothing
Set objConnection = Nothing
Set objRecordSet = Nothing
Wscript.Echo "Done"
If that isn't enough information try this script which enumerates (lists) all servers with roles. Copy and paste this into a notepad document and save as "ComputerRoles.vbs".
' ComputerRoles.vbs
' VBScript program to determine the role of all computers in the domain.
'
' --------------------------
' Copyright (c) 2004 Richard L. Mueller
' Hilltop Lab web site - http://www.rlmueller.net
' Version 1.0 - February 9, 2004
'
' Program enumerates the NetBIOS name and role of all computer objects
' in the domain.
'
' You have a royalty-free right to use, modify, reproduce, and
' distribute this script file in any way you find useful, provided that
' you agree that the copyright owner above has no warranty, obligations,
' or liability for such use.
Option Explicit
Dim objRootDSE, strDNSDomain, objConnection, objCommand, strQuery
Dim objRecordSet, strComputer
Dim objWMIService, colComputers, objComputer, intRole, strRole
' Determine DNS domain name from RootDSE object.
Set objRootDSE = GetObject("LDAP://RootDSE"
strDNSDomain = objRootDSE.Get("defaultNam
' Use ADO to search Active Directory for all computers.
Set objCommand = CreateObject("ADODB.Comman
Set objConnection = CreateObject("ADODB.Connec
objConnection.Provider = "ADsDSOObject"
objConnection.Open "Active Directory Provider"
objCommand.ActiveConnectio
strQuery = "<LDAP://" & strDNSDomain _
& ">;(objectCategory=compute
objCommand.CommandText = strQuery
objCommand.Properties("Pag
objCommand.Properties("Tim
objCommand.Properties("Cac
Set objRecordSet = objCommand.Execute
' Enumerate computer objects. Connect to each computer with WMI and
' determine computer role from Win32_ComputerClass.
Do Until objRecordSet.EOF
strComputer = objRecordSet.Fields("sAMAc
' Remove trailing "$".
strComputer = Mid(strComputer, 1, Len(strComputer) - 1)
On Error Resume Next
Set objWMIService = GetObject("winmgmts:" _
& "{impersonationLevel=imper
& strComputer & "\root\cimv2")
If Err.Number <> 0 Then
On Error GoTo 0
Wscript.Echo strComputer & " does not have WMI installed"
Else
On Error GoTo 0
Set colComputers = objWMIService.ExecQuery _
("SELECT * FROM Win32_ComputerSystem")
For Each objComputer In colComputers
intRole = objComputer.DomainRole
Select Case intRole
Case 0
strRole = " is a standalone workstation"
Case 1
strRole = " is a member workstation"
Case 2
strRole = " is a standalone server"
Case 3
strRole = " is a member server"
Case 4
strRole = " is a backup domain controller"
Case 5
strRole = " is a primary domain controller"
End Select
Wscript.Echo strComputer & strRole
Next
End If
objRecordSet.MoveNext
Loop
' Clean up.
objConnection.Close
Set objRootDSE = Nothing
Set objCommand = Nothing
Set objConnection = Nothing
Set objRecordSet = Nothing
Set objWMIService = Nothing
Set objComputer = Nothing
Wscript.Echo "Done"
Because these scripts run through LDAP replication shouldn't be an issue.
Business Accounts
Answer for Membership
by: leewPosted on 2006-01-30 at 12:34:44ID: 15827435
Yes, a server should appear in active directory just like any computer if it's not a domain controller - if it was a DC, it would appear in the Domain Controllers OU.