Solved

Cannot remove file structure on drive.

Posted on 2008-06-12
3
267 Views
Last Modified: 2013-11-14
I have a drive on my server which contains several directories.   However I can delete some of the directories and others I cannot.  I am logged in as administrator and the administrator has full control on the directories.  But when I attempt to delete the directories I get the following message...cannot delete (file name) Make sure the disk is not full or write protected and that the file is not currently in use.  Why can't I delete this directory?
0
Comment
Question by:submarinerssbn731
3 Comments
 
LVL 3

Accepted Solution

by:
Karl12347 earned 125 total points
Comment Utility
Someone else has the file or folder open elsewhere.

Right click my computer > then cloose manage, then choose shares option and open files.
if there is nothing in there then, try taking ownership of all the folders and replace the owner on all sub folders. Then try to delete it.

Hope this helps
Karl
0
 
LVL 24

Assisted Solution

by:purplepomegranite
purplepomegranite earned 125 total points
Comment Utility
What directory is it?

Things that stop you deleting files/folders:
- You don't have permission (some folders don't by default even allow the administrator to delete them, butyou can claim ownership if needed to delete)
- A file in the folder is locked (i.e. a program has this file open, this could be a network user or a local user)
- The folder itself is locked (it is possible to put a lock on a folder while accessing it - again, this will usually be application based i.e. someone is looking at the folder).
- Invalid characters in the folder/filename (if you have a space at the end of the folder name, you cannot delete it from Explorer).

Good guide here for NTFS volumes: http://support.microsoft.com/kb/320081
0
 

Author Closing Comment

by:submarinerssbn731
Comment Utility
Thanks to both of you for the answers!
0

Featured Post

Threat Intelligence Starter Resources

Integrating threat intelligence can be challenging, and not all companies are ready. These resources can help you build awareness and prepare for defense.

Join & Write a Comment

A quick step-by-step overview of installing and configuring Carbonite Server Backup.
This article is an update and follow-up of my previous article:   Storage 101: common concepts in the IT enterprise storage This time, I expand on more frequently used storage concepts.
This tutorial will walk an individual through the process of installing the necessary services and then configuring a Windows Server 2012 system as an iSCSI target. To install the necessary roles, go to Server Manager, and select Add Roles and Featu…
This Micro Tutorial will teach you how to reformat your flash drive. Sometimes your flash drive may have issues carrying files so this will completely restore it to manufacturing settings. Make sure to backup all files before reformatting. This w…

762 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

13 Experts available now in Live!

Get 1:1 Help Now