Jump to content
Strawberry Orange Banana Lime Leaf Slate Sky Blueberry Grape Watermelon Chocolate Marble
Strawberry Orange Banana Lime Leaf Slate Sky Blueberry Grape Watermelon Chocolate Marble

MSFN is made available via donations, subscriptions and advertising revenue. The use of ad-blocking software hurts the site. Please disable ad-blocking software or set an exception for MSFN. Alternatively, register and become a site sponsor/subscriber and ads will be disabled automatically. 



Sign in to follow this  
pcandpc

deleting a folder with an error

Recommended Posts

pcandpc    0

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.

Share this post


Link to post
Share on other sites

KJxp    0

Have you tried restarting your computer?

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

Share this post


Link to post
Share on other sites
pcandpc    0

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

Share this post


Link to post
Share on other sites
KJxp    0

Sorry, I didn't explain. It is a freeware program available from http://www.mstsoftware.com/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

Share this post


Link to post
Share on other sites
KJxp    0

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).

Share this post


Link to post
Share on other sites
pcandpc    0

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

Share this post


Link to post
Share on other sites
KJxp    0

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.annoyances.org/exec/forum/winxp/1063930641

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

Share this post


Link to post
Share on other sites
Jito463    0

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.

Share this post


Link to post
Share on other sites
pcandpc    0

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,

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

×