Wintel Interview Questions
Wintel Interview Questions
Wintel Interview Questions
Active Directory
Can you connect Active Directory to other 3rd-party Directory Services? Name a few
options.
Yes you can connect other vendors.
Examples: E-directory from Novell
Where is the AD database held? What other files are related to AD?
AD Database is saved in %systemroot%/ntds.You can see other files also in this folder. These are the
main files controlling the AD structure
ntds.dit
edb.log
res1.log
res2.log
edb.chk
How to share AD folders
C:\>repadmin /showreps
domain_controller
OR
You can use Replmon.exe for the same purpose.
OR
AD Sites and Services and nslookup gc._msdcs.%USERDNSDOMAIN%
What is LDP? What is REPLMON? What is ADSIEDIT? What is NETDOM? What is REPADMIN?
What is LDP?
A: The Lightweight Directory Access Protocol, or LDAP is an application protocol for querying and modifying
directory services running over TCP/IP.[1]
A directory is a set of objects with attributes organized in a logical and hierarchical manner. The most common
example is the telephone directory, which consists of a series of names (either of persons or organizations)
organized alphabetically, with each name having an address and phone number attached.
An LDAP directory tree often reflects various political, geographic, and/or organizational boundaries, depending on
the model chosen. LDAP deployments today tend to use Domain name system (DNS) names for structuring the
topmost levels of the hierarchy. Deeper inside the directory might appear entries representing people, organizational
units, printers, documents, groups of people or anything else that represents a given tree entry (or multiple entries).
Its current version is LDAPv3, which is specified in a series of Internet Engineering Task Force (IETF) Standard
Track Requests for comments (RFCs) as detailed in RFC 4510.
LDAP means Light-Weight Directory Access Protocol. It determines how an object in an Active directory should be
named. LDAP (Lightweight Directory Access Protocol) is a proposed open standard for accessing global or local
directory services over a network and/or the Internet. A directory, in this sense, is very much like a phone book.
LDAP can handle other information, but at present it is typically used to associate names with phone numbers and
email addresses. LDAP directories are designed to support a high volume of queries, but the data stored in the
directory does not change very often. It works on port no. 389. LDAP is sometimes known as X.500 Lite. X.500 is
an international standard for directories and full-featured, but it is also complex, requiring a lot of computing
resources and the full OSI stack. LDAP, in contrast, can run easily on a PC and over TCP/IP. LDAP can access
X.500 directories but does not support every capability of X.500
What is REPLMON?
A: Replmon is the first tool you should use when troubleshooting Active Directory replication issues. As it is a
graphical tool, replication issues are easy to see and somewhat easier to diagnose than using its command line
counterparts. The purpose of this document is to guide you in how to use it, list some common replication errors and
show some examples of when replication issues can stop other network installation actions.
A: ADSIEdit is a Microsoft Management Console (MMC) snap-in that acts as a low-level editor for Active
Directory. It is a Graphical User Interface (GUI) tool. Network administrators can use it for common administrative
tasks such as adding, deleting, and moving objects with a directory service. The attributes for each object can be
edited or deleted by using this tool. ADSIEdit uses the ADSI application programming interfaces (APIs) to access
Active Directory. The following are the required files for using this tool:
· ADSIEDIT.DLL
· ADSIEDIT.MSC
Regarding system requirements, a connection to an Active Directory environment and Microsoft Management
Console (MMC) is necessary
What is NETDOM?
A: NETDOM is a command-line tool that allows management of Windows domains and trust relationships. It is
used for batch management of trusts, joining computers to domains, verifying trusts, and secure channels
Enables administrators to manage Active Directory domains and trust relationships from the command prompt.
Netdom is a command-line tool that is built into Windows Server 2008. It is available if you have the Active
Directory Domain Services (AD DS) server role installed. To use netdom, you must run the netdom command from
an elevated command prompt. To open an elevated command prompt, click Start, right-click Command Prompt, and
then click Run as administrator.
You can use netdom to:
Join a computer that runs Windows XP Professional or Windows Vista to a Windows Server 2008 or Windows
Server 2003 or Windows 2000 or Windows NT 4.0 domain.
Provide an option to specify the organizational unit (OU) for the computer account.
Generate a random computer password for an initial Join operation.
Manage computer accounts for domain member workstations and member servers. Management operations include:
Add, Remove, Query.
An option to specify the OU for the computer account.
An option to move an existing computer account for a member workstation from one domain to another while
maintaining the security descriptor on the computer account.
Establish one-way or two-way trust relationships between domains, including the following kinds of trust
relationships:
From a Windows 2000 or Windows Server 2003 or Windows Server 2008 domain to a Windows NT 4.0 domain.
From a Windows 2000 or Windows Server 2003 or Windows Server 2008 domain to a Windows 2000 or Windows
Server 2003 or Windows Server 2008 domain in another enterprise.
Between two Windows 2000 or Windows Server 2003 or Windows Server 2008 domains in an enterprise (a shortcut
trust).
The Windows Server 2008 or Windows Server 2003 or Windows 2000 Server half of an interoperable Kerberos
protocol realm.
Verify or reset the secure channel for the following configurations:
Member workstations and servers.
Backup domain controllers (BDCs) in a Windows NT 4.0 domain.
Specific Windows Server 2008 or Windows Server 2003 or Windows 2000 replicas.
Manage trust relationships between domains, including the following operations:
Enumerate trust relationships (direct and indirect).
View and change some attributes on a trust.
What can you do to promote a server to DC if you're in a remote location with slow WAN
link?
you will create a copy of the system state from an existing DC and copy it to the new remote server.
Run "Dcpromo /adv". You will be prompted for the location of the system state files
How can you forcibly remove AD from a server, and what do you do later? � Can I get user
passwords from the AD database?
Demote the server using dcpromo /forceremoval, then remove the metadata from Active
directory using ndtsutil. There is no way to get user passwords from AD that I am aware of, but
you should still be able to change them.