can't delete file in windows xp


Recommended Posts

There's a folder with a couple files in it I wanted to delete.

Error I'm getting is access denied.

Ok, I've tryed the following.

1. Restarted computer, tryed to delete as soon as I got in. - doesn't work

2. Boot into safe mode, tryed to delete file. - doesn't work

3. Tryed to delete single files in the folder - doesn't work

4. Tryed to delete the whole folder - doesn't work

5. Tryed third party software to delete the folder (MoveOnBoot) - doesn't work

6. Tryed to rename the files in the phone - wouldn't work

7. Tryed deleting through cmd with /q /s flags - doesn't work (access denied)

8. Started running checkdisk, but at 4/5 I think it stopped or it took too long so I canceled it.

9. used killbox

I can rename the folder that contains all the files but that's about it.

The folder holds about 10gigs, that's why I pretty much wanna get rid of it.

Also, it's a slave drive. 120gig Seagate.

Link to comment
https://www.neowin.net/forum/topic/278843-cant-delete-file-in-windows-xp/
Share on other sites

Press delete for a file and the confirmation dialog appears. Wait from 10 secs to a minute and after that press ok. Works for me.

This could also be a sign of the HD getting corrupted or some serious malfunction. My external Lacie HD first had these symptoms and they got worse and after two weeks the HD was totally ruined.

  permissionToExterminate said:
Press delete for a file and the confirmation dialog appears. Wait from 10 secs to a minute and after that press ok. Works for me.

This could also be a sign of the HD getting corrupted or some serious malfunction. My external Lacie HD first had these symptoms and they got worse and after two weeks the HD was totally ruined.

585390022[/snapback]

Oh.. this is new for me :huh: fortunately not happening for me :D

