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

    • "all the way down" by 33 whole dollars. Amazing. You shouldn't have.
    • If they make a portable version, I might give it a try, but I will always prefer hotkeys to that approach
    • The Synology DS923+ is down to $610 just for today on Newegg by Steven Parker Right now on Newegg, and only for today (June 26) you can find the Synology DS923+ discounted all the way down to $609.99 when using a coupon during checkout, down from it's normal $642.99 price. Although we haven't reviewed the DS923+ on Neowin, we have seen Synology before and rated it quite highly. Besides, the DS1522 even has the same AMD R1600 CPU. Some people would consider Synology homelab NAS equipment the "gold standard", and as such, competitors strive to do as good, at least in regard to the Operating System, DSM, which ticks all the boxes for amateurs, professionals and small business users for its inclusion of mobile apps for core app services such as Surveillance Station, and more. Here are the most important specifications: Synology DS923+ CPU AMD Ryzen R1600 2-core 2.6 (base) / 3.1 (turbo) GHz Graphics No Memory 4 GB DDR4 SODIMM, maximum 32 GB (16 GB x 2) Disk Capacity 72 TB (18TB x 4) RAID Level RAID 0, 1, 5, 6, 10, and JBOD + SHR (Synology Hybrid RAID) Network 2 x RJ-45 1 GbE Internal storage 2 x M.2 2280 NVMe Slot USB Ports 1 x USB 3.2 (5 Gbps) HDMI 1 x Expansion 1 x eSATA 1 x Gen3 x2 network upgrade slot Size (H/W/D) 166 mm x 199 mm x 223 mm Weight 2.24 kg Power 35.51 W (Access) 11.52 W (HDD Hibernation) What's in the box? Main Unit X 1 Accessory Pack X 1 AC Power Adapter X 1 AC Power Cord X 1 RJ-45 LAN Cable X 2 Quick Installation Guide X 1 You may notice that the DS923+ does not have integrated graphics, which is a step down from earlier Intel-based models that did include an iGPU. However, even this year's model (the DS925+) does not include an iGPU with its slightly newer AMD Ryzen Embedded V1500B CPU, but also unhelpfully locks down what you can use in it. All 2025 models require hardware from Synology's own compatibility list, this currently does not affect the DS923+. In addition you are only getting dual 1 GB Ethernet with the DS923+, so you may need to factor in the cost of adding the 10 GbE PCIe network card, which sells for $110.99 on Newegg. Ultimately, deciding on a NAS device comes to down to your individual requirements. For example, more bays is not always better, especially once you factor in the price of hard drives. Those with more modest storage requirements may be better off with a 2-bay device. From my personal experience, DSM 7.2 is great, it's so great that I have installed it on my TerraMaster F4-424 Max. Finally, and perhaps more importantly many tinkerers would prefer building their own server which is definitely a cheaper option, but without the polish of a dedicated NAS. If you have no need to transcode video on the fly and want a four bay NAS device, then the DS923+ is a great solution for every other use case and I can highly recommend it. Synology DS923+ for $609.99 on Newegg (was $642.99) Enter coupon code SACET2369 for above price during checkout
    • I don't think it's childish, but I do think it would be ineffective. If I was addicted to social media I would just disable the extension when I wanted to visit the certain sites.
    • Did you copy SuperHands's post and just reword it 🤣
  • Recent Achievements

    • Conversation Starter
      Kavin25 earned a badge
      Conversation Starter
    • One Month Later
      Leonard grant earned a badge
      One Month Later
    • Week One Done
      pcdoctorsnet earned a badge
      Week One Done
    • Rising Star
      Phillip0web went up a rank
      Rising Star
    • One Month Later
      Epaminombas earned a badge
      One Month Later
  • Popular Contributors

    1. 1
      +primortal
      529
    2. 2
      ATLien_0
      207
    3. 3
      +FloatingFatMan
      168
    4. 4
      Michael Scrip
      150
    5. 5
      snowy owl
      126
  • Tell a friend

    Love Neowin? Tell a friend!