[Last Call] Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

Change Permissions in Bulk

Posted on 2008-11-19
4
Medium Priority
?
965 Views
Last Modified: 2013-12-04
Hey,
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.
0
Comment
Question by:eshiram
  • 2
  • 2
4 Comments
 
LVL 38

Accepted Solution

by:
Shift-3 earned 2000 total points
ID: 22997692
You can change ownership without affecting permissions using Subinacl.
http://www.microsoft.com/downloads/details.aspx?familyid=e8ba3e56-d8fe-4a91-93cf-ed6985e3927b


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

Open in new window

0
 

Author Comment

by:eshiram
ID: 23005585
How exactly do I use it I tried running subinacl but no command prompt came up.
0
 

Author Comment

by:eshiram
ID: 23005601
The CMD screen actually does come  up but then disappears.
0
 
LVL 38

Expert Comment

by:Shift-3
ID: 23005698
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.
0

Featured Post

 The Evil-ution of Network Security Threats

What are the hacks that forever changed the security industry? To answer that question, we created an exciting new eBook that takes you on a trip through hacking history. It explores the top hacks from the 80s to 2010s, why they mattered, and how the security industry responded.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Auditing domain password hashes is a commonly overlooked but critical requirement to ensuring secure passwords practices are followed. Methods exist to extract hashes directly for a live domain however this article describes a process to extract u…
Had a business requirement to store the mobile number in an environmental variable. This is just a quick article on how this was done.
This tutorial will walk an individual through the process of transferring the five major, necessary Active Directory Roles, commonly referred to as the FSMO roles from a Windows Server 2008 domain controller to a Windows Server 2012 domain controlle…
Integration Management Part 2

829 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