Take a look at Process Explorer (http://www.sysinternals.com/ntw2k/freeware/procexp.shtml). You might be able to see what has that file locked.

The most common reason for not being able to delete a file is it's probably being used by a process and cannot be deleted until the process frees the file. I use a utility called WhoLockMe which flags up the process locking the file and shows an option to terminate the process to free up the file. This works for me 99% of the time. Failing that, download MoveOnBoot which allows you to flag a file for deletion next time your computer reboots. However, I've only ever had to use this once. Good luck!

  spfdz said:
I'm gonna assume that if it doesn't work in command, it won't work in that aswell

585390038[/snapback]

perhaps, perhaps not. since knoppix doesn't touch anything on your harddrive and isn't windows-based, there's pretty much a 0.00% chance that anything will be accessing/using the folder and you should be able to delete it pretty easily.

as for how to use it... it's not rocket science. downloading the .iso will probably take longer than the deletion process.

I had a problem like this, I couldnt delete some .exes of DOS games I had...

I went into the task manager, and ended explorer. Afterwards, I opened up a command prompt and deleted the offending files that way.

I dont know if this will work for you, since you want to get rid of an entire folder O_o

  AV0X said:
Is it a porn file? (seriously)

585390568[/snapback]

hehe. yeah he never told us what type of folder/files. in most cases the file is locked by explorer. if the explorer end task i mentioned above does not work, it's obviously being locked by some other process :p

  Xerus said:
I had a problem like this, I couldnt delete some .exes of DOS games I had...

I went into the task manager, and ended explorer.  Afterwards, I opened up a command prompt and deleted the offending files that way.

I dont know if this will work for you, since you want to get rid of an entire folder O_o

585390601[/snapback]

How do you delete files with command prompt?

  AV0X said:
Is it a porn file? (seriously)

585390568[/snapback]

No not porn.

Couple exe files and iso images I made of my games.

And as for safe mode. Although it seems your trying to help, you should at least read the first post throughly. (points at#2)

EDIT: Deleting files with command prompt.

"del" or "rmdir"

in command prompt, use del /? and rmdir /? before actually using it so you don't screw something up..

i have been asked this several times, and every time the following method works.

ok do the following exactly as i am about to tell you, and your problems should be gone.

this is assuming no other program is keeping your files open, and that its windows that is just acting up.

1. ctrl alt del, then in task manager, right click on explorer.exe and terminate it. (your desktop icons will dissapear, that is normal)

2. Now MAKE SURE, you dont close task manager. keep it open.

3. go to file, then run and type cmd

4. now go to your file that you want to delete and delete it in dos. ( from your previous posts i assume you know how to use dos)

5. when you are done close command prompt.

6. go back to task manager and file, then run, and type explorer

7. your desktop should re-appear, and now you can close task manager.

this works almost every time. Hope it helps you.

This seems to be a common enough problem in windows xp, since i have been asked this question several times by people i know, and i have experienced it myself on a few computers. In my experience, this has nothing to do with bad harddrive etc.. it seems to be somthing corrupt in windows, and tends to happen on old installations which have been heavilly used.

  interested said:
i have been asked this several times, and every time the following method works.

ok do the following exactly as i am about to tell you, and your problems should be gone.

this is assuming no other program is keeping your files open, and that its windows that is just acting up.

1. ctrl alt del, then in task manager, right click on explorer.exe and terminate it. (your desktop icons will dissapear, that is normal)

2. Now MAKE SURE, you dont close task manager. keep it open.

3. go to file, then run and type cmd

4. now go to your file that you  want to delete and delete it in dos. ( from your previous posts i assume you know how to use dos)

5. when you are done close command prompt.

6. go back to task manager and file, then run, and type explorer

7. your desktop should re-appear, and now you can close task manager.

this works almost every time. Hope it helps you.

This seems to be a common enough problem in windows xp, since i have been asked this question several times by people i know, and i have experienced it myself on a few computers. In my experience, this has nothing to do with bad harddrive etc.. it seems to be somthing corrupt in windows, and tends to happen on old installations which have been heavilly used.

585395842[/snapback]

yep, that's my preferred method aswell ;)

This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Posts

    • Yeah it is like Aero Glass reborn! (which I loved) but I do not have any Apple devices.
    • Amazon to invest $20 billion in Pennsylvania for AI infrastructure, creating 1,250 jobs by Paul Hill The governor of Pennsylvania, Josh Shapiro, has announced that Amazon has agreed to invest at least $20 billion in AI infrastructure in the state. Shapiro noted that this is the largest-ever private sector investment in the state’s history and is set to create at least 1,250 high-paying, high-tech jobs, plus thousands of construction jobs to build the AWS data centers. The initial locations for the first two data centers are Salem Township in Luzerne County and Falls Township in Bucks County. The governor said that more sites were also under consideration, so this $20 billion figure could grow further. Aside from the obvious benefits for the locals, it also helps to keep America in a strong position in its AI race with China. Why Pennsylvania? The Shapiro administration's role “Pennsylvania is competing again – and I’m proud to announce that with Amazon’s commitment of at least $20 billion to build new state-of-the-art data center campuses across our Commonwealth, we have secured the largest private sector investment in the history of Pennsylvania,” said Governor Josh Shapiro. “This initial investment from Amazon will create thousands of good-paying, stable jobs as Pennsylvania workers build, maintain, and operate the first two data center campuses in Luzerne County and Bucks County. Our team worked closely with local leaders and Amazon to land this deal, and we continue to be actively engaged on securing additional sites in Pennsylvania – helping them secure local support, developing the infrastructure needed to support more data centers, and ensuring our permitting processes move quickly and efficiently. With this historic announcement, we’re creating opportunity for our workers, generating new revenue for our local communities, and ensuring the future of AI runs right through Pennsylvania.” Based on what Shapiro said, the state has tried quite hard to get Amazon to build there instead of somewhere else. States really have to put in effort to convince big tech, as other areas are also clamoring for businesses to set up there too. Back in 2021, we reported that Samsung had agreed to build its Taylor, Texas factory after the state made a tax break offer with the Korean company. The impact on jobs, communities, and the AI landscape Initially, Amazon will need thousands of construction workers to build the data centers and when this is done, it will be hiring 1,250 operators, technicians, and engineers to help manage the facilities - these jobs promise to be high-paying jobs. These jobs are also expected to drive up tax revenues, which will be positive for the state, counties, and municipalities. David Zapolsky, Amazon’s chief global affairs and legal officer, also said that the investments would create workforce development programs and community initiatives for the benefit of residents. It’s unclear from the announcement what form these will take.
    • Feels like Apple is kind of bringing Aero to their apple stuff, honestly. I get that same vibe.
    • Yeah a lot of people do that, but there are also terrible people on secondhand market places that will claim things like the CPU isn't working, or there's a problem with the motherboard etc It's harder to confirm to a buyer that the item is fine when it is all sold separately. I was thinking of taking out the 4070 and riser kit and lowering to 1400. I think people who would buy this sort of system would pair a better GPU with it anyway (I had a 4080 SUPER in it).
  • Recent Achievements

    • Enthusiast
      the420kid went up a rank
      Enthusiast
    • Conversation Starter
      NeoToad777 earned a badge
      Conversation Starter
    • Week One Done
      VicByrd earned a badge
      Week One Done
    • Reacting Well
      NeoToad777 earned a badge
      Reacting Well
    • Reacting Well
      eric79XXL earned a badge
      Reacting Well
  • Popular Contributors

    1. 1
      +primortal
      477
    2. 2
      +FloatingFatMan
      281
    3. 3
      ATLien_0
      253
    4. 4
      Edouard
      202
    5. 5
      snowy owl
      201
  • Tell a friend

    Love Neowin? Tell a friend!