what is the command to take ownership?

S

Shenan Stanley

GS said:
from dos prompt, what is the command to take/change ownership of a
file/folder?

I do not believe Windows XP has any built-in commands to do this. CACLS or
XCACLS or SetACL or the CHOWN command line (^nix exported functionality) can
do it from the command line.

Otherwise...

How to Take Ownership of a File or Folder in Windows XP
http://support.microsoft.com/kb/308421

Read *carefully* - do not just skim the page and start following steps.
There is important information there dependent on the version of Windows XP
 
G

GS

Thank you

Unfortunately I already tried the gui method in windows explorer without
luck.. I tried form the parent folder also without luck for replacing
permission, owners of files and subfolders,

the file in question is read only on a standalone XP Pro sp2 pc. I guess I
have to install the optional admin package for xcacls or setacl, right?

the file does not show security tab in property for administrators, nor
other uses

I managed to rename the parent folder and copy the rest to anew folder of
the same original name.
 
G

Guest

Check out the following MS KB article to enable the "security" tab:
http://support.microsoft.com/kb/290403/en-us
Edit registry at your own risk....
You should then be able to take ownership through Security/Advanced/Owner,
if logged in with appropriate permissions.

GS said:
Thank you

Unfortunately I already tried the gui method in windows explorer without
luck.. I tried form the parent folder also without luck for replacing
permission, owners of files and subfolders,

the file in question is read only on a standalone XP Pro sp2 pc. I guess I
have to install the optional admin package for xcacls or setacl, right?

the file does not show security tab in property for administrators, nor
other uses

I managed to rename the parent folder and copy the rest to anew folder of
the same original name.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top