RE: unlock folders

From: BAR (BAR_at_discussions.microsoft.com)
Date: 01/16/05


Date: Sun, 16 Jan 2005 03:47:02 -0800

How to take ownership of a folder:

If you are running Microsoft Windows XP Home Edition, you must start the
computer in safe mode, and then log on with an account that has
Administrative rights to have access to the Security tab.

If you are using Windows XP Professional, you must disable Simple File
Sharing. By default, Windows XP Professional uses Simple File sharing when it
is not joined to a domain.

To take ownership of a folder, follow these steps:
1.Right-click the folder that you want to take ownership of, and then click
Properties.
2.Click the Security tab, and then click OK on the Security message (if one
appears).
3.Click Advanced, and then click the Owner tab.
4.In the Name list, click your user name, or click Administrator if you are
logged in as Administrator, or click the Administrators group. If you want to
take ownership of the contents of that folder, select the Replace owner on
subcontainers and objects check box.
5.Click OK, and then click Yes when you receive the following message:
You do not have permission to read the contents of directory folder name. Do
you want to replace the directory permissions with permissions granting you
Full Control?
All permissions will be replaced if you press Yes.
Note folder name is the name of the folder that you want to take ownership
of.
6.Click OK, and then reapply the permissions and security settings that you
want for the folder and its contents.

How to take ownership of a file

To take ownership of a file, follow these steps:
1.Right-click the file that you want to take ownership of, and then click
Properties.
2.Click the Security tab, and then click OK on the Security message (if one
appears).
3.Click Advanced, and then click the Owner tab.
4.In the Name list, click Administrator, or click the Administrators group,
and then click OK.
The administrator or the Administrators group now owns the file. To change
the permissions on the files and folders under this folder, go to step 5.
5.Click Add.
6.In the Enter the object names to select (examples) list, type the user or
group account that you want to give access to the file. For example, type
Administrator.
7.Click OK.
8.In the Group or user names list, click the account that you want, and then
select the check boxes of the permissions that you want to assign that user.
9.When you are finished assigning permissions, click OK.

"InVIs" wrote:

> I have a harddrive that i'm transfering files from for a friend, but this hd
> has a corrupted version of windows xp on it. So ever time i go to transfer a
> user file from Documents and Settings it says access denied and i have tried
> calcs. to set the file permissions but it is just not working. I would like
> Windows XP SP1 to grant access to this folde.
> Thanks for any help
>



Relevant Pages

  • Re: Understanding XP file permissions ? (Application Programs not following standards ?)
    ... > I've been trying to understand how file permissions in Windows NT/XP ... > Administrator account only for administrative purposes as it is ... > I also have a question about changing ownership of folders/files. ...
    (microsoft.public.windowsxp.security_admin)
  • Re: [Full-disclosure] Microsoft Windows Vista/2003/XP/2000 file management security issues
    ... In order for Alice to Take Ownership of Bob's private folder she would ... Owner and now Bob no longer has the ability to set permissions on it. ... And Windows does have a umask-like function. ... This article contains a set of attack scenarios to demonstrate security ...
    (Full-Disclosure)
  • Re: User rights problem (Least Privilege)
    ... After giving write permission to Users group on Windows folder the ... >> I am managing a small network with Windows 2003 as DC and XP as clients. ... > inexperienced or limited user should ever have write permissions. ... > limited accounts, you can fix it to allow limited users to access the ...
    (microsoft.public.windowsxp.security_admin)
  • Re: Preventing access to a secondary hard drive
    ... If you're running NTFS as your file system, you can 'take ownership' of the ... any other Administrator account can take ownership as well. ... Take Ownership of a File or Folder in Windows XP ...
    (microsoft.public.windowsxp.security_admin)
  • Re: Modify advanced permissions using wsh on W2K Server
    ... the checkbox that applies changes made to a folder to ... parameters it requires to accomplish your permissions changes. ... >> Two lines of your gifted experience with windows ... >> In the event you had not unchecked the daylight savings time box ...
    (microsoft.public.scripting.wsh)