
When you attempt to delete or transfer some files and folders from your Windows 7 computer, you have got the error code “The directory is not empty” error code 0x80070091. This may for many reasons such as bad sector on your computer, virus exited and incompatible 3rd party software.
When you attempt to delete or transfer some files and folders from your Windows 7 computer, you have got the error code “The directory is not empty” error code 0x80070091. This may for many reasons such as bad sector on your computer, virus exited and incompatible 3rd party software.
Right-click on folder -> Properties.
Security Tab.
Click on Advanced button.
Owner tab.
Edit..
select Administrators in ‘Change owner to’, check ‘replace owner on subcontainers and objects’..
Open cmd.exe as administrator.
type ‘cacls l:\messedUpFolder /T /e /g Administrators:f’
Right click folder.
Select “properties”
Select the “security” tab.
Click the ‘Advanced” button.
Select the “owner” tab.
Click the “Edit” button.
Under ‘change owner to’ highlight the user you wish to set as owner.
Check the ‘replace owner on subcontainers and objects’ box.
You can use your current built-in tool, the command line, to run a delete command to remove a folder type or empty a folder. Stage 1 special Type “cmd” in the 18 meters search field and open a command line command.
Solution 1 – Retain ownership of the file or folder How to delete a file or folder as administrator? Of course, you must take the file or folder as the name. For example, take a folder that cannot be deleted: 1. Right-click the folder you want to delete and also select Properties. 2. Go to each “Security” tab and click the “Advanced” button. 3.
To remove a directory, including fully nested files and subdirectories, simply use the /s flag: there will most likely be a prompt when asking the client if they want to remove this directory. If so, just type “y” and press Enter. And it’s all! Preferably, this should be all you need to delete files and folders on the Windows command line.
When you are trying to delete or transfer some files and folders from your Windows 7 computer, someone got the “Program directory is not empty” error with law error 0x80070091. This can apply to many components such as bad sectors on your computer, virus attacks, and incompatible third-party software.
Deleting files and folders in Windows 1 7 Select the appropriate file or folder icon. 2 Click Remove. 3 In the dialog box that appears, click Yes to verify the deletion.
Step 1: Right click on your own drive (Windows 7 drive) and select Properties. Step 2: Click the Clear button on the build panel. Step 3: If you don’t see previous Windows installations under “File Deletion” in the list, click “Clean up system files” to view previous Windows installations in file deletion policies.