Sometimes when deleting a folder first the UAC fires up and you’re asked to continue. Then the user is prompted “Cannot delete Folder: It is being used by another person. Close any programs that might be using the file and try again”. Of course other prompts you might see include:

“Cannot delete file: Access is denied”

“There has been a sharing violation”

“The source or destination file may be in use”

“The file is in use by another program or user”

“Make sure the disk is not full or write-protected and that the file is not currently in use”

First let’s figure out the Problem:

Let’s say you have the main folder named ‘folder1‘, and in it there’s another folder aka ‘folder2‘. You try to delete folder1 but an Access Denied prompt is loaded. What should I do? There are three solutions..