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.
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.