Change Permissions in Bulk

Posted on 2008-11-19
Last Modified: 2013-12-04
I am using backup software which runs as a service using the administrator account. It's supposed to be backing up users shares but the a bunch of files keep getting skipped. The reason is because the administrator does not have security permissions to those shares. I would then go ahead and grant the administrator full security permissions for those user shares. I would also run into another problem. Some user shares are owned by the user and when trying to open the share is says access is denied. I would make the administrator the owner but then I would have to re-grant that user permissions to his/her own share because by doing that it gets rid of all permissions for that user. This wouldn't be a problem if it only happened to one user. However this is happening to 100's of users. To change these permissions individually would take a really long time.

Is there any way that I can make the administrator the owner to all of those users shares (in bulk) without having to re-grant user permissions to the folders.
Question by:eshiram
    LVL 38

    Accepted Solution

    You can change ownership without affecting permissions using Subinacl.

    subinacl /subdirectories "d:\root folder\*.*" /setowner=domain\username

    Open in new window


    Author Comment

    How exactly do I use it I tried running subinacl but no command prompt came up.

    Author Comment

    The CMD screen actually does come  up but then disappears.
    LVL 38

    Expert Comment

    Subinacl is purely a command-line tool.

    Open a command prompt first by going to Start|Run, entering cmd, and hitting OK.  Either place subinacl.exe in the Windows directory, cd /d to the directory where it's located, or preface your subinacl commands with the executable's full path.

    Featured Post

    Looking for New Ways to Advertise?

    Engage with tech pros in our community with native advertising, as a Vendor Expert, and more.

    Join & Write a Comment

    Transparency shows that a company is the kind of business that it wants people to think it is.
    Disabling the Directory Sync Service Account in Office 365 will stop directory synchronization from working.
    This tutorial will walk an individual through the steps necessary to join and promote the first Windows Server 2012 domain controller into an Active Directory environment running on Windows Server 2008. Determine the location of the FSMO roles by lo…
    This tutorial will walk an individual through the process of configuring their Windows Server 2012 domain controller to synchronize its time with a trusted, external resource. Use Google, Bing, or other preferred search engine to locate trusted NTP …

    745 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