Taking ownership with xcacls.exe

  • Thread starter Thread starter Todd
  • Start date Start date
T

Todd

I'm trying to usc xcacls to take ownership of a
directory. I am logging in with a Domain Admin user
account and then running the following at the command
line. ("Larryp" is the name of the folder I am trying to
take ownership of)

c:\>xcacls c:\Larryp /G (e-mail address removed):O;O /C /E

The response I get is:

processed directory c:\Larryp

Then when I right click the folder and choose properties
to check if I now have ownership, I don't. Any thoughts?

Todd
 
Todd said:
I'm trying to usc xcacls to take ownership of a
directory. I am logging in with a Domain Admin user
account and then running the following at the command
line. ("Larryp" is the name of the folder I am trying to
take ownership of)

c:\>xcacls c:\Larryp /G (e-mail address removed):O;O /C /E

The response I get is:

processed directory c:\Larryp

Then when I right click the folder and choose properties
to check if I now have ownership, I don't. Any thoughts?

Hi

As far as I know, xcacls isn't able to take ownership of files/folders.

SUBINACL in the Win2k Resource kit looks like is able to do this:

subinacl /noverbose /file \\server\share\dir /setowner=whoever
subinacl /noverbose /subdirectories \\server\share\dir\* /setowner=whoever


If you don't have the Win2k RK, the subinacl.exe in the Windows Server 2003 RK
(free) will maybe work on Win2k as well.

Windows Server 2003 Resource Kit Tools
http://www.microsoft.com/downloads/...69-57ff-4ae7-96ee-b18c4790cffd&DisplayLang=en

(The kit will install on WinXP or later)
 
Back
Top