Question

cannot delete : it is being used by another person or program

Asked by: iceb

Hi

i am running windows XP
i am trying to delete and move a couple of folders and files.
i get this error message.

Cannot delete [Folder Name]: it is being used by another person or program
close any programs that might be using the file and try again.

The point is no other program is using the files / folders. i have restarted the comp so many times , shutdoen the antivirus but nothing seems to be working. i need to free up hard disk space.

has nayone faced the same problems before ?

thanks.

iCe

This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.

Subscribe now for full access to Experts Exchange and get

Instant Access to this Solution

  • Plus...
  • 30 Day FREE access, no risk, no obligation
  • Collaborate with the world's top tech experts
  • Unlimited access to our exclusive solution database
  • Never be left without tech help again

Subscribe Now

Asked On
2004-04-29 at 22:31:04ID20973218
Tags

used

,

another

,

being

,

person

,

program

Topic

Windows XP Operating System

Participating Experts
11
Points
500
Comments
21

Trusted by hundreds of thousands everyday for fast, accurate and reliable tech support.

  • "The time we save is the biggest benefit of Experts Exchange to Warner Bros. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange." Mike Kapnisakis, Warner Bros.
  • "Our team likes having a resource that is more secure than just using Google and most experts using this service really know their stuff. It's nice to look here first versus using Google." Dayna Sellner, Lockheed Martin
  • "Anytime that I've been stumped with a problem, 9 out of 10 times Experts Exchange has either the accepted solution or an open discussion of the potential solution to the problem." Kenny Red, eBay Inc.

See what Experts Exchange can do for you.

Got a question?

We've got the answer.

Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.

Screenshot of Experts Exchange Knowledgebase

Need individual assistance?

Our experts are ready to help.

If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.

Screenshot of Experts Exchange Knowledgebase

Want to learn from the best?

Read articles from industry experts.

Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.

Screenshot of an Article

Working on a long term project?

Store your work and research.

Save solutions to your questions, answers you’ve discovered through searching plus helpful articles in your personal knowledgebase for easy future access.

Screenshot of Experts Exchange Knowledgebase

Access the answers to your technology questions today.

Subscribe Now

30-day free trial. Register in 60 seconds.

What Makes Experts Exchange Unique?

Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Trusted by the world's most respected brands.

image of each brand's logo

Faithfully serving IT professionals since 1996.

Experts Exchange Logo

Try it out and discover for yourself.

Subscribe Now

30-day free trial. Register in 60 seconds.

Related Solutions

  1. ICS Problem
    I'm currently having a problem with ICS @ the moment; The details of the network are as follows. 1. Win2000 server connected to a switch on one Ethernet card, supplying DHCP IP's to Clients. IP: 192.168.0.1 2. The other Ethernet card is connected to an ISDN Modem with IP: 1...
  2. ICS Problem
    Hi. I have two XP computers networked with a crossover wire. I can share files between then fine, but i am having trouble sharing a broadband connection from the host to the client. I have gone through many guides on the net, and have tried using the wizard but still no luck....
  3. Windows Firewall/ICS
    I am having problems w/my ICS. It won't load. I have read the previous question and solutions listed on this site. I can't get into my system restore nor get access to my command prompt. Please provide any help.

Free Tech Articles

  1. WARNING: 5 Reasons why you should NEVER fix a computer for free.
    It is in our nature to love the puzzle. We are obsessed. The lot of us. We love puzzles. We love the challenge. We thrive on finding the answer. We hate disarray. It bothers us deep in our soul. W...
  2. SCCM OSD Basic troubleshooting
    SCCM 2007 OSD is a fantastic way to deploy operating systems, however, like most things SCCM issues can sometimes be difficult to resolve due to the sheer volume of logs to sift through and the dispe...
  3. Migrate Small Business Server 2003 to Exchange 2010 and Windows 2008 R2
    This guide is intended to provide step by step instructions on how to migrate from Small Business Server 2003 to Windows 2008 R2 with Exchange 2010. For this migration to work you will need the fo...
  4. Create a Win7 Gadget
    This article shows you how to create a simple "Gadget" -- a sort of mini-application supported by Windows 7 and Vista. Gadgets can be dropped anywhere on the desktop to provide instant information, ...
  5. Outlook continually prompting for username and password
    There have been a lot of questions recently regarding Outlook prompting for a username and password whilst using Exchange 2007. There are a few reasons why this would happen and I will try to cover t...
  6. Backup Exchange 2010 Information Store using Windows Backup
    There seems to be quite a lot of confusion around the ability to backup Exchange 2010 using the built in Windows Backup feature. This stems from the omission of this feature prior to Exchange 2007 s...

