Note: This question is part of a series of questions that use the same or similar answer
choices. An answer choice may be correct for more than one question in the series. Each
question is independent of the other questions in this series. Information and details
provided in a question apply only to that question.
Your network contains an Active Directory domain named contoso.com. The domain contains a
domain controller named Server1. You recently restored a backup of the Active Directory database
from Server1 to an alternate Location. The restore operation does not interrupt the Active Directory
services on Server1. You need to make the Active Directory data in the backup accessible by using
Lightweight Directory Access Protocol (LDAP). Which tool should you use?
A.
Dsadd quota
B.
Dsmod
C.
Active Directory Administrative Center
D.
Dsacls
E.
Dsamain
F.
Active Directory Users and Computers
G.
Ntdsutil
H.
Group Policy Management Console
Answer ;
E.
Dsamain
sf
C:\Windows\system32\dsamain.exe options
Options:
-dbpath filepath (required) Filepath must point to the DIT file on the
local server, which could be on read-only media (such
as a snapshot). The DIT must be in a consistent state,
that is, the ESE logs must be replayed.
-logpath path (optional) The path should point to a writeable folder
on the local server, where ESE log files will be
created. If not specified, then temp folder will be
used.
-adlds (optional) open AD/LDS DIT.
-ldapPort number (required) LDAP port value.
-sslPort number (optional) SSL port value. Default: LDAP port+1
-gcPort number (optional) GC port number. Default: LDAP port+2
-gcSslPort number (optional) GC SSL port number. Default: LDAP port+3
-allowUpgrade (optional) Allow to upgrade the DIT file. This is
useful for opening downlevel DITs/snapshots. The
file needs to be on writable media.
-allowNonAdminAccess (optional) Allow non-administrators to access data
in the directory. If not specified, then only Domain
Admins and Enterprise Admins from the target domain
will be able to access the data.