I am unable to delete a specific set of files from a Windows Server 2003 server.
When trying to delete through Explorer.exe I get the message:-
Error Deleting File or Folder
Cannot delete ChargeStatsfor27Mar09: It is being used by another person or program.
Close any programs that might be using the file and try again.
I have checked within Computer Management for Open Files and can confirm that Windows is not reporting it as being open.
I have checked Security permissions and have taken ownership of the problematic files with the logged on user (a member of the domain admins group...).
I have run Unlocker (latest version as at 12/01/2010) which finds no open handles.
I have tried deleting the files using a Command Line but get a similar message to that above.
I have run Process Monitor and Process Explorer from the Sysinternals suite and have found no clue as to why these files cannot be deleted i.e. no data is returned to suggest what the problem is.
I have run Chkdsk on the volume containing the files which has produced no detected errors - haven't run this with the /F switch yet though as need to arrange downtime. Also haven't had chance to reboot for the same reason.
HP RAID diags show that there are no HDD hardware faults.
One strange thing is that the "Summary" tab of the files is missing when right-clicking and selecting Properties. I can only assume some sort of corruption which may be causing this!? Either way I need to remove these files.
I have about 8 years of Windows experience and this one really has me stumped so any help would be greatly appreciated.
When the error message appears, do you have a chance to take process explorer to capture to see if there is 2 open handles by the SYSTEM process on the file you want to delete?
Based on our experience, if there is some Anti-Virus application installed on the file server, it could cause this kind of issue. Please check if you have MxAfee installed, and we suggest you to keep update the latest version of the Anti-virus application installed on that server.
Meanwhile, please also try the following:
1. Boot into Safe Mode and try to delete the file;
2. Check the following KB:
You cannot delete a file or a folder on an NTFS file system volume
Hope it helps.
This posting is provided "AS IS" with no warranties, and confers no rights.Hope it helps.
I want to see if the information provided was helpful. Please keep us posted on your progress and let us know if you have any additional questions or concerns.
This posting is provided "AS IS" with no warranties, and confers no rights.
this could be if any of the apps which might be having a lock on this particular file you are trying to delete. Use Handle.exe from SysInternals, this tools will display all the open handles for the file you are trying to delete. Kill the process and try deleting the files.
Cannot delete excel 2010 It is being used by another person or program
This is an issue for 2010 shared Excel files, they either open as Read-only or “locking the file” when user not actually within the files but this has only been an issue for her since the upgrade to office 2010.
1)I have cleared temp files and tested but this is still an issue3)Please note share drive is on SAN not on file server or locally. If we copy the file from share drive to terminal server it works fine
2)My computer>manage>open files >there is no open files from user and no sessions from user.
4)in share drive we cannot rename the file and cannot rename the extinctions like .xls xlsx,xlsm etc..
5)Tried to repair the excel no luck to resolve ,workaround advised saveas the file ,There is no proper Microsoft articles to resolve this issue .please let me know if any