Cloud Class Webinars

  1. Avoiding Bugs in Microsoft Access
    Alison Balter takes and in-depth look at avoiding bugs in Access. In this webinar you will learn about using the immediate window to debug your applications, invoking the debugger, using breakpoints to troubleshoot, stepping through code, setting the next statement to execute, ...
  2. Top 10 Best New Features in Visio 2010
    Scott Helmers gives live demonstrations of the top 10 new features in Visio 2010. This webinar will teach you how to create compelling diagrams by adding shapes to the page with a single click, linking the shapes in a diagram to data in Excel (or SQL Server, or SharePoint), ...
  3. IT Consultant Business Secrets Revealed
    Michael Munger, Experts Exchange tech pro and IT consultant, pulls back the curtain on his very successful businesses and answers question on every IT consultant and business owner should know about. He shares secrets on what he did to solve the 5 most common problems in IT, ...
  4. Disaster Recovery and Business Continuity
    Quest CTO, Mike Billon, gives an overview of the steps involved in building a dunamic disaster recovery plan. Through case studies and an examination of software/hardware tooles for monitoring and testing, you'll gain a better understandin of where you are, where you want ...
  5. Organize Your Visio Diagrams with Containers and Lists
    Scott Helmers uses cross functional flowcharts, wireframe diagrams, data graphic legends and seating charts to teach you: how to ustilize all three new structured diagram components in Visio 2010, the best practices for organizeing shapes in previous version of Visio, how to organize ...
  6. How to Us Objects, Properties, Events and Methods in Microsoft Access
    Alison Dalter gives an in-depbth look at objects, properties, events and methods in Microsoft Access. In this webinar you will learn about using the object browser, referring to objects, working with properties and methods, working with object variables, understanding the ...

Join the Community

Give a Little. Get a Lot.

Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.

Join the Community

Answers

 

by: sramesh2kPosted on 2004-04-29 at 22:52:25ID: 10956485

iCe: Tried it in Safe Mode? And which folders you're trying to move (shell folders?)

 

by: PaulADavisPosted on 2004-04-29 at 23:19:56ID: 10956573

are these just personal files and folders that you created? sometimes surprisingly something does have the file or folder locked open or sometimes permissions may be a factor... check out this link....

http://support.microsoft.com/default.aspx?scid=kb;en-us;320081

 

by: PaulADavisPosted on 2004-04-29 at 23:28:22ID: 10956613

check out cause #2.... also check up on the permissions and ownership of the files and folders.

other possible fixes:

http://www.theeldergeek.com/delete_undeletable_file.htm

 

by: dbacaljaPosted on 2004-04-30 at 02:30:10ID: 10957557

You might want to take a look at the Process Explorer from Sysinternals:

http://www.sysinternals.com/ntw2k/freeware/procexp.shtml

It can show you which handles (file, reg. key, directory etc.) and DLLs are in use and who is using them. Use "Find Handle" to do a search on opened handles. Just enter the directory or file name that is locked in the search bar. You will get the list of the processes that are keeping the file or directory locked.

 

by: Huseyin1Posted on 2004-04-30 at 02:59:17ID: 10957800

hi

right click the file you would like to remove then on the popup menu click on cut, now open the bin and paste in there, now empty the bin.

H

 

by: timothyfryerPosted on 2004-04-30 at 03:14:19ID: 10957910

You might try removing it in safe mode.  Might also try opeing task manager and killing as many processes as you can, though the wrong one and you get the countdown to shutdown box.  Then kill explorer, then open cmd.exe from the task manager and try to delete it from the command line.  If that doesn't work, you can try deleting it from the recovery console.

 

by: jvuzPosted on 2004-04-30 at 03:15:30ID: 10957916

 

by: jvuzPosted on 2004-04-30 at 03:15:46ID: 10957918

SYNTAX

Deletes one or more files.

DEL [drive:][path]filename [/P]
ERASE [drive:][path]filename [/P]

  [drive:][path]filename  Specifies the file(s) to delete.   Specify multiple
                          files by using wildcards.
  /P Prompts for confirmation before deleting each file.

EXAMPLES

del test.tmp = Deletes the test.tmp in the directory that you currently are in, if the file exists.
del c:\windows\test.tmp = Delete the c:\windows\test.tmp in the windows directory if it exists.
del c:\windows\temp\*.* = (* is for wild character(s)) *.* indicates that you would like to delete all files in the c:\windows\temp directory.
del c:\windows\temp\?est.tmp = (? is a single wild character for one letter) This command would delete any file ending with est.tmp such as pest.tmp or zest.tmp...

 

by: barcelona_blomPosted on 2004-04-30 at 03:31:32ID: 10958034

If you have access to another computer, you could pop the drive into the other computer and delete the files/folders using the other operating system,
That would work.

 

by: berni1234Posted on 2004-04-30 at 04:30:11ID: 10958443

is it an extremly long name+path (->try to rename a subordinated folder to 1 character, try to delete the file, rename the folder to its previous name)
have you tried to delete the file in a Dos command-windwo ("Del" like comment from jvuz) ?

 

by: icebPosted on 2004-04-30 at 17:46:40ID: 10965145

o my god !
soo many replies.

i'll have tuff time awarding points.
i m busy trying the solutions.

will get back soon.

thanks to everyone.

iCe

 

by: icebPosted on 2004-04-30 at 18:06:58ID: 10965214

Thanks. PaulADavis
http://www.theeldergeek.com/delete_undeletable_file.htm
This solution worked.

