Access is denied? What?
Page 1 of 2 12 LastLast
Results 1 to 10 of 14

Thread: Access is denied? What?

  1. #1

    Access is denied? What?

    Okay, I feel like a total lamer for posting a question about how to delete something, but I don't know what to do. So I'll suffer my humiliation and hopefully find an answer for my problem.

    Anyway, disclaimers aside, I was trying to clear the spyware off a friend's computer using AdAware, and it told me some files could not be deleted. So I hunt them down and try to delete them manually, and I get the following error: "can not delete ~file~: access is denied
    Make sure the disk is not full or write-protected and that the file is not currently in use." I checked the thing's properties to make sure it wasn't write protected, and rebooted and closed all programs and as many active processes as I could to make sure that it wasn't in use by anything, or as sure as I could be, at least. And it stll wouldn't let me delete it or even rename it.

    So then I decided I'd be crafty and try and delete it from the DOS window, that didn't work. So then I went back to my dorm room got my Knoppix CD, and was gonna try and delete it from a Linux window, but for some reason her computer wouldn't run the Knoppix CD.

    Bottom line: how the hell do I delete this thing?
    Do not meddle in the affairs of hackers, for they are subtle and quick to anger.
    I am what I am and I do what I can.

  2. #2
    Just Another Geek
    Join Date
    Jul 2002
    Location
    Rotterdam, Netherlands
    Posts
    3,401
    You forgot to mention the OS you are working on.
    Oliver's Law:
    Experience is something you don't get until just after you need it.

  3. #3
    Senior Member
    Join Date
    Jan 2003
    Posts
    3,914
    Pop in a real DOS boot disk. Then you'll have no problem deleting the files.... I have this happen every now and then where Windows just decides a file can't be deleted... usually for me it's avi's... If you need the files for a boot disk head over to http://www.bootdisk.com/.... I recommend the Win 98 bootdisk... since it's the most recent and it's still DOS.

  4. #4
    Junior Member
    Join Date
    Mar 2003
    Posts
    5
    gimme the addy and i'll fix it from here...
    [shadow]i don\'t know who i am anymore...[/shadow]

  5. #5

    Sorry I forgot.

    She's using Windows XP. I'll try the bootdisk thing tomorrow (poor girl sleeps. When will the world learn that insomnia is much more efficient?).

    Three replies so soon after posting. At 4 AM no less. You guys rock. I love these boards.
    Do not meddle in the affairs of hackers, for they are subtle and quick to anger.
    I am what I am and I do what I can.

  6. #6
    Just Another Geek
    Join Date
    Jul 2002
    Location
    Rotterdam, Netherlands
    Posts
    3,401

    Re: Sorry I forgot.

    Originally posted here by RunningDuck
    She's using Windows XP. I'll try the bootdisk thing tomorrow (poor girl sleeps. When will the world learn that insomnia is much more efficient?).

    Three replies so soon after posting. At 4 AM no less. You guys rock. I love these boards.
    Hehehe. It's 12:40 PM here

    If it's XP and she is using NTFS forget about using the win9x bootdisks. You will not be able to delete it as win9x cannot read/write NTFS.

    Try this one:

    Login as an administrator (or some other account with administrator rights).

    start-> run.. cmd.exe

    at the prompt type:

    at <some time in the near future> /interactive cmd.exe

    ie: c:\> at 12:41 /interactive cmd.exe

    Then wait until the cmd box pops up. This command box will be running as LOCALSYSTEM. You should be able to delete *any* file now.

    NB. This also works for taskmgr.exe. This will allow you to kill any process running.

  7. #7
    Yeah, but if the file is a malicious one and has a code to make the prog seems like system prog, then you won't be able to delete it. The last chance is to run DOS and delete it from there.

  8. #8
    Senior Member
    Join Date
    Feb 2002
    Posts
    500
    Check your startup folder under programs, make sure it's empty. If your familliar, go into regedit, check your Run folder, make sure there isn't anything that shouldn't be there (IE: Bargains.exe). If you find something in either of those that looks suspicous, delete it, then reboot. This should stop any 3rd party software from running on startup, therefore you should be able to delete it. Also, a win98 boot disk will NOT help if you are using XP with NTFS file system. Just FYI.
    Ron Paul: Hope for America
    http://www.ronpaul2008.com/

  9. #9
    Junior Member
    Join Date
    Jan 2003
    Posts
    28
    I've had similar issues with some programs, that would not uninstall completely. The files were still in use, and what I did was log out and boot into safe mode. From there I was able to delete all the files without a file in use error. I would suggest trying this. Make sure to hit F8 before Windows starts loading and then select Boot into safe mode. Don't select the one with networking options. Hopefully this will help you.

  10. #10
    Senior Member
    Join Date
    Mar 2003
    Location
    central il
    Posts
    1,779
    Look at the properties of the file being deleted it may be marked as system. The other possability is thatthe file is in use...spyboat S&D deals with these.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •