2. B. in the Programs and Windows folders. If Windows is blocking you from deleting a file, you can use a single command to force delete the file from the command line. I have changed the ownership of the file to the Domain Administrator, checked the Administrator's permissions for the folder and it shows Full Control, however when I attempt to delete the folder while logged in as the Administrator, it says it needs the Administrator's permission - Access Denied. Open PowerShell by pressing the Start button and typing PowerShell. You can press Windows + R keys on the keyboard, type cmd, and press Ctrl + Shift + Enter to run Windows Command Prompt as administrator. Step 2. For Full Control, highlight Administrators, then click to place a check in the Full Control box in the Allow column You should now be able to double click the folder to access it and see what is inside, or delete it. Sometimes works better if you add your specific user account, rather than just the Administrators group. Why is this happening, and what do I do to delete the files? Note Both of these methods permanently delete the data. This article has been viewed 747,077 times. First you have to open the command prompt as a privileged user. We use cookies to make wikiHow great. This saves all files on a private computer. It may happen that when you are trying to delete a file, you receive the following error message: Cannot delete License: Fair Use<\/a> (screenshot) License: Fair Use<\/a> (screenshot) License: Fair Use<\/a> (screenshot) License: Fair Use<\/a> (screenshot) License: Fair Use<\/a> (screenshot) License: Fair Use<\/a> (screenshot) License: Fair Use<\/a> (screenshot) License: Fair Use<\/a> (screenshot) License: Fair Use<\/a> (screenshot) License: Fair Use<\/a> (screenshot) License: Fair Use<\/a> (screenshot) License: Fair Use<\/a> (screenshot) License: Fair Use<\/a> (screenshot) License: Fair Use<\/a> (screenshot) License: Fair Use<\/a> (screenshot) License: Fair Use<\/a> (screenshot) License: Fair Use<\/a> (screenshot) License: Fair Use<\/a> (screenshot) License: Fair Use<\/a> (screenshot)
\n<\/p><\/div>"}, {"smallUrl":"https:\/\/www.wikihow.com\/images\/thumb\/a\/ad\/Delete-a-File-or-Folder-Showing-Error-%22Access-Is-Denied%22-Step-2-Version-7.jpg\/v4-460px-Delete-a-File-or-Folder-Showing-Error-%22Access-Is-Denied%22-Step-2-Version-7.jpg","bigUrl":"\/images\/thumb\/a\/ad\/Delete-a-File-or-Folder-Showing-Error-%22Access-Is-Denied%22-Step-2-Version-7.jpg\/aid811470-v4-728px-Delete-a-File-or-Folder-Showing-Error-%22Access-Is-Denied%22-Step-2-Version-7.jpg","smallWidth":460,"smallHeight":345,"bigWidth":728,"bigHeight":546,"licensing":"
\n<\/p><\/div>"}, {"smallUrl":"https:\/\/www.wikihow.com\/images\/thumb\/b\/b0\/Delete-a-File-or-Folder-Showing-Error-%22Access-Is-Denied%22-Step-3-Version-7.jpg\/v4-460px-Delete-a-File-or-Folder-Showing-Error-%22Access-Is-Denied%22-Step-3-Version-7.jpg","bigUrl":"\/images\/thumb\/b\/b0\/Delete-a-File-or-Folder-Showing-Error-%22Access-Is-Denied%22-Step-3-Version-7.jpg\/aid811470-v4-728px-Delete-a-File-or-Folder-Showing-Error-%22Access-Is-Denied%22-Step-3-Version-7.jpg","smallWidth":460,"smallHeight":345,"bigWidth":728,"bigHeight":546,"licensing":"
\n<\/p><\/div>"}, {"smallUrl":"https:\/\/www.wikihow.com\/images\/thumb\/e\/e7\/Delete-a-File-or-Folder-Showing-Error-%22Access-Is-Denied%22-Step-4-Version-7.jpg\/v4-460px-Delete-a-File-or-Folder-Showing-Error-%22Access-Is-Denied%22-Step-4-Version-7.jpg","bigUrl":"\/images\/thumb\/e\/e7\/Delete-a-File-or-Folder-Showing-Error-%22Access-Is-Denied%22-Step-4-Version-7.jpg\/aid811470-v4-728px-Delete-a-File-or-Folder-Showing-Error-%22Access-Is-Denied%22-Step-4-Version-7.jpg","smallWidth":460,"smallHeight":345,"bigWidth":728,"bigHeight":546,"licensing":"
\n<\/p><\/div>"}, {"smallUrl":"https:\/\/www.wikihow.com\/images\/thumb\/b\/b4\/Delete-a-File-or-Folder-Showing-Error-%22Access-Is-Denied%22-Step-5-Version-7.jpg\/v4-460px-Delete-a-File-or-Folder-Showing-Error-%22Access-Is-Denied%22-Step-5-Version-7.jpg","bigUrl":"\/images\/thumb\/b\/b4\/Delete-a-File-or-Folder-Showing-Error-%22Access-Is-Denied%22-Step-5-Version-7.jpg\/aid811470-v4-728px-Delete-a-File-or-Folder-Showing-Error-%22Access-Is-Denied%22-Step-5-Version-7.jpg","smallWidth":460,"smallHeight":345,"bigWidth":728,"bigHeight":546,"licensing":"
\n<\/p><\/div>"}, {"smallUrl":"https:\/\/www.wikihow.com\/images\/thumb\/1\/10\/Delete-a-File-or-Folder-Showing-Error-%22Access-Is-Denied%22-Step-6-Version-7.jpg\/v4-460px-Delete-a-File-or-Folder-Showing-Error-%22Access-Is-Denied%22-Step-6-Version-7.jpg","bigUrl":"\/images\/thumb\/1\/10\/Delete-a-File-or-Folder-Showing-Error-%22Access-Is-Denied%22-Step-6-Version-7.jpg\/aid811470-v4-728px-Delete-a-File-or-Folder-Showing-Error-%22Access-Is-Denied%22-Step-6-Version-7.jpg","smallWidth":460,"smallHeight":345,"bigWidth":728,"bigHeight":546,"licensing":"
\n<\/p><\/div>"}, {"smallUrl":"https:\/\/www.wikihow.com\/images\/thumb\/4\/47\/Delete-a-File-or-Folder-Showing-Error-%22Access-Is-Denied%22-Step-7-Version-7.jpg\/v4-460px-Delete-a-File-or-Folder-Showing-Error-%22Access-Is-Denied%22-Step-7-Version-7.jpg","bigUrl":"\/images\/thumb\/4\/47\/Delete-a-File-or-Folder-Showing-Error-%22Access-Is-Denied%22-Step-7-Version-7.jpg\/aid811470-v4-728px-Delete-a-File-or-Folder-Showing-Error-%22Access-Is-Denied%22-Step-7-Version-7.jpg","smallWidth":460,"smallHeight":345,"bigWidth":728,"bigHeight":546,"licensing":"
\n<\/p><\/div>"}, {"smallUrl":"https:\/\/www.wikihow.com\/images\/thumb\/2\/26\/Delete-a-File-or-Folder-Showing-Error-%22Access-Is-Denied%22-Step-8-Version-7.jpg\/v4-460px-Delete-a-File-or-Folder-Showing-Error-%22Access-Is-Denied%22-Step-8-Version-7.jpg","bigUrl":"\/images\/thumb\/2\/26\/Delete-a-File-or-Folder-Showing-Error-%22Access-Is-Denied%22-Step-8-Version-7.jpg\/aid811470-v4-728px-Delete-a-File-or-Folder-Showing-Error-%22Access-Is-Denied%22-Step-8-Version-7.jpg","smallWidth":460,"smallHeight":345,"bigWidth":728,"bigHeight":546,"licensing":"
\n<\/p><\/div>"}, {"smallUrl":"https:\/\/www.wikihow.com\/images\/thumb\/4\/4b\/Delete-a-File-or-Folder-Showing-Error-%22Access-Is-Denied%22-Step-9-Version-7.jpg\/v4-460px-Delete-a-File-or-Folder-Showing-Error-%22Access-Is-Denied%22-Step-9-Version-7.jpg","bigUrl":"\/images\/thumb\/4\/4b\/Delete-a-File-or-Folder-Showing-Error-%22Access-Is-Denied%22-Step-9-Version-7.jpg\/aid811470-v4-728px-Delete-a-File-or-Folder-Showing-Error-%22Access-Is-Denied%22-Step-9-Version-7.jpg","smallWidth":460,"smallHeight":345,"bigWidth":728,"bigHeight":546,"licensing":"
\n<\/p><\/div>"}, {"smallUrl":"https:\/\/www.wikihow.com\/images\/thumb\/d\/d5\/Delete-a-File-or-Folder-Showing-Error-%22Access-Is-Denied%22-Step-10-Version-7.jpg\/v4-460px-Delete-a-File-or-Folder-Showing-Error-%22Access-Is-Denied%22-Step-10-Version-7.jpg","bigUrl":"\/images\/thumb\/d\/d5\/Delete-a-File-or-Folder-Showing-Error-%22Access-Is-Denied%22-Step-10-Version-7.jpg\/aid811470-v4-728px-Delete-a-File-or-Folder-Showing-Error-%22Access-Is-Denied%22-Step-10-Version-7.jpg","smallWidth":460,"smallHeight":345,"bigWidth":728,"bigHeight":546,"licensing":"
\n<\/p><\/div>"}, {"smallUrl":"https:\/\/www.wikihow.com\/images\/thumb\/9\/9e\/Delete-a-File-or-Folder-Showing-Error-%22Access-Is-Denied%22-Step-11-Version-7.jpg\/v4-460px-Delete-a-File-or-Folder-Showing-Error-%22Access-Is-Denied%22-Step-11-Version-7.jpg","bigUrl":"\/images\/thumb\/9\/9e\/Delete-a-File-or-Folder-Showing-Error-%22Access-Is-Denied%22-Step-11-Version-7.jpg\/aid811470-v4-728px-Delete-a-File-or-Folder-Showing-Error-%22Access-Is-Denied%22-Step-11-Version-7.jpg","smallWidth":460,"smallHeight":345,"bigWidth":728,"bigHeight":546,"licensing":"
\n<\/p><\/div>"}, {"smallUrl":"https:\/\/www.wikihow.com\/images\/thumb\/a\/ae\/Delete-a-File-or-Folder-Showing-Error-%22Access-Is-Denied%22-Step-12-Version-7.jpg\/v4-460px-Delete-a-File-or-Folder-Showing-Error-%22Access-Is-Denied%22-Step-12-Version-7.jpg","bigUrl":"\/images\/thumb\/a\/ae\/Delete-a-File-or-Folder-Showing-Error-%22Access-Is-Denied%22-Step-12-Version-7.jpg\/aid811470-v4-728px-Delete-a-File-or-Folder-Showing-Error-%22Access-Is-Denied%22-Step-12-Version-7.jpg","smallWidth":460,"smallHeight":345,"bigWidth":728,"bigHeight":546,"licensing":"
\n<\/p><\/div>"}, {"smallUrl":"https:\/\/www.wikihow.com\/images\/thumb\/c\/c3\/Delete-a-File-or-Folder-Showing-Error-%22Access-Is-Denied%22-Step-13-Version-5.jpg\/v4-460px-Delete-a-File-or-Folder-Showing-Error-%22Access-Is-Denied%22-Step-13-Version-5.jpg","bigUrl":"\/images\/thumb\/c\/c3\/Delete-a-File-or-Folder-Showing-Error-%22Access-Is-Denied%22-Step-13-Version-5.jpg\/aid811470-v4-728px-Delete-a-File-or-Folder-Showing-Error-%22Access-Is-Denied%22-Step-13-Version-5.jpg","smallWidth":460,"smallHeight":345,"bigWidth":728,"bigHeight":546,"licensing":"
\n<\/p><\/div>"}, {"smallUrl":"https:\/\/www.wikihow.com\/images\/thumb\/5\/55\/Delete-a-File-or-Folder-Showing-Error-%22Access-Is-Denied%22-Step-14-Version-4.jpg\/v4-460px-Delete-a-File-or-Folder-Showing-Error-%22Access-Is-Denied%22-Step-14-Version-4.jpg","bigUrl":"\/images\/thumb\/5\/55\/Delete-a-File-or-Folder-Showing-Error-%22Access-Is-Denied%22-Step-14-Version-4.jpg\/aid811470-v4-728px-Delete-a-File-or-Folder-Showing-Error-%22Access-Is-Denied%22-Step-14-Version-4.jpg","smallWidth":460,"smallHeight":345,"bigWidth":728,"bigHeight":546,"licensing":"
\n<\/p><\/div>"}, {"smallUrl":"https:\/\/www.wikihow.com\/images\/thumb\/3\/3f\/Delete-a-File-or-Folder-Showing-Error-%22Access-Is-Denied%22-Step-15-Version-4.jpg\/v4-460px-Delete-a-File-or-Folder-Showing-Error-%22Access-Is-Denied%22-Step-15-Version-4.jpg","bigUrl":"\/images\/thumb\/3\/3f\/Delete-a-File-or-Folder-Showing-Error-%22Access-Is-Denied%22-Step-15-Version-4.jpg\/aid811470-v4-728px-Delete-a-File-or-Folder-Showing-Error-%22Access-Is-Denied%22-Step-15-Version-4.jpg","smallWidth":460,"smallHeight":345,"bigWidth":728,"bigHeight":546,"licensing":"
\n<\/p><\/div>"}, {"smallUrl":"https:\/\/www.wikihow.com\/images\/thumb\/4\/4b\/Delete-a-File-or-Folder-Showing-Error-%22Access-Is-Denied%22-Step-16-Version-5.jpg\/v4-460px-Delete-a-File-or-Folder-Showing-Error-%22Access-Is-Denied%22-Step-16-Version-5.jpg","bigUrl":"\/images\/thumb\/4\/4b\/Delete-a-File-or-Folder-Showing-Error-%22Access-Is-Denied%22-Step-16-Version-5.jpg\/aid811470-v4-728px-Delete-a-File-or-Folder-Showing-Error-%22Access-Is-Denied%22-Step-16-Version-5.jpg","smallWidth":460,"smallHeight":345,"bigWidth":728,"bigHeight":546,"licensing":"
\n<\/p><\/div>"}, {"smallUrl":"https:\/\/www.wikihow.com\/images\/thumb\/f\/f7\/Delete-a-File-or-Folder-Showing-Error-%22Access-Is-Denied%22-Step-17-Version-5.jpg\/v4-460px-Delete-a-File-or-Folder-Showing-Error-%22Access-Is-Denied%22-Step-17-Version-5.jpg","bigUrl":"\/images\/thumb\/f\/f7\/Delete-a-File-or-Folder-Showing-Error-%22Access-Is-Denied%22-Step-17-Version-5.jpg\/aid811470-v4-728px-Delete-a-File-or-Folder-Showing-Error-%22Access-Is-Denied%22-Step-17-Version-5.jpg","smallWidth":460,"smallHeight":345,"bigWidth":728,"bigHeight":546,"licensing":"
\n<\/p><\/div>"}, {"smallUrl":"https:\/\/www.wikihow.com\/images\/thumb\/f\/f9\/Delete-a-File-or-Folder-Showing-Error-%22Access-Is-Denied%22-Step-18-Version-3.jpg\/v4-460px-Delete-a-File-or-Folder-Showing-Error-%22Access-Is-Denied%22-Step-18-Version-3.jpg","bigUrl":"\/images\/thumb\/f\/f9\/Delete-a-File-or-Folder-Showing-Error-%22Access-Is-Denied%22-Step-18-Version-3.jpg\/aid811470-v4-728px-Delete-a-File-or-Folder-Showing-Error-%22Access-Is-Denied%22-Step-18-Version-3.jpg","smallWidth":460,"smallHeight":342,"bigWidth":728,"bigHeight":542,"licensing":"
\n<\/p><\/div>"}, {"smallUrl":"https:\/\/www.wikihow.com\/images\/thumb\/4\/46\/Delete-a-File-or-Folder-Showing-Error-%22Access-Is-Denied%22-Step-19-Version-3.jpg\/v4-460px-Delete-a-File-or-Folder-Showing-Error-%22Access-Is-Denied%22-Step-19-Version-3.jpg","bigUrl":"\/images\/thumb\/4\/46\/Delete-a-File-or-Folder-Showing-Error-%22Access-Is-Denied%22-Step-19-Version-3.jpg\/aid811470-v4-728px-Delete-a-File-or-Folder-Showing-Error-%22Access-Is-Denied%22-Step-19-Version-3.jpg","smallWidth":460,"smallHeight":341,"bigWidth":728,"bigHeight":540,"licensing":"
\n<\/p><\/div>"}, {"smallUrl":"https:\/\/www.wikihow.com\/images\/thumb\/d\/de\/Delete-a-File-or-Folder-Showing-Error-%22Access-Is-Denied%22-Step-20-Version-3.jpg\/v4-460px-Delete-a-File-or-Folder-Showing-Error-%22Access-Is-Denied%22-Step-20-Version-3.jpg","bigUrl":"\/images\/thumb\/d\/de\/Delete-a-File-or-Folder-Showing-Error-%22Access-Is-Denied%22-Step-20-Version-3.jpg\/aid811470-v4-728px-Delete-a-File-or-Folder-Showing-Error-%22Access-Is-Denied%22-Step-20-Version-3.jpg","smallWidth":460,"smallHeight":341,"bigWidth":728,"bigHeight":539,"licensing":"