atredo
asked on
Is there a utility in or for windows 2008 r2 to change ownership on a folder including subs and files?
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?
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?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
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
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
ASKER
More research on my part lead to a solution, but this lead me in the right direction.
ASKER
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.