Share via

I can't delete files but need permission and can't be fixed help?

Anonymous
2020-06-28T19:35:36+00:00

So i had this old game i wanted to delete but it's not deleting whenever i click delete it needs permission and I don't know how to fix it

Windows for home | Windows 10 | Files, folders, and storage

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments

11 answers

Sort by: Most helpful
  1. Anonymous
    2020-06-28T19:42:10+00:00

    Hi aboodhamdi, My name is Jeremy, a Windows Independent Adviser. I'll be happy to help you out today. Let’s see what I can do.

    *The first method to resolve "Access Denied" problems when deleting a folder is to delete the folder from Windows Safe Mode. To do that:

    1. Simultaneously press the Windows + R keys to open the 'Run' command box.
    2. In the run command box, type msconfig press Enter to open the System Configuration utility.
    3. At the Boot tab, check the Safe Boot option and hit OK.
    4. At the next window, click Restart.
    5. In Windows Safe Mode, try to delete the folder/file.
    6. Then, open the System Configuration utility (msconfig) utility again and uncheck the Safe Boot option. Hit OK to restart Windows normally.

    *If that didn't work, another method to bypass the "You need permission" problem, is to change the Owner of the folder. To do that:

    1. Right-click at the folder or file that you cannot delete and select Properties.
    2. Select the Security tab and click Advanced.
    3. Click the Change Owner.
    4. Type your account username (e.g. "Admin") and click OK.
    5. Check the "Replace owner on subcontainers and objects" checkbox and click OK. Then click OK again to close security settings.
    6. Now try to delete the folder.

    Or you may also try to delete the folder from Command Prompt.

    1. Open Command Prompt as Administrator.
    2. Take the ownership permissions for the folder that you want to delete, by typing this command:

    takeown /F "Full_Path_Folder_Name" /r /d y

    Sample: At this example we 're going to delete the "C:\Folder1", so the command will be:

    takeown /F "C:\Folder1" /r /d y

    1. Then give this command to take full control permissions at the folder that you want to delete:

    icacls "Full_Path_Folder_Name" /grant Administrators:F /t

    Sample: For this example the command will be:

    icacls "C:\Folder1" /grant Administrators:F /t

    1. Finally, type the following command to delete the folder:

    rd "Full_Path_Folder_Name" /S /Q

    Sample: For this example the command will be:

    rd "C:\Folder1" /S /Q

    Let me know how it goes

    Kind regards,

    Jeremy

    Was this answer helpful?

    100+ people found this answer helpful.
    0 comments No comments
  2. Anonymous
    2020-06-29T14:14:47+00:00

    Hi aboodhamdi, may I ask if you are logged on as Admin in your PC or the user you are using now is not the admin?

    Was this answer helpful?

    10+ people found this answer helpful.
    0 comments No comments
  3. Anonymous
    2020-06-29T14:11:49+00:00

    i tried the security in properties and didn't work but in safe mode i didn't try it because it needs a password and i forgot my password.

    Was this answer helpful?

    7 people found this answer helpful.
    0 comments No comments
  4. Anonymous
    2020-06-28T19:52:15+00:00

    the full path folder name is the location file right?

    Was this answer helpful?

    6 people found this answer helpful.
    0 comments No comments
  5. Anonymous
    2020-06-28T20:02:29+00:00

    this one right? i'm new to this so i'm just making sure

    Was this answer helpful?

    5 people found this answer helpful.
    0 comments No comments