2008R2 REcycle Bin for Child domains

Discussion in 'Active Directory' started by .ad., Aug 2, 2012.

  1. .ad.


    Aug 2, 2012
    Likes Received:
    OK...having some issues getting the recycle bin enabled on my child domains. I'm not well versed in powershell, but I can hack away at anything, usually... I've scoured the internets to no avail...so here goes:

    Here's my setup:

    All 2008R2 DCs
    1 Parent domain
    4 Child domains
    DFL/FFL at 2008r2
    Recyclebin is enabled on 'parent.lol'

    I am trying to get the recycle bin enabled on child1.parent.lol (child2 / child3 / child4)
    I am logged in as an Enterprise admin.
    I am running these commands on the Domain/Schema roles holder.
    I am running the following commands in powershell as 'administrator'
    I am, as far as I know, holding my mouth right... ;)
    I've tried 3 ways:


    1. Powershell: Enable-ADOptionalFeature –Identity ‘CN=Recycle Bin Feature,CN=Optional Features,
    CN=Directory Service,CN=Windows NT,CN=Services,CN=Configuration,DC=child1,DC=parent,DC=lol’
    –Scope ForestOrConfigurationSet –Target ‘child1.parent.com’ -Server DC05


    Enable-ADOptionalFeature : Cannot find an object with identity: 'child1.parent.lol' under: 'DC=parent,DC=lol'.
    At line:1 char:25
    + Enable-ADOptionalFeature <<<< -Identity `CN=Recycle Bin Feature,CN=Optional Features,CN=Directory Service,CN=Windows
    NT,CN=Services,CN=Configuration,DC=child1,DC=parent,DC=lol' -Scope Domain -Target `child1.parent.lol' -server
    + CategoryInfo : ObjectNotFound: (CN=Recycle Bin ...=parent,DC=lol:ADOptionalFeature) [Enable-ADOptional
    Feature], ADIdentityNotFoundException
    + FullyQualifiedErrorId : Cannot find an object with identity: 'resources.americo.com' under: 'DC=americo,DC=com'.


    2. Powershell: Enable-ADOptionalFeature 'Recycle Bin Feature' -Scope ForestOrConfigurationSet -target 'child1.parent.lol' -
    server dc05


    Enable-ADOptionalFeature : The specified value already exists
    At line:1 char:25
    + Enable-ADOptionalFeature <<<< 'Recycle Bin Feature' -Scope ForestOrConfigurationSet -target 'child1.parent.lol'
    -server DC05
    + CategoryInfo : NotSpecified: (Recycle Bin Feature:ADOptionalFeature) [Enable-ADOptionalFeature], ADExce
    + FullyQualifiedErrorId : The specified value already exists,Microsoft.ActiveDirectory.Management.Commands.EnableA


    3. LDP.exe -
    DN: <blank>
    Edit Entry Attr: enableOptionalFeature
    Values: CN=Partitions,CN=Configuration,DC=child1,DC=parent,DC=lol:766ddcd8-acd0-445e-f3b9-a7f9b6744f2a
    Operation: Add, press Enter:


    ***Call Modify...
    ldap_modify_s(ld, 'CN=Deleted Objects,DC=resources,DC=americo,DC=com',[1] attrs);
    Error: Modify: No Such Attribute. <16>
    Server error: 00000057: LdapErr: DSID-0C090B8A, comment: Error in attribute conversion operation, data 0, v1db1
    Error 0x57 The parameter is incorrect.


    Any assistance is greatly appreciated. I'm starting to get a little stabby after 3 straight days of this...the meds are no longer working.

    Thanks in advance!

    .ad., Aug 2, 2012
    1. Advertisements

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.