Re: Cannot delete files from NTFS



"Pegasus (MVP)" <I.can@xxxxxxxxxx> wrote in message news:eK65BCWsIHA.3616@xxxxxxxxxxxxxxxxxxxxxxx

"MattD" <MattD@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message news:08A62A2A-0087-4F3A-8932-A24D6EE61FAF@xxxxxxxxxxxxxxxx
Server is Windows 2003 SP2 and we cannot delete 9 files from an NTFS
partition. They are in a users home drive. Permissions are,

- Domain Admins = Full Control
- System = Full Control
- %username% = Change

We have tried the following,

- A server reboot didn't release them
- Permissions are fine and were reflowed multiple times to bottom of tree
- There are no NTFS streams attached to the files
- There are no locks or holds or files or users using the files that we can
see
- Chkdsk reports no issues
- I get accessed denied to them from GUI and command line
- We have tried resetting the archive/compressed/etc bits back and forth
which released 2 files but 9 remain
- They cannot be renamed, moved or opened

Really stuck on ideas here. If anyone can assist or point to a tool which
would allow us to access these files outside of explorer would appreciate it.

We have looked at PendMoves and MoveFile from Sysinternals but that requires
another reboot of the server and we were lucky to get the first. Given the
first reboot didn't release them we are skeptical a second will do it
either...however humour us ;)


The archive flag plays no role when it comes to deleting files.
However, the read-only flag does. Try these three commands:
del /f /ah "{YourFileName}"
del /f "{YourFileName}"
echo. > "{YourFileName}"


If those don't work, try attrib -r -s -h "{YourFileName}" and then delete them. Also, verify you are the owner of the files before doing anything. If the ownership is wrong, you may not be able to delete them either. One other tip - do the work from the local Administrator account. If all else fails, reboot to safe mode and do all of the above in safe mode.

Mike Ober.


.



Relevant Pages

  • Re: Cannot delete files from NTFS
    ... Domain Admins = Full Control ... Permissions are fine and were reflowed multiple times to bottom of tree ... another reboot of the server and we were lucky to get the first. ... The archive flag plays no role when it comes to deleting files. ...
    (microsoft.public.windows.file_system)
  • Cannot delete files from NTFS
    ... Domain Admins = Full Control ... Permissions are fine and were reflowed multiple times to bottom of tree ... another reboot of the server and we were lucky to get the first. ... first reboot didn't release them we are skeptical a second will do it ...
    (microsoft.public.windows.file_system)
  • Re: permissions problems - help!!
    ... Reboot the computer and press F8 before it starts in normal mode this will ... Accept all the normal warning messages regarding safe mode ... Do this after you have reset the permissions ... > you having Full Control. ...
    (microsoft.public.windowsxp.security_admin)
  • Access denied to (some of) my files
    ... you may even have to reboot and in extreme ... circumstances log in safe mode. ... control of my files, but I cant seem to find where or how ...
    (microsoft.public.windowsxp.security_admin)
  • GPO to Solve this Issue
    ... problems but in this case the permissions are set up so that Everyone has ... full control on the share permissions and the NTFS permissions are set so ... Can anyone shed any light on the ACTUAL workings of the home folder mapping ...
    (microsoft.public.windows.server.active_directory)

Loading