Take Ownership of roaming profiles dirctory

  • Thread starter Thread starter ml.net
  • Start date Start date
M

ml.net

Hello - I'm in an odd situation that I have to believe others have run into.
I have users that are logging into a Terminal Server which then creates a
roaming profiles in the form of \\server\share\%username%. When I try to
browse the user directory I get an access denied error because only the user
has permissions and ownership of the folder. I know there group policies
that can revert this but it's not working as it should.

So I want to script an update to the ownership of the folder using subinacl.
Below is my syntax.

C:\>subinacl /noverbose /subdirectories \\server\share\folder
/setowner=domian\user

The command completes but nothing happens! I don't get any error nor does it
say it processed or modified anything. Therefore, no changes occur at all.
I'm logged in as a Domain Admin and I can reassign the ownership manually by
using the GUI.

Any ideas? Xcacls didn't seem to work either but I've heard subinacl does...

Thanks
ML
 
ml.net said:
C:\>subinacl /noverbose /subdirectories \\server\share\folder
/setowner=domian\user

The command completes but nothing happens! I don't get any error nor does
it
say it processed or modified anything. Therefore, no changes occur at all.
I'm logged in as a Domain Admin and I can reassign the ownership manually
by
using the GUI.

I'd like to see an answer to this too. I tried it once with the exact same
result and no matter what I did nothing changed.
 
ml.net said:
So I want to script an update to the ownership of the folder using subinacl.
Below is my syntax.

C:\>subinacl /noverbose /subdirectories \\server\share\folder
/setowner=domian\user

try:

C:\>subinacl /noverbose /subdirectories \\server\share\folder\*
/setowner=domian\user
 
ml.net said:
(snip)
C:\>subinacl /noverbose /subdirectories \\server\share\folder
/setowner=domian\user

The command completes but nothing happens! I don't get any error nor does it
say it processed or modified anything. Therefore, no changes occur at all.
I'm logged in as a Domain Admin and I can reassign the ownership manually by
using the GUI.

Any ideas? Xcacls didn't seem to work either but I've heard subinacl does...
Hi

A new, bug-fixed version of SubInACL.exe is available for download here
(Win2k/WinXP/Win2k3), but I have no idea if that solves your problem:

http://www.microsoft.com/downloads/details.aspx?FamilyID=e8ba3e56-d8fe-4a91-93cf-ed6985e3927b
 
Back
Top