Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Active Directory: General access denied error while Applying ACL

Status
Not open for further replies.

Signit

MIS
Oct 17, 2003
114
US
Using a script I am attempting to create a computer account in Active
Directory and then setup an ACL on that account after it has been created.
While I can create the account when I try to apply an ACL to it I receive the
following error: "Active Directory: General access denied error."

I am able to create computer accounts and modify a computer accounts ACL
through Active Directory Users and Computers but not with my script. I am
logged in as the same user in both my script and while using Active Directory
Users and Computers. I've written my own script to perform this
action, but receive the same problem when running Microsoft's VB Script
example (link:
[URL unfurl="true"]http://www.microsoft.com/technet/scriptcenter/scripts/ad/computer/cptrvb02.mspx[/url]).

What am I missing? Any help would be greatly appreciated.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top