How do I delete a Windows 7 folder as administrator?

This article was co-authored by Scott St Gelais. Scott St Gelais is an IT Consultant and the Owner of Geeks in Phoenix, Arizona. With over two decades of experience, Scott specializes in computer service and repair, development, computer graphics, and website authoring. Scott received his Technical Associates Degree from High Tech Institute and completed the IT Support Professional Certificate by Google. Geeks in Phoenix is a member of the Microsoft Partner Network and an Intel Technology Provider Gold Partner.

The wikiHow Tech Team also followed the article's instructions and verified that they work.

This article has been viewed 900,500 times.

Permissions in Windows 7 determine which users can access, modify, and delete files and folders. Every file and folder on your Windows computer has individual permissions settings. Changing permissions allows you to lock down or open up files for the users on your computer. If you've recently recovered data from an old hard drive, you may need to take ownership of the files so that you can access them.

Steps

  1. Log into Windows as an administrator. If you aren't logged in as an administrator, you'll only be able to change permissions for your own user account. In order to change permissions for other accounts on the computer, you'll need to be logged in with an account with administrator privileges.

    • If you are not logged in as an administrator, you won't be able to access most of the permissions settings.

  2. Right-click on the file or folder you want to change permissions for. You can change the permissions for any file or folder. Changing the permissions for a folder will change the permissions for all of the files and folders inside.

    • You won't be able to change permissions for files that are currently in use. Make sure that you close any programs currently using the file or folder that you are attempting to change permissions for.

  3. Select "Properties." This will open the file or folder's Properties window.

  4. Click the "Security" tab. This will display a list of groups and users that currently have permissions for the object.

    • If you don't have a "Security" tab, you are likely trying to change the permissions for a file stored on a USB drive. If your USB drive is formatted with the FAT32 file system, you can't set permissions for the object. The disk must be using the NTFS file system.

  5. Click the "Edit" button. This will allow you to change the permissions for that file or folder for any user on the computer.

  6. Click the "Add" button to add a new user or group to the list. If you want to add a new user to the list of user with permissions for that file, click the "Add" button to begin.

    • Click "Advanced" and then "Find Now" to find all of the users and groups on that computer.
    • Select the user you want to add to the permissions list and click "OK." They'll be added to the "Group or user names" list.

  7. Select the user that you want to change permissions for. The available permissions will be displayed in the "Permissions for User" list.

  8. Check the boxes for the permissions you want to add for that user or group. Each permission in the list has an "Allow" and "Deny" box. Check what permissions you want to give to or restrict from the user:

    • Full control - User can read, write, change, or delete the file.
    • Modify - User can read, write, and change the file.
    • Read & execute - User can read or run the selected file.
    • List folder contents - User can view the files in the selected folder.
    • Read - User can open the file.
    • Write - User can edit the file or create new files.

  9. Adjust your settings if the boxes are grayed out. If you aren't able to change any of the permissions, you may have to adjust some settings:

    • Click the "Advanced" button in the Security tab.
    • Select your user and click "Change Permissions/Edit."
    • Uncheck "Include inheritable permissions from this object's parent."
    • Save your changes. You should now be able to check the permissions boxes.

  10. Click "Apply" to save your changes. The changes that you make will be saved and applied to the user. If you were changing permissions for yourself, the changes will take place immediately.

  1. Log in as an administrator. Only accounts with administrator privileges are able to change the ownership of files and folders.

  2. Right-click the file or folder you want to change owners for and select "Properties." This will open the object's Properties window.

  3. Click the "Security" tab. This will display the list of users that have permissions set for the object.

    • If you don't see the Security tab, you're likely trying to change the properties of an object on a FAT32 USB drive. Security options are only available on drives with the NTFS format. Most USB drives are FAT32 format.

  4. Click the "Advanced" button. This will open the Advanced Security Settings window.

  5. Click the "Owner" tab. This will display the path to the selected object, the current owner, and a list of possible owners.

  6. Click "Edit" to change the owner. This will allow you to select a different owner from the list.

  7. Click "Other users or groups" if the user isn't listed. If the user or group that you want to give ownership to isn't listed, click the "Other users or groups" button to find and add them:

    • Click "Advanced" and then "Find Now" to find all of the users and groups on that computer.
    • Select the user you want to add to the permissions list and click "OK." They'll be added to the "Change owner to" list.

  8. Check the "Replace owner on subcontainers and objects" box. This will give the new user ownership of any subfolders for the object you have selected.

  9. Save your changes. Click "OK" to save your ownership changes. If you re-open the Properties window and switch to the Security tab, you'll be able to see that the ownership has been changed in the Advanced Security Settings window.

  10. Adjust your permissions. You may still need to set your permissions for the file at "Full control," even after taking ownership of it. Follow the instructions in the first section of this article to do so.

Add New Question

  • Why is the computer still asking for permission to delete the folder?

    How do I delete a Windows 7 folder as administrator?

    It's because your PC can hold accounts for different users who can log onto your computer. Only the administrator (main account) can delete accounts, so it's just verifying you are the admin.

  • What do I do if I get "access is denied?"

    How do I delete a Windows 7 folder as administrator?

    Check and make sure that you are logged in as an administrator. If you are not the system administrator, ask the admin to change whatever settings you are looking to fix.

  • I am logged in as an administrator but I can't change permissions on "avast" folders. Access is denied, no matter what I try. Do you have any suggestions for me?

    How do I delete a Windows 7 folder as administrator?

    "Avast" folders have permissions similar to folders like C:\Windows\WinSxS, so you can't delete those folders.

See more answers

Include your email address to get a message when this question is answered.

Submit

Article SummaryX

1. Log in as an administrator.
2. Right-click a file or folder.
3. Click Properties.
4. Click Security.
5. Click Edit.
6. Click Add to add a user.
7. Choose permissions for all users.
8. Click OK.

Did this summary help you?YesNo

Thanks to all authors for creating a page that has been read 900,500 times.

  • How do I delete a Windows 7 folder as administrator?

    "This article is really helpful for me. I have been having this problem over a year. This article helped me to overcome this problem. Thanks for your help, wikiHow. "..." more

    How to get administrator permission to delete file Windows 7?

    Navigate to the folder you want to delete, right-click it and select Properties. Select the Security tab and click the Advanced button. Click on Change located at the front of the Owner file and click on the Advanced button. Enter your username in the Enter the object name to select field.

    Why can't I delete files even though I'm administrator?

    Some files/folders cannot be deleted by you as a user because another user is marked as owner. As administrator you can set yourself as the owner which is called “taking ownership” in IT-lingo. To do this, start by right-clicking on the file or folder and selecting “Properties”.

    How do I force delete a file as administrator?

    The easiest way to force delete a file in Windows is by deleting it using the del /f command in the Command Prompt with administrator privileges. Another way is to gain ownership back. If all fails, you need a third-party application like LockHunter.

    How do I delete Undeletable folders in Windows 7?

    Solution 1..
    Press "Ctrl + Alt + Delete" simultaneously and choose "Task Manager" to open it..
    Find the application where your data is in use. Select it and click "End task"..
    Try to delete the undeletable information once again..