+ Post New Thread
Results 1 to 8 of 8
Windows Thread, Can't delete corrupt folder in Technical; I was in the process of copying a user profile to the server using the Copy to command in System ...
  1. #1
    cookie_monster's Avatar
    Join Date
    May 2007
    Location
    Derbyshire
    Posts
    4,185
    Thank Post
    392
    Thanked 278 Times in 239 Posts
    Rep Power
    74

    Can't delete corrupt folder

    I was in the process of copying a user profile to the server using the Copy to command in System when the machine stopped responding, the folder that was create is now inaccessible i can't open it or view NTFS permissions. I've tried from the command line, del, RD, RMDIR and nothing seems to work.


    Can't reboot the server at the mo, any other ideas how i can get rid of this directory?

    Cheers.

  2. #2

    localzuk's Avatar
    Join Date
    Dec 2006
    Location
    Minehead
    Posts
    17,095
    Thank Post
    511
    Thanked 2,308 Times in 1,784 Posts
    Blog Entries
    24
    Rep Power
    803
    Have you tried going to Security -> Advanced -> Ownership and then taking ownership of the folder?

  3. #3
    IrritableTech's Avatar
    Join Date
    Nov 2007
    Location
    Yorkshire
    Posts
    707
    Thank Post
    71
    Thanked 145 Times in 116 Posts
    Rep Power
    58
    Tried Unlocker?

    UNLOCKER 1.8.7 BY CEDRICK 'NITCH' COLLOMB

    Its' helped me out in these situations a few times.

  4. #4
    Face-Man's Avatar
    Join Date
    Dec 2005
    Location
    London
    Posts
    577
    Thank Post
    11
    Thanked 58 Times in 40 Posts
    Rep Power
    69
    I've had this problem and had to use calcs to change the NTFS permissions in order to delete it

  5. #5
    cookie_monster's Avatar
    Join Date
    May 2007
    Location
    Derbyshire
    Posts
    4,185
    Thank Post
    392
    Thanked 278 Times in 239 Posts
    Rep Power
    74
    Taking ownership failed i'm afraid.


    I'll look at unlocker.


    I was just looking at cacls i'll let you know.

    Cheers.

    EDIT

    CACLS says 'access denied'
    Last edited by cookie_monster; 18th September 2008 at 02:10 PM.

  6. #6

    Join Date
    Sep 2008
    Posts
    6
    Thank Post
    0
    Thanked 2 Times in 2 Posts
    Rep Power
    0
    If you are trying to delete files from a command prompt, try putting the file path after the following to bypass ntfs checking.
    \\?\

    eg

    del c:\myfile.txt

    becomes

    del \\?\c:\myfile.txt

  7. #7

    Michael's Avatar
    Join Date
    Dec 2005
    Location
    Birmingham
    Posts
    8,941
    Thank Post
    232
    Thanked 1,510 Times in 1,206 Posts
    Rep Power
    328
    Open up Task Manager, open a command prompt (type the relevant command to delete the folder), kill explorer.exe, then press enter on the command prompt (to delete the folder), then restart explorer.exe.

  8. #8
    cookie_monster's Avatar
    Join Date
    May 2007
    Location
    Derbyshire
    Posts
    4,185
    Thank Post
    392
    Thanked 278 Times in 239 Posts
    Rep Power
    74
    As i expected a reboot got rid of it.

    Cheers.

SHARE:
+ Post New Thread

Similar Threads

  1. Delete a folder using Vbscript
    By soze in forum How do you do....it?
    Replies: 1
    Last Post: 2nd June 2008, 08:59 PM
  2. Exchange Delete Personal folder
    By iownitcouk in forum Windows
    Replies: 2
    Last Post: 9th May 2008, 12:35 PM
  3. Replies: 2
    Last Post: 17th April 2008, 11:25 AM
  4. Delete a folder using scripting
    By FN-GM in forum Scripts
    Replies: 15
    Last Post: 22nd December 2007, 04:44 PM
  5. Got a folder I cannot delete or take ownership of
    By sidewinder in forum Windows
    Replies: 2
    Last Post: 20th March 2007, 02:49 PM

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

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