Does anyone know how to remove orphan SIDS from file and folders?

Posted on 2009-12-20
Last Modified: 2013-12-04
Does anyone know how to remove orphan SIDS from file and folders? Any other commands/tools?

I've already tried

subinacl /subdirectories e:\*.* /cleandeletedsidsfrom=DOMAIN=dacl /cleandeletedsidsfrom=DOMAIN=sacl /ifchangecontinue

subinacl /subdirectories E:\*.* /cleandeletedsidsfrom=DOMAIN

It does remove some but not all.


Using server 2003 and xp/win 7 os
Question by:ranski
    LVL 74

    Expert Comment

    by:Glen Knight
    There is a detailed accepted solution here for the exact same issue:

    Author Comment

    Yes i read that post. In fact it's where i got the code from but as the person also mentions not all SIDS are being removed
    Having the same problem
    LVL 14

    Expert Comment

    The tool below may work for you....
    LVL 21

    Accepted Solution


    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    IT, Stop Being Called Into Every Meeting

    Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

    Many of us in IT utilize a combination of roaming profiles and folder redirection to ensure user information carries over from one workstation to another; in my environment, it was to enable virtualization without needing a separate desktop for each…
    A quick step-by-step overview of installing and configuring Carbonite Server Backup.
    Internet Business Fax to Email Made Easy - With eFax Corporate (, you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…
    Here's a very brief overview of the methods PRTG Network Monitor ( offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…

    737 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    17 Experts available now in Live!

    Get 1:1 Help Now