Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I had a user in Windows XP. I have deleted that user through My Computer\Manage\Local Computer. Now when I log in through Administrator I can't access to data related to that deleted user. When I searched and tried to access data, it said "Access denied". I then again created a user with the same name (as of deleted one) but it's like a new user, who also doesn't have the right to access data. Please suggest

share|improve this question
    
come on bub...accept an answer –  hbdgaf Dec 30 '10 at 1:26

2 Answers 2

As @aking1012 mentioned, you can bestow ownership of the aforementioned files.

To take ownership of file (Quotes: http://support.microsoft.com/kb/308421 )

How to take ownership of a file You must have ownership of a protected file in order to access it. If another user has restricted access and you are the computer administrator, you can access the file by taking ownership.

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 file that you now own, follow these steps:

  1. Click Add.
  2. In the Enter the object names to select (examples) list, type the user or group account that you want to have access to the file. For example, type Administrator.
  3. Click OK.
  4. 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.
  5. When you are finished assigning permissions, click OK.
  6. You can now access the file.

How to take ownership of a folder You must have ownership of a protected folder in order to access it. If another user has restricted access and you are the computer administrator, you can access the folder by taking ownership.

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 the 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 click 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.
share|improve this answer

as long as it was a local user with no EFS you can just (as admin) R click properties and take ownership of the relevant directory...make sure to select apply to subdirectories. Alternately mount from linux livecd and copy to a FAT partition.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.