[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

Is there a utility in or for  windows 2008 r2 to change ownership on a folder including subs and files?

Posted on 2011-04-25
4
Medium Priority
?
2,223 Views
Last Modified: 2012-05-11
I have a 2008 R2 64 bit server. Some how in the share folder "general"  files and folders has lostownership  permissions .
Ex, shows ownership on file to be S-1-22-1-0
 
Maybe the owner was deleted from AD.
I know how to fix the problem manually but have to do this for each file/folder.

Is there a utility in Windows 2008 r2  like "chown" for linux that will allow me to change ownership of ALL the files and folders in \general  ( \general\*.* /s ) ?

 Also, what is the Proceedure?

0
Comment
Question by:atredo
  • 3
4 Comments
 
LVL 57

Accepted Solution

by:
Mike Kline earned 750 total points
ID: 35461899
subinacl is a good tool I've used in the past, http://support.microsoft.com/kb/265360  they give some examples there and plenty of examples if you search subinacl on the web.

What I'm not sure of is if it works on 2008 R2...don't want to blow smoke,  haven't test that against a 2008 R2 box.

Thanks
Mike
0
 

Author Comment

by:atredo
ID: 35493298
mkline71: Sorry for the delayed response.
I was looking at the subinacl command too, but also didnt know it would work on a  2008 r2 server.
I was hoping for more responses from the community.


0
 

Author Comment

by:atredo
ID: 35493360
Found this in knowledgebase:
Rank: Savant
Was this solution helpful? Yes
No oBdA:Should work just as well as in W2k3; just do NOT use the subinacl.exe version from the W2k3 Resource Kit (show version 4.something); this version is buggy and won't do anything useful.
SubInACL (SubInACL.exe)
http://www.microsoft.com/downloads/details.aspx?FamilyID=e8ba3e56-d8fe-4a91-93cf-ed6985e3927b&displaylang=en
The subinacl download is exactly the same for W2k3/W2k8 in "Method 2: Reset permissions on the system using the SubInACL.exe tool" in this article, for example:
Error message when you use Windows Update or Microsoft Update Web sites to install updates: 0x80070005
http://support.microsoft.com/kb/968003
0
 

Author Closing Comment

by:atredo
ID: 35514283
More research on my part lead to a solution, but this lead me in the right direction.
0

Featured Post

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

Question has a verified solution.

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

Active Directory can easily get cluttered with unused service, user and computer accounts. In this article, I will show you the way I like to implement ADCleanup..
Wouldn't it be nice if objects in Active Directory automatically moved into the correct Organizational Units? This is what AutoAD aims to do and as a plus, it automatically creates Sites, Subnets, and Organizational Units.
This tutorial will walk an individual through configuring a drive on a Windows Server 2008 to perform shadow copies in order to quickly recover deleted files and folders. Click on Start and then select Computer to view the available drives on the se…
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 …
Suggested Courses

834 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