answersLogoWhite

0


Best Answer

The following command-line tools can be used to manage Active Directory

CSVDE

Import and export Active Directory data using comma-separated format.

Dsadd

Add users, groups, computers, contacts, and organizational units to Active Directory.

Dsmod

Modify an existing object of a specific type in the directory. The types of objects that can be modified are: users, groups, computers, servers, contacts, and organizational units.

Dsrm

Remove objects of the specified type from Active Directory.

Dsmove

Rename an object without moving it in the directory tree, or move an object from its current location in the directory to a new location within a single domain controller. (For cross-domain moves, use the Movetree command-line tool.)

Dsquery

Query and find a list of objects in the directory using specified search criteria. Use in a generic mode to query for any type of object or in a specialized mode to query for for selected object types. The specific types of objects that can be queried through this command are: computers, contacts, subnets, groups, organizational units, sites, servers and users.

Dsget

Display selected attributes of specific object types in Active Directory. Attributes of the following object types can be viewed: computers, contacts, subnets, groups, organizational units, servers, sites, and users.

LDIFDE

Ceate, modify, and delete directory objects. This tool can also be used to extend the schema, export Active Directory user and group information to other applications or services, and populate Active Directory with data from other directory services.

Ntdsutil

General purpose Active Directory management tool. Use Ntdsutil to perform database maintenance of Active Directory, to manage single master operations, and remove metadata left behind by domain controllers that were removed from the network without being properly uninstalled.

User Avatar

Wiki User

12y ago
This answer is:
User Avatar
More answers
User Avatar

Wiki User

12y ago

Active Directory Service Interfaces Editor (ADSI Edit) is a Lightweight Directory Access Protocol (LDAP) editor that you can use to manage objects and attributes in Active Directory.

ADSI Edit (adsiedit.msc) provides a view of every object and attribute in an Active Directory forest. You can use ADSI Edit to query, view, and edit attributes that are not exposed through other Microsoft Management Console (MMC) snap-ins: Active Directory Users and Computers, Active Directory Sites and Services, Active Directory Domains and Trusts, and Active Directory Schema.

Adsiedit.msc will not run unless the Adsiedit.dll file is registered. This happens automatically if the support tools are installed. However, if the support tool files are copied instead of installed, you must run the regsvr32 command to register Adsiedit.dll before you run the Adsiedit.msc snap-in.

regsvr32 adsiedit.dll

You can run ADSI Edit from a client computer or server. The computer does not have to be a member of a domain. However, to see domain objects using Adsiedit.msc, you must have the rights to view the Active Directory domain that you connect to. By default, members of the Domain Users group have these rights. To modify objects using ADSIEdit, you must have at least the Edit permission on the Active Directory objects that you want to change. By default, members of the Domain Admins group have this permission.

This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: Which commands can be used to configure active directory permissions from the command line?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

What are the two commands for setting permissions on a file or directory?

There is generally only 1 standard command for permissions on a file or directory - chmod. You can affect permissions by other commands such as changing the ownership or group ownership of a file or directory. Other commands may be specific to different versions of Unix and Linux, so are not listed here.


What Linux commands make your home directory the working directory?

the command 'cd ~' will get you there .


How do you pick a directory in command prompt?

type in DIR & for list of commands under the directory: DIR/?


How do you display permissions for a file or directory?

Use the 'ls' command with the '-l' (long listing) option


How do you display the permissions for a file or directory?

Use the 'ls' command with the long listing option: ls -l


What are file permissions in Linux?

The typical way to view file permissions is to use the 'ls' command with the long listing options enabled, For example, to see the file permissions for everything in the current directory, type: ls -lsa


What is the difference between ls and vdir command in Unix?

ls is the default command that lists the contents of a directory. vdir is a common alias for the command: ls -al That command lists the contents of a directory as well as information about the file such as owner, group, file size, permissions, last modified, etc.


Which commands will give you information about how much disk space each file in the current directory uses in unix?

Use the 'du' command in the directory you are interested in.


Unlock files in directory using dos commands?

Dos commands are used to create or delete directories. The ATTRIB Command is used for locking and unlocking of files.


Write a shell program to check read and write permissions of a file?

You don't say what you want to do with the permissions, but most shells have a 'test' command that can look at various permissions. Look at the 'man' command for the shell you are running in to see what tests are possible on files and directories. You can check to see if the target is a directory, or a file, and whether it has read, write, or execute/search permissions. Again, it varies by the shell environment.


What is the command to verify your source directory exists?

There are several ways to verify a directory. You could use the following test in a shell script: if [ -d some-directory ]; then # directory exists else # directory does not exist fi of use commands such as 'ls 'to see if it exists.


Which two commands can you use to delete directories?

AFAIK there's only one command to delete a directory. "rmdir" Removes the directory. If you only want to delete the content of the directory you can use "del <dir name>"