Windows Server AD command Lines - InformationBoy

Windows Server AD command Lines

Working with Windows Server AD command lines makes your tasks easy and convenient. If you are smart enough to work with windows command lines. Then its sure that you will have a great personality among co-employees in your office. This page will help you to provide all the required commands at single point of information sharing. I am sure you will enhance your knowledge through this.


I promise to provide you best of us and researches and knowledge. Please subscribe to our website for daily alerts at your pocket and desktop. We will keep you informed instantly regarding all security alerts, tech news and hacks regarding today’s world of Science.

You may Also Like How to Create Sites In AD

Here are some important and frequently used commands lines in Window Server 2008 Server:

Active Directory Command Lines



AdprepExtends the Active Directory schema and updates permissions as necessary to prepare a forest and domain for a domain controller that runs the Windows Server 2008 operating system.
CsvdeImports and exports data from Active Directory using files that store data in the comma-separated value (CSV) format. You can also support batch operations based on the CSV file format standard.
DcdiagAnalyzes the state of domain controllers in a forest or enterprise and reports any problems to help in troubleshooting.
DcpromoInstalls and removes Active Directory Domain Services (AD DS).
DsaclsDisplays and changes permissions (access control entries) in the access control list (ACL) of objects in AD DS.
DsaddAdds specific types of objects to the directory.
DsamainExposes Active Directory data that is stored in a snapshot or backup as a Lightweight Directory Access Protocol (LDAP) server.
DsdbutilProvides database utilities for Active Directory Lightweight Directory Services (AD LDS).
DsgetDisplays the selected properties of a specific object in the directory.
DsmgmtProvides management facilities for Active Directory Lightweight Directory Services (AD LDS).
DsmodModifies an existing object of a specific type in the directory.
DsmoveMoves a single object in a domain from its current location in the directory to a new location or renames a single object without moving it in the directory tree.
DsqueryQueries AD DS according to specified criteria.
DsrmDeletes an object of a specific type or any general object from the directory.
LdifdeCreates, modifies, and deletes directory objects on computers running Windows Server 2003 or Windows XP Professional operating systems.
LdpMakes it possible for users to perform operations against an LDAP-compatible directory, such as AD DS. These operations include connect, bind, search, modify, add, and delete.
NetdomMakes it possible for administrators to manage Windows Server 2003 and Windows 2000 domains and trust relationships from a command prompt.
Net computerAdds or deletes a computer from a domain database.
Net groupAdds, displays, or modifies global groups in domains.
Net userAdds or modifies user accounts, or displays user account information.
NltestPerforms network administrative tasks.
NtdsutilProvides management facilities for AD DS.
RedircmpRedirects the default container for newly created computers to a specified target organizational unit (OU) so that newly created computer objects are created in the specific target OU instead of in CN=Computers.
RedirusrRedirects the default container for newly created users to a specified target OU so that newly created user objects are created in the specific target OU instead of in CN=Users.
RepadminMakes it possible for administrators to diagnose Active Directory replication problems between domain controllers running Windows operating systems.
SetspnMakes it possible for administrators to read, modify, and delete the Service Principal Names (SPN) directory property for an Active Directory service account.

Follow us at:

Subscribe to our website by clicking BELL at bottom right and be the first to get latest alerts.

Ref: Microsoft

Leave a Reply

Your email address will not be published. Required fields are marked *