Subscribe to Windows IT Pro
January 18, 2005 12:00 AM

Access Denied: Returning to a Domain's Default Permissions

Windows IT Pro
InstantDoc ID #44914
Rating: (0)

We've royally messed up our permissions in Active Directory (AD). How can we get back to AD's default permissions and start again?

A Windows Support Tools command called Dsacls lets you configure AD permissions from the command line. The command

dsacls DC=Acme,DC=Com /S /T

would reset the permissions for the acme.com domain. The /S switch resets the specified object's permissions to the default ACL specified in AD's schema. The /T switch causes Dsacls to reset permissions for all the specified object's child objects. In other words, the Dsacls command with /S and /T will reset all permissions from the root of the specified domain down to the default permissions for each object's class to the value specified in the domain's schema. You can use Dsacls to modify an object's permissions any way you want—from adding or removing an access control entry (ACE) to replacing the ACE with permissions specified on the command line. For a full explanation of Dsacls parameters, type

dsacls /?

at the command prompt.

Related Content:

ARTICLE TOOLS

Comments
    There are no comments to display. Be the first one!
You must log on before posting a comment.

Are you a new visitor? Register Here

advertisement

advertisement

Windows is a trademark of the Microsoft group of companies. Windows IT Pro is used by Penton Media Inc. under license from owner.