Solved

Unable to delete folder from share on Windows 2003 Server

Posted on 2008-06-18
14
698 Views
Last Modified: 2012-06-27
Good Morning,

I'm currently unable to delete a folder contained in a share on a Windows 2003 Server.
When trying to delete the folder i receive the error message ' Cannot Delete file: Cannot read from the source file or disk '
If i right click and select properties on the folder there isn't a security tab available.
I tried taking ownership of the entire share, but i still cannot delete the folder.
I have Administrative privileges on the server.
Rebooting the server also does not make any difference.
Any ideas would be much appreciated.

Thanks,

Andrew
0
Comment
Question by:AndrewLeg
  • 7
  • 3
  • 2
  • +2
14 Comments
 
LVL 17

Expert Comment

by:Andres Perales
Comment Utility
You mentioned that you had access directly to the server can you go to the actual path that that folder is on and delet from there?

Andres
0
 

Author Comment

by:AndrewLeg
Comment Utility
Hi Andres,

That's where i'm receiving the error message, directly on the server.

Andrew
0
 
LVL 70

Expert Comment

by:KCTS
Comment Utility
Take ownership of the folder - not the share - then delete it
0
 

Author Comment

by:AndrewLeg
Comment Utility
I'm unable to take ownership of the folder as there isn't a secuity tab when i select properties on the folder.

Andrew
0
 
LVL 26

Expert Comment

by:lnkevin
Comment Utility
Permission screwed up sometimes due to the disk error. You may want to run chkdsk /f on the partition, which the folder resided then reboot the server to make sure Security tab is back.

K
0
 
LVL 17

Expert Comment

by:Andres Perales
Comment Utility
agree with Inkevin...reboot and check again...
0
 
LVL 38

Expert Comment

by:ChiefIT
Comment Utility
These may be DOS Based permissions. Go to start>>Run>>type cmd: navigate to the folder that this problem child folder resides in. Type attrib and see if it has any dos based attributes that don't use kerberose permissions to it.

Another thing I found that works is to change the folder name. Instead of foldername, change the name to foldername.tmp. Then, try to deleted it.
0
6 Surprising Benefits of Threat Intelligence

All sorts of threat intelligence is available on the web. Intelligence you can learn from, and use to anticipate and prepare for future attacks.

 

Author Comment

by:AndrewLeg
Comment Utility
I've now run chkdsk /f on the partition but i'm still getting the ' Cannot Delete file: Cannot read from the source file or disk ' error when trying to delete the folder, and the security tab is still not showing under properties for the folder.

Andrew
0
 

Author Comment

by:AndrewLeg
Comment Utility
Unable to change the folder name ' Cannot rename file: Cannot read from the source file or disk '.

The psucurity tab was available before the problem started.
0
 

Author Comment

by:AndrewLeg
Comment Utility
sorry, can't type :)

I meant the security tab was available before the problem started.
0
 
LVL 26

Expert Comment

by:lnkevin
Comment Utility
Try to boot in Safe Mode (F8 while windows is booting) to see if you can delete or access the security tab on the folder.

K
0
 

Author Comment

by:AndrewLeg
Comment Utility
Ok, so i tried booting in safe mode then accessing the folder and i'm still getting the same error message.
Any ideas ?

Thanks,

Andrew
0
 
LVL 26

Accepted Solution

by:
lnkevin earned 500 total points
Comment Utility
Some thing screws up in the registry. If you don't want to repair install your OS, all you need to do is download and use this application to delete that bad folder:
http://ccollomb.free.fr/unlocker/

K
0
 

Author Closing Comment

by:AndrewLeg
Comment Utility
What a great tool, worked like a charm, thanks.

Andrew
0

Featured Post

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Resolve Outlook connectivity issues after moving mailbox to new Exchange 2016 server
This process describes the steps required to Import and Export data from and to .pst files using Exchange 2010. We can use these steps to export data from a user to a .pst file, import data back to the same or a different user, or even import data t…
This Experts Exchange video Micro Tutorial shows how to tell Microsoft Office that a word is NOT spelled correctly. Microsoft Office has a built-in, main dictionary that is shared by Office apps, including Excel, Outlook, PowerPoint, and Word. When …
This video shows how to remove a single email address from the Outlook 2010 Auto Suggestion memory. NOTE: For Outlook 2016 and 2013 perform the exact same steps. Open a new email: Click the New email button in Outlook. Start typing the address: …

771 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now