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

    • Is there any reason to think that an updated version of Linux is any less secure than Windows 11? If a govt has 30,000 PCs that won't support Win 11, then the choices are to remain on Win 10 with no security support, throw all 30,000 PCs in a landfill and buy new hardware and software, or keep the hardware and deploy open source software. Option #1 is obviously the worst. Option #2 probably costs $100s of millions and a great deal of e-waste. Option #3 is a matter of software support and personnel learning curve. This one isn't that hard to solve and it comes with a massive financial reward. Since France figured it out, so can anybody.
    • Some ewoks are Wonka's employees eyewitnessing dung
    • Windows 11 gets improved context menus, seconds for calendar clock, and more in new builds by Taras Buria Microsoft is finishing this week with two more builds for Windows Insiders in the Dev and Beta Channels. If you are in the former, you can download 26200.5651, while the latter received 26120.4441. These updates introduce some welcome improvements for context menus, calendar clock, Recall, Settings app, and more. Starting with Copilot+ PCs, users with Snapdragon-powered PCs (Intel and AMD support is coming soon) can try the new agent in Settings. You can type what you would like to change into the Settings app's search box, and the agent will do it for you. For example, you can say something like "my mouse pointer is too small," and the app will show you suggestions and offer to adjust settings on your behalf. Note: This feature is only available in the Dev build. In the European Economic Area, Recall now prompts users to save a unique code, which is required for exporting snapshots to share them with third-party apps or websites. This code is shown only once during the initial setup experience, so be sure to save it in a reliable place. Note: Today's updates will reset Recall and all your snapshots. Other Recall improvements (available in all countries where Recall is available) include the ability to reset Recall and all its data, a new default value for maximum storage duration (90 days instead of unlimited), and various tips to help you learn about Recall features. Microsoft is also introducing new features for Click to Do. You can now send text or images to Microsoft 365 Copilot. Click to Do can now let you take actions on an email address to schedule meetings or send messages in Teams. Next, we have a much-requested feature coming from Windows 10 to 11: Seconds for the calendar clock. The clock that appears in the calendar flyout can now display seconds if you want it to. Note that, unlike Windows 10, this feature is customizable: you can toggle seconds on or off in date and time settings. Here are other noteworthy changes in builds 26200.5651 and 26120.4441: Context menus now have dividers for common file actions When sharing files with OneDrive, Windows will offer additional sharing options like Nearby Sharing or third-party apps. Windows activation and expiration dialogs now feature modernized visuals. And here is what was fixed (these are rolling out gradually): [Recall (Preview)] The following fixes are rolling out for Recall on Copilot+ PCs: Fixed an issue causing Recall to crash for some Insiders in the last couple flights. [File Explorer] Fixed an issue when opening folders starting from outside of File Explorer, where File Explorer would open it in a new tab, but the tab wasn’t put in focus. Fixed a memory leak impacting some people when navigating through File Explorer folders, impacting performance and reliability over time. We’ve done some more work to improve the performance of extracting archive files – this will particularly help in the case of copy pasting large numbers of files out of large 7z or .rar archives. [Start menu] Fixed an issue for Insiders with the new Start menu, where it was displaying in the wrong direction when using an Arabic or Hebrew display language. Fixed an issue for Insiders with the updated Start menu, where the Move to front / Move right / Move left options from the context menu for pinned apps weren’t working. [Settings] Fixed an underlying issue which was causing some Insiders to see the Settings navigation pane entries in English rather than their preferred language in the last couple flights. [Other] Fixed an underlying issue which was causing fonts in certain app menu items to unexpectedly appear corrupted or overlapped for some people. This also impacted typing in Word – where when using Hebrew a period may unexpectedly show as a 3, and in Thai typing space may show a 2. Fixed an issue where running a script on a remote SMB share might take an unexpectedly long time if the share was an older Windows Server version like Windows Server 2019. And here is the list of known issues: [General] After you do a PC reset under Settings > System > Recovery, your build version may incorrectly show as Build 26100 instead of Build 26120. This will not prevent you from getting future Beta Channel updates, which will resolve this issue. The option to reset your PC under Settings > System > Recovery will not work on this build. Some Windows Insiders may experience a rollback trying to install this update with a 0x80070005 in Windows Update. We’re working on a fix. [Start menu] The following are known issues for Windows Insiders with the new Start menu: Using touch to navigate the new Start menu may not work reliably. For example, it currently does not support the swipe-up gesture. Drag and drop capabilities are limited from “All” to “Pinned.” In some cases, duplicate entries may appear in folders on the Start menu. [Xbox Controllers] Some Insiders are experiencing an issue where using their Xbox Controller via Bluetooth is causing their PC to bugcheck. Here is how to resolve the issue. Open Device Manager by searching for it via the search box on your taskbar. Once Device Manager is open, click on “View” and then “Devices by Driver”. Find the driver named “oemXXX.inf (XboxGameControllerDriver.inf)” where the “XXX” will be a specific number on your PC. Right-click on that driver and click “Uninstall”. [Click to Do (Preview)] The following known issues will be fixed in future updates to Windows Insiders: Windows Insiders on AMD or Intel™-powered Copilot+ PCs may experience long wait times on the first attempt to perform intelligent text actions in Click to Do after a new build or model update. [Improved Windows Search] [REMINDER] For improved Windows Search on Copilot+ PCs, it is recommended that you plug in your Copilot+ PC for the initial search indexing to get completed. You can check your search indexing status under Settings > Privacy & security > Searching Windows. [File Explorer] The following are known issues for AI actions in File Explorer: Narrator scan mode may not work properly in the action result canvas window for the Summarize AI action for Microsoft 365 files when reading bulleted lists. As a workaround, you can use Caps + Right key to navigate. [Widgets] Until we complete support for pinning in the new widgets board experience, pinning reverts you back to the previous experience You can find the announcement post here (Dev) and here (Beta).
    • But here’s the thing, it’s not really a no brainer. Windows 11’s requirements are based on minimum modern security standards. Running Linux on old hardware might be fine for individuals at home, but for businesses, governments, healthcare, or banks, security has to come first. Not upgrading just to save a bit of money doesn’t exactly inspire confidence. Whenever people skip upgrades, things usually go wrong and the public ends up paying for it. Some companies even factor in getting hacked and paying fines versus the cost of upgrading, and go with whatever is cheaper. It still happens, and it’s a bad look.
    • Itst not about security, but control. TPM allows MS to restrict control you have over your PERSONAL computer. I provides them god mode acces to your system, leaving you on the outside.
  • 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
      571
    2. 2
      ATLien_0
      250
    3. 3
      +Edouard
      162
    4. 4
      +FloatingFatMan
      149
    5. 5
      Michael Scrip
      113
  • Tell a friend

    Love Neowin? Tell a friend!