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

    • No, it’s not what you said.
    • AMD quietly releases a new budget-friendly AM4 processor with 3D cache by Taras Buria In November 2023, news emerged about AMD preparing more Ryzen processors with 3D cache for the AM4 platform, which is now nine years old. It took a while for the company to confirm those rumors, but it's finally here. The Ryzen 5 5500X3D is now official, a new entry-level chip with stacked cache to offer good gaming performance to those on tight budgets. The Ryzen 5 5500X3D (first spotted on EEC last year) is basically a clocked-down Ryzen 5 5600X3D. This six-core, twelve-thread AM4 processor operates at a base speed of 3GHz, and it can boost itself up to 4GHz. For comparison, the Ryzen 5 5600X3D has a 3.3GHz base clock and a 4.4GHz boost clock. L3 cache, however, remains unchanged: 96MB, which is a big deal for games (the more cache, the better performance). The same goes for the platform: it is built using TSMC's 7nm process and Zen 3 architecture. Unlike the current AM5 Ryzen chips with 3D cache, the Ryzen 5 5500X3D is not unlocked, which means its modest clocks cannot be overclocked beyond stock values. For comparison, here is AMD's current portfolio of AM4 processors with 3D cache: AM4 3D V-Cache CPUs Platform Core Count Base Clock Boost Clock L3 Cache AMD Ryzen 7 5800X3D AM4 8 cores, 16 threads 3.4GHz 4.5GHz 96MB AMD Ryzen 7 5700X3D AM4 8 cores, 16 threads 3.0GHz 4.1GHz 96MB AMD Ryzen 5 5600X3D AM4 6 cores, 12 threads 3.3GHz 4.4GHz 96MB AMD Ryzen 5 5500X3D AM4 6 cores, 12 threads 3.0GHz 4.0GHz 96MB Interestingly, the new Ryzen 5 5500X3D is listed as only available in Latin America (LATAM), which means you are unlikely to see it on sale in the United States or Europe. Therefore, you will have to look at other AM4 processors if you want to get more power without switching platforms. Source: @Zed__Wang on X
    • "Linux, I gotta tell you, is the worst. I have never even heard of it, but everyone is talking about how it is bad at everything, even the failing fake news. Trump Office is a big, beautiful application, that will do, frankly, all the things very strongly."
    • WebSite-Watcher 2025 (25.4) by Razvan Serea WebSite-Watcher is a powerful yet simple website-monitoring tool, perfectly suited to the beginner and advanced user alike. If you can work with an email client, you can even work with WebSite-Watcher! The software places you in complete control over what gets checked, when it gets checked, and even how you are notified. WebSite-Watcher main features: Monitor web pages Monitor password protected pages Monitor forums for new postings and replies Monitor PDF/Word/Excel documents Monitor binary files Monitor local files Monitor RSS feeds, Newsgroups and local files Highlight changes in a page Powerful filter system to ignore unwanted content Many more features to stay up-to-date. Lots of other features: Additional actions when updates are detected - For example to play an alternative sound, send emails or open the changed page with another program. You configure the software to work the way you want. Powerful Plugin system - Bookmark checks can be enhanced with the integrated Plugin system. For example to monitor a page for a specific price and alert an update only if the price is less than USD 100. Plugins must be written in the programming language Basic. WebSite-Watcher contains an integrated development system, no other tools are required. Work with checked pages (Searches, Reports, etc.) - All monitored pages are saved to your hard drive. This allows you to quickly and simply open and view the monitored pages, search text in downloaded files and make reports... all without even having to be online. Archive pages permanently - Keep the information you need by archiving pages with our tool Local Website Archive. This can be done automatically via the bookmark properties or manually on demand. Synchronize bookmark files - Synchronize bookmarks between computers with the synchronize functionality. Backup and Restore - The integrated Backup/Restore feature allows you to backup and restore your settings, bookmarks and downloaded files into/from a zip archive. WebSite-Watcher 2025 (25.4) changelog: Workaround for a Windows bug that displays short flashing windows when checking bookmarks with the Chromium or Edge technology (this bug was introduced with one of the latest Windows updates and affects many software tools, including WebSite-Watcher). Highlight changes: Improvements for more exact highlights within paragraphs If a page uses CloudFront and cannot be monitored with the internal check technology, WebSite-Watcher will automatically use the Chromium technology Download Manager: files could not be downloaded after certain circumstances Download Manager: Improved file type detection based on the file content Dialup/Hangup re-implemented for better compatibility. This function is now based on rasdial.exe which is part of Windows. Plugins: the functions "Chr" and "Ord" work now with Unicode character codes The AutoBackup window is no longer displayed when WebSite-Watcher is minimized or in the tray bar Smaller fixes and improvements Download: WebSite-Watcher 2025 (25.4) | 148.0 MB (Shareware) View: WebSite-Watcher Website | Screenshot Get alerted to all of our Software updates on Twitter at @NeowinSoftware
    • If they don't subtitle it "the search for more money" I'll be a little miffed.  I mean, that was a play on "the search for Spock" which no one freaking knows anymore, but still, they literally named the sequel in the first movie, so ...   (regardless, with everyone still alive on board, I'm super happy)
  • Recent Achievements

    • First Post
      NeoToad777 earned a badge
      First Post
    • Week One Done
      JoeV earned a badge
      Week One Done
    • One Month Later
      VAT Services in UAE earned a badge
      One Month Later
    • First Post
      LsDmT earned a badge
      First Post
    • Week One Done
      evershinefacilityservice earned a badge
      Week One Done
  • Popular Contributors

    1. 1
      +primortal
      572
    2. 2
      ATLien_0
      247
    3. 3
      +Edouard
      162
    4. 4
      +FloatingFatMan
      148
    5. 5
      Michael Scrip
      113
  • Tell a friend

    Love Neowin? Tell a friend!