cmd. did it.
!@#$%^&*()  -> state of my mind  -> whom to award points.

Similar solution by jvuz.
Similra solution by timothyfryer -> had tried in safe mode and also by killing the processes

barcelona_blom had a good suggestion too.
dbacalja sent a cool link.

Huseyin1 -> i had tried that but even cut did not work.
berni1234 -> even renaming was giving the same error.


Still thinking about awarding points.

iCe

when i used del command in cmd it deleted the file. now it is not even in the recycle bin.
where did it go ? i know permanently deleted but shudnt it have been in recycle bin.

iCe

 

by: PaulADavisPosted on 2004-04-30 at 18:15:11ID: 10965236

lol.... i was surprised as well when i saw how many folks jumped on the question.... :-)

 

by: PaulADavisPosted on 2004-04-30 at 18:34:55ID: 10965296

thanks iceb....

experts exchange is a really nice place to find the answers you need and learn new things.... love it ;-)

all the best to you ....

 

by: icebPosted on 2004-04-30 at 18:40:19ID: 10965313

ok i feel guilty conscious.
please accept these points in the separate question i have created.
http://www.experts-exchange.com/Operating_Systems/WinXP/Q_20974315.html
[dbacalja] 100
[PaulADavis] 100
[timothyfryer] 50
[jvuz ] 100

sramesh2k -> had tried in safe mode. sorry . no points.
dbacalja -> 100 points -> for the excellent link
PaulADavis -> 100 points  -> cuz of the simple reason he answered first.
Huseyin1 -> i had tried that but even cut did not work.
timothyfryer -> 50 points -> same suggestion. but could have explained like jvuz. No offense meant.
jvuz -> 100 points -> for providing info at one place.
berni1234 -> your answer was a pointer to jvuz. no points. no offense meant.
barcelona_blom -> was a good suggestion. but not the primary solution. soory . no points.

This was by far the toughest time i had awarding points. it has taken me close to 30 minutes to be try to be fair to everyone.
(i hope :-))


iCe.

 

by: jvuzPosted on 2004-05-02 at 23:34:16ID: 10975076

Thanx,
Jvuz.

 

by: SongsdreamPosted on 2004-09-12 at 01:17:05ID: 12037482

I had the same problem and the cut and paste tip worked for me.

 

by: brigodonPosted on 2004-10-07 at 13:13:46ID: 12253129

I had this same problem with a large video file that refused to delete on my XP Pro NTFS machine.
I cut and pasted the file to an empty partition and formatted the partition and it cleared it ok.

This was before I saw Huseyin1's comment above suggesting a cut and paste to the Recyvle Bin which of course. if that works would be much simpler.

brigodon

 

by: kennethburgenerPosted on 2004-10-24 at 14:33:12ID: 12395464

The “accepted solution” to this has worked perfectly for deleting the undeletable files, but there is one small problem with this “accepted answer”.  It is just a bandaid, and only fixes the problem when it arises.  What do I do to keep the problem from arising in the first place?  I am now to the point that I am getting these undeletable files almost every other day, in the My Documents folder.  I use the sysinternals process explorer to check out which process has the lock, and it is consistently explorer.exe.  Why would explorer.exe be keeping these locks in the first place?

I have service pack 2 for Windows XP Professional, and it seems to have gotten worse after I installed service pack 2.  I don’t remember ever having this problem when I had no service packs installed, but then again that could just be my imagination.

 

by: PaulADavisPosted on 2004-10-24 at 14:46:17ID: 12395517

kennethburgener, you should open a seperate question....

this question 1.has been closed 2. is someone else's request for assistance.

check your permissions structure and/or perform a repair installation.
 
I am now unsubscribing from this question and will now longer receive notices.
Bet you would get a ton of responses if you opened a new question.

 

by: kennethburgenerPosted on 2004-10-24 at 15:48:14ID: 12395875

I have taken your advice and begun a new question here:
http://www.experts-exchange.com/Operating_Systems/WinXP/Q_21180703.html

20120131-EE-VQP-002

3 Ways to Join

30-Day Free Trial

The Experts

98% positive feedback on 31,087 answers since March 2000. angeliii is a Microsoft Most Valuable Professional for his work with MS SQL Server & Develoment.

He has also proven his knowledge of Visual Basic Programming, PHP Scripting and Oracle Databases.

The Experts

97% positive feedback on 10,752 answers since July 2000. lrmoore has more than 18 years experience in the networking industry.

The six-time Mircosoft MVPs specialties include firewalls, virtual private networking, and network management.

Testimonials

"...and excellent source for support... Kind of like having your very own IT dept." Electriciansnet

Testimonials

"I was apprehensive at signing up at first. However... it has already made my life as an IT administrator much easier." JaCrews

Testimonials

"WOW! You guys have great, active, and knowledgeable people on here." moore50

Business Clients

Business Clients

In the Press

"If you’ve got a question... Experts Exchange can supply an answer.”

In the Press

"...an invaluable aid for both IT professionals and those who require tech support."

In the Press

"where IT professionals provide quick answers on just about any topic"

Business Account Plans

Loading Advertisement...