how to tke ownership of a fodler

G

GS

As administrator/owner, how do I take ownership of a folder under XP home?

when I tried cacls fodlerapec /t /e /g administrator:f
I encountered access error

PS the old pc died, I got another PC and then added the old pc hard drive.
 
J

John Wunderlich

As administrator/owner, how do I take ownership of a folder under
XP home?

when I tried cacls fodlerapec /t /e /g administrator:f
I encountered access error

PS the old pc died, I got another PC and then added the old pc
hard drive.

"How to take ownership of a file or folder in Windows XP"
<http://support.microsoft.com/kb/308421>

HTH,
John
 
J

John John (MVP)

GS said:
As administrator/owner, how do I take ownership of a folder under XP home?

when I tried cacls fodlerapec /t /e /g administrator:f
I encountered access error

PS the old pc died, I got another PC and then added the old pc hard drive.

You cannot seize ownership with CACLS but you can grant yourself or a
user group full control on the files:

cacls D:\ /t /e /g Administrators:f

will grant all members of the Administrators groups full control on all
the files on drive D. Use the /c switch to continue on errors:

cacls D:\ /t /e /c /g "Your User Name":f

You can set file ownership and permissions from the command prompt with
the SubInACL utility:

subinacl /subdirectories d:\ /grant=administrators=f
/setowner=administrators

The SubInACL utility is available for download on the Microsoft site.

Otherwise boot to safe mode and follow the instructions in the link
provided by the other posters.

Managing File and Folder Permissions Through the Command Line Utility
http://support.microsoft.com/kb/288292/en-us

Undocumented CACLS: Group Permissions Capabilities
http://support.microsoft.com/kb/162786/en-us

John
 
P

philo

John John (MVP) said:
drive.

You cannot seize ownership with CACLS but you can grant yourself or a
user group full control on the files:

cacls D:\ /t /e /g Administrators:f

will grant all members of the Administrators groups full control on all
the files on drive D. Use the /c switch to continue on errors:

cacls D:\ /t /e /c /g "Your User Name":f

You can set file ownership and permissions from the command prompt with
the SubInACL utility:

subinacl /subdirectories d:\ /grant=administrators=f
/setowner=administrators

The SubInACL utility is available for download on the Microsoft site.

Otherwise boot to safe mode and follow the instructions in the link
provided by the other posters.

Managing File and Folder Permissions Through the Command Line Utility
http://support.microsoft.com/kb/288292/en-us

Undocumented CACLS: Group Permissions Capabilities
http://support.microsoft.com/kb/162786/en-us

John

IIRC >..XP Home requires one to take ownership from safe mode
 
P

philo

John John (MVP) said:
Not if you use SubInACL.

John


Wish I would have know that two weeks ago when I was working with an XP-home
system...
anyway, I got things sorted out in safe mode !
 
M

msnews.microsoft.com

thank you all.


subinacl is wonderfull for Xp home versions that don't have gui to work with
security. no more need to boot to safe mode

It is as simple as running the following from an admin powered ID
subinacl /sub subinacl /sub "somedirecotypath\*.*"
/gra=aDomainOrPcname\aUsrName

and I can have multiple /gra or other options like /own=....
 
M

msnews.microsoft.com

BTW subInAcl is nicer than the explorer gui in the sense
I can start permision change en masse for documetns and settings for a
list of users and their respective folders from an old pc.
No more waiting for the command to finish before walking away to do
something else
 

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