You can use LCSCmd.exe to prepare and deploy AD DS. This is accomplished through actions in the following contexts:

Actions relating to AD DS must be performed against a specific domain. By default the action will take place locally. If you'd like to specify a different domain, follow the context with the FQDN. For example, to specify a domain when working with domain actions, use this syntax.

Copy Code
LCSCmd /domain:<FQDN> /action:<action>

In This Section