Jump to content

Welcome to MSFN Forum
Register now to gain access to all of our features. Once registered and logged in, you will be able to create topics, post replies to existing threads, give reputation to your fellow members, get your own private messenger, post status updates, manage your profile and so much more. This message will be removed once you have signed in.
Login to Account Create an Account



Photo

deleting a folder with an error

- - - - -

  • Please log in to reply
12 replies to this topic

#1
pcandpc

pcandpc

    Member

  • Member
  • PipPip
  • 138 posts
  • Joined 03-July 05
Hello?

I'm using WinXP-Home. I'm trying to permanently
delete a folder that appears empty with another empty
subfolder, but I'm getting an error that says some user/
application is using the empty subfolder and cannot delete
this folder.

I've tried clearing the READ ONLY attribute but didn't help.

What should I do to delete this folder?

Thanks.


How to remove advertisement from MSFN

#2
^_^

^_^

    Member

  • Member
  • PipPip
  • 298 posts
  • Joined 05-June 04
if you have another computer that you can slave this drive into, you should be able to delete it that way
Posted Image
javascript:void(window.g_sDisableWGACheck='all')

#3
KJxp

KJxp

    Customize! Tweak!

  • Member
  • PipPip
  • 166 posts
  • Joined 19-April 05
Have you tried restarting your computer?

You could also use mstIsUsedBy to find out what program is using it.

America, Bless God!! - How to know Jesus personally - Disappointment with God?
(This is not commercial advertising, because I'm not selling anything. God is free.)

Posted Image


#4
pcandpc

pcandpc

    Member

  • Member
  • PipPip
  • 138 posts
  • Joined 03-July 05
Hi all,

Thanks for your feedbacks.

KJxp, what's mstIsUsedBy? Is it available out of WinXP or
some shareware? And, how do I use it?

Oh, by the way, restarting hasn't made any difference.

Edited by pcandpc, 03 July 2005 - 06:54 PM.


#5
KJxp

KJxp

    Customize! Tweak!

  • Member
  • PipPip
  • 166 posts
  • Joined 19-April 05
Sorry, I didn't explain. It is a freeware program available from http://www.mstsoftwa.../cFreeware.aspx
To use, run it. Then drag the offending file (or folder) and drop it on mstIsUsedBy. It will show you (if it can find a handle) which program(s) are locking it.

Edited by KJxp, 04 July 2005 - 09:13 AM.

America, Bless God!! - How to know Jesus personally - Disappointment with God?
(This is not commercial advertising, because I'm not selling anything. God is free.)

Posted Image


#6
KJxp

KJxp

    Customize! Tweak!

  • Member
  • PipPip
  • 166 posts
  • Joined 19-April 05
Another idea: at a command prompt, run this...
cacls "C:\Temp"
Replace C:\Temp with the full path to the offending folder. Then paste the output here (your user name isn't important, so replace it with **** to keep it private if you want).

America, Bless God!! - How to know Jesus personally - Disappointment with God?
(This is not commercial advertising, because I'm not selling anything. God is free.)

Posted Image


#7
pcandpc

pcandpc

    Member

  • Member
  • PipPip
  • 138 posts
  • Joined 03-July 05
Hi KJxp,

Thanks for your feedback. I'll check out your freeware later.

Actually, I'm more interested in resolving this issue within XP
without any external helper application. So, in that aspect,
here's the output from cacls command execution:

c:\program files\xerox BUILTIN\Users:R
BUILTIN\Users:(OI)(CI)(IO)(special access:)
GENERIC_READ
GENERIC_EXECUTE

BUILTIN\Administrators:F
BUILTIN\Administrators:(OI)(CI)(IO)F
NT AUTHORITY\SYSTEM:F
NT AUTHORITY\SYSTEM:(OI)(CI)(IO)F
CREATOR OWNER:(OI)(CI)(IO)F

Will this help? Wow, you can decipher this in plain English? Impressed!

Regards,

Edited by pcandpc, 04 July 2005 - 09:16 PM.


#8
KJxp

KJxp

    Customize! Tweak!

  • Member
  • PipPip
  • 166 posts
  • Joined 19-April 05
I didn't realize you were talking about the xerox folder. That is a folder always in use by Windows XP's winlogon.exe component. It's there on a clean install of windows. Using Process Explorer, you can close the handle to allow deletion, but it just comes back the next restart.

One solution is to disable SFC, then delete it, but this leaves your system unprotected by SFC: http://www.annoyance...inxp/1063930641

The folder is always empty, and harmless, so I'd say ignore it.

America, Bless God!! - How to know Jesus personally - Disappointment with God?
(This is not commercial advertising, because I'm not selling anything. God is free.)

Posted Image


#9
pcandpc

pcandpc

    Member

  • Member
  • PipPip
  • 138 posts
  • Joined 03-July 05
Hi KJxp,

Wonderful! Thanks for your clarification.

#10
Jito463

Jito463

    Advanced Member

  • Member
  • PipPipPip
  • 442 posts
  • Joined 01-July 04
  • OS:none specified
  • Country: Country Flag
Another option to delete a folder that is messed up and cannot be deleted is to boot to Safe Mode with Command Prompt. Mind you, this will boot to a very minimal Safe Mode with only a command line interface and nothing else. But if you know how to use a command prompt, you can delete the offending directory/file in this way without the need for a 3rd party program. I myself have used this method in the past.
Help us help YOU! <-- Click here

#11
pcandpc

pcandpc

    Member

  • Member
  • PipPip
  • 138 posts
  • Joined 03-July 05
Hi Jito463,

Thanks for your tip. That one just slipped off of me.

#12
bhurtel

bhurtel

    Junior

  • Member
  • Pip
  • 89 posts
  • Joined 27-April 05
use unlocker program

thanks rvyan'sVM for integrating the program
©Phonixsoft 2006 , Nepal

#13
pcandpc

pcandpc

    Member

  • Member
  • PipPip
  • 138 posts
  • Joined 03-July 05
Hi bhurtel,

Thanks for your feedback.

bhurtel, can you give me more details as to how
I can use this "unlocker" program and where I can
get it?

Regards,




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users