Undeletable files on ext USB HDD

  • Thread starter Thread starter Teflon
  • Start date Start date
T

Teflon

I deleted a directory with several sub-folders, each with several
music files, off a 250GB HDD (G:) connected via USB 2.0 to a laptop
running XP Pro SP2.

The delete hung on one of the music files in a sub-folder. After
getting out of that hang, I deleted the sub-folders one at a time with
no problem, until I came to the sub-folder that contained the music
file that hung the original mass delete attempt.

I can not delete several of the files in that folder. I have tried
all of the tricks I can find, opening a CMD prompt, shutting off
explorer.exe, trying to use DOS to delete the files, but it doesn't
work.

I got to the sub-folder via DOS, ran dir /x, saw the files, but when I
tried to delete them via DEL, I get the message on several of them
that that they could not be found. I was able to delete several of
the files that folder via DEL, but the one that hung the original
delete, plus several others, can not be deleted (can't be found - even
though I can see them) - Tried short names and all. Tried DELTREE
command to delete the directory this sub-folder is in, but a message
said that DELTREE was not a valid DOS command(?)

When I open Windows Explorer, I can still see those files and all of
their details - size, etc. - but when I try to delete any of them, I
loose the folder tree file details for the entire HDD - G:. Turning
the G: HDD OFF-ON gets the file details back, I can then access all
other files on the HDD, but when I try to touch those files - poof,
there goes the file details again.

I've tried CHKDSK, but get a message 'Windows unable to complete the
disk check' - that also causes the tree to go poof.

I tried an Unlocker software utility, but could not delete the file,
it asked if remove on reboot - Yes - but didn't happen. Got a message
that the Recycle Bin on G: was corrupted. Didn't know there was a
recycle bin on the external HDD. Can not find one in G:'s file tree.
I have the Recycle Bin global option set to reserve the same space on
all drives. Have looked into deleting the Recycle Bin(s) and letting
XP re-establish them, but could not locate the $recycle.bin file I was
told to delete.

Any ideas on how to fix things so I can get these files off this HDD
would be greatly appreciated. Can't do any file maintenance
operations until they are gone.

Thanks.
 
copy what files/data
you want to save off
of it.

then reformat it.

--

db·´¯`·...¸><)))º>
DatabaseBen, Retired Professional
- Systems Analyst
- Database Developer
- Accountancy
- Veteran of the Armed Forces
- Microsoft Partner
- @hotmail.com
~~~~~~~~~~"share the nirvana" - dbZen
 
I deleted a directory with several sub-folders, each with several
music files, off a 250GB HDD (G:) connected via USB 2.0 to a laptop
running XP Pro SP2.

The delete hung on one of the music files in a sub-folder.  After
getting out of that hang, I deleted the sub-folders one at a time with
no problem, until I came to the sub-folder that contained the music
file that hung the original mass delete attempt.

I can not delete several of the files in that folder.  I have tried
all of the tricks I can find, opening a CMD prompt, shutting off
explorer.exe, trying to use DOS to delete the files, but it doesn't
work.

I got to the sub-folder via DOS, ran dir /x, saw the files, but when I
tried to delete them via DEL, I get the message on several of them
that that they could not be found.   I was able to delete several of
the files that folder via DEL, but the one that hung the original
delete, plus several others, can not be deleted (can't be found - even
though I can see them) - Tried short names and all.  Tried DELTREE
command to delete the directory this sub-folder is in, but a message
said that DELTREE was not a valid DOS command(?)

When I open Windows Explorer, I can still see those files and all of
their details - size, etc. - but when I try to delete any of them, I
loose the folder tree file details for the entire HDD - G:.  Turning
the G: HDD OFF-ON gets the file details back, I can then access all
other files on the HDD, but when I try to touch those files - poof,
there goes the file details again.

I've tried CHKDSK, but get a message 'Windows unable to complete the
disk check' - that also causes the tree to go poof.

I tried an Unlocker software utility, but could not delete the file,
it asked if remove on reboot - Yes - but didn't happen.  Got a message
that the Recycle Bin on G: was corrupted.  Didn't know there was a
recycle bin on the external HDD.  Can not find one in G:'s file tree.
I have the Recycle Bin global option set to reserve the same space on
all drives.  Have looked into deleting the Recycle Bin(s) and letting
XP re-establish them, but could not locate the $recycle.bin file I was
told to delete.

Any ideas on how to fix things so I can get these files off this HDD
would be greatly appreciated.  Can't do any file maintenance
operations until they are gone.

Thanks.

Try http://killbox.net/

or

http://www.purgeie.com/delinv/
 
Since the undeletable files are only 15MB out of 250GB total, backup
and reformatting is not an option, at this time.
 
Hello

The total length of the file name is too long.

Seehttp://wiki.answers.com/Q/How_can_you_delete_a_file_that_has_a_long_f....
orhttp://tinyurl.com/n934kv

Regards,
Singapore Computer Home Repair Servicehttp://www.bootstrike.com/ComputerService/

I've tried the short name version in DEL, no joy.

I fear something got corrupted in the HDD's index track.
 
db wrote in
Since the undeletable files are only 15MB out of 250GB total,
backup and reformatting is not an option, at this time.

Your only other option is to continue using this disk with the
expectation that any or all of your files can disappear at any time.
There are problems so severe on this disk that Microsoft's own
"CHKDSK" routine gives up on them. Since you should have backups of
important data already, simply update those backups, reformat the
drive, and restore those files from backups. I would recommend a
complete reformat and not a "Quick" reformat so that you pick up and
account for any potentially bad areas on your disk.

HTH,
John
 
as a final piece of
advice:

in order to have such
options in the future,

you should partition
that drive into smaller
one's.

the benefits of have
multiple partitions far
exceed having only
the one.

--

db·´¯`·...¸><)))º>
DatabaseBen, Retired Professional
- Systems Analyst
- Database Developer
- Accountancy
- Veteran of the Armed Forces
- Microsoft Partner
- @hotmail.com
~~~~~~~~~~"share the nirvana" - dbZen
 
as a final piece of
advice:

in order to have such
options in the future,

you should partition
that drive into smaller
one's.

That's good advice, thanks.

Now, I believe I have found the culprit and it's not a failing HDD.

Seems the Recycle Bin on this drive was too small for the large amount
of files in the Directory I tried to mass delete, so, in the process
of trying to remove and replace older files, and being a USB device,
the communications with the PC got messed up, some of the file info
was partially moved to the RECYCLE space and then stopped, thus it
became corrupted. (that's my technical explanation).

Net is, the Recycle Bin on this drive is not functioning, may not even
be there.

I have the Recycle Bin set to treat each drive's space allocation
separately. All the of other drives have tabs to set the allocation
(Internal HD - C: + 2 other USB HDD's - F: & E: ). This drive - G: -
does not have a tab,

When I delete a file from the other drives, the deleted file is listed
in the Recycle Bin on the Desktop, not so with files deleted from G:.

When I go in to DOS and look at each of the drives on this system, I
can find the RECYCLED directory on E: (FAT32) and the see the deleted
files from E: in that directory. I can find the RECYCLER directory on
the F: (NTFS) drive, but can not see the deleted files from F:. There
is no RECYCLER directory to be found on G: (NTFS).

It may be connected to the problem on G:, but I can not see the
RECYCLE directory on C: - the internal HD where WinXP Pro is
installed, also NTFS.

So, if anyone has some pointers on how I could go about recovering/
repairing the Recycle space on an NTFS drive, I would appreciate that.

Anything else you need to know, just ask.

Thanks.
 
it sounds like you
found a problem.

-----------

I know that when I
delete files that are
too big,

windows provides a
warning that they
won't be found in
the recycle bin after
deletion.

-------------------

I look forward to the
responses provided
by others and

doing further research
on this interesting issue.

--

db·´¯`·...¸><)))º>
DatabaseBen, Retired Professional
- Systems Analyst
- Database Developer
- Accountancy
- Veteran of the Armed Forces
- Microsoft Partner
- @hotmail.com
~~~~~~~~~~"share the nirvana" - dbZen
 
it sounds like you
found a problem.

'A' problem, maybe not 'THE' problem, we'll see.
I know that when I
delete files that are
too big,

windows provides a
warning that they
won't be found in
the recycle bin after
deletion.

As do I, but the nature of USB connected drives in this case, may have
hindered Windows in providing that warning before it got itself in to
trouble.
I look forward to the
responses provided
by others

As do I.
doing further research
on this interesting issue.

Thanks for your interest and comments. Hope there's a fix out there
somewhere.
 
[See inline replies between paragraphs]

Is this the same 250GB HDD you bought in early 2007?
Do you leave it plugged into the USB port all the time?
Have you had any power blackouts while it was in use?
Have you checked the drive manufacturer's website for diagnostic tools?

What is the name of the music file? Wav? Mp3?
Can your music program still open/play the file?

Did you try SHIFT-Delete?
Did you try starting in Safe Mode with Command Prompt?

Windows XP Command Prompt is not DOS and has no deltree command.
[quote:] 'deltree' is not recognized as an internal or external command,
operable program or batch file. [/QUOTE]

Can you get right click Properties? If so, click Advanced button. Is the
file encrypted or compressed? Hidden or Read Only?

Start> [Settings] Control Panel> Administrative Tools> Event Viewer

Check Event Viewer for the "Application" category or "System" category Error
message. Double click it to display. The button below the up and down arrow
buttons is the Copy to Clipboard button. Paste a copy into a reply here.

The Unlocker utility misinterpreted the error code. USB removable drives do
not have Recycle Bin capability. When a file on removable media is
deleted, there is no safety net - it is permanently deleted.

Can you cut or move them to another folder on the same drive? Or drag and
drop the containing folder to another drive while holding shift key?


How much Free Space on the G: drive?
(You need at least 15 percent free space for defrag to work properly.)

Do you have backup copies of any data on that drive that you don't want to
lose? That's your highest priority. (Murphy's law has no mercy.)
"Teflon" <spambaitmeister at gmail dot com> wrote:
That's good advice, thanks.

A maximum of 50GB per partition is good. Stay with NTFS format.
Now, I believe I have found the culprit and it's not a failing HDD.

You have not ruled out the possibility of one or more bad sectors on the
disk, since CHKDSK was unable to complete its operation. You need to make
sure that System Restore is not monitoring the G-drive. You should try
starting in Safe Mode with Command Prompt and "chkdsk /f" (without quotes),
and allow it to complete. (Never start chkdsk if storm power blackout or
peak air conditioner usage brownouts could interrupt it.) If you get an
error message, write it down and post a reply back here with the full text.
Seems the Recycle Bin on this drive was too small for the large amount
of files in the Directory I tried to mass delete, so, in the process
of trying to remove and replace older files, and being a USB device,
the communications with the PC got messed up, some of the file info
was partially moved to the RECYCLE space and then stopped, thus it
became corrupted. (that's my technical explanation).

Net is, the Recycle Bin on this drive is not functioning, may not even
be there.

I have the Recycle Bin set to treat each drive's space allocation
separately. All the of other drives have tabs to set the allocation
(Internal HD - C: + 2 other USB HDD's - F: & E: ). This drive - G: -
does not have a tab,

When I delete a file from the other drives, the deleted file is listed
in the Recycle Bin on the Desktop, not so with files deleted from G:.

When I go in to DOS and look at each of the drives on this system, I
can find the RECYCLED directory on E: (FAT32) and the see the deleted
files from E: in that directory. I can find the RECYCLER directory on
the F: (NTFS) drive, but can not see the deleted files from F:. There
is no RECYCLER directory to be found on G: (NTFS).

It may be connected to the problem on G:, but I can not see the
RECYCLE directory on C: - the internal HD where WinXP Pro is
installed, also NTFS.

In Control Panel> Folder Options> View(tab)> Advanced Settings
UN-check "Hide protected operating system files", besides checking the "Show
hidden files and folders" option, to see the "RECYCLER" folder in the C:
root directory. [In Command Prompt at "C:\>" enter: "dir recycler /ah"
(without quotes) to see it.] You must be logged on with Administrator
privileges to delete recycler folder. (Deleting it will delete every User's
Recycle Bin contents on the drive. Windows Explorer will re-create Recycler
and associated files the next time it is needed.) Don't forget to RE-check
"Hide protected operating system files" (recommended! :)
So, if anyone has some pointers on how I could go about recovering/
repairing the Recycle space on an NTFS drive, I would appreciate that.

Your G: drive is an external removable USB device, and therefore has no
Recycle Bin capability unless you have modified it to be a mounted drive.

Mounted Drive Deletion Issue:
http://support.microsoft.com/kb/319368
Anything else you need to know, just ask.

Thanks.

Is your computer set up for more than one user? Maybe the music file was
created on that drive under another user account, and you need to "take
ownership" of it.

(Triple-click here, to shift to high gear! :)
--Richard
 
Richard said:
[See inline replies between paragraphs]

Is this the same 250GB HDD you bought in early 2007?
Do you leave it plugged into the USB port all the time?
Have you had any power blackouts while it was in use?
Have you checked the drive manufacturer's website for diagnostic tools?

What is the name of the music file? Wav? Mp3?
Can your music program still open/play the file?

Did you try SHIFT-Delete?
Did you try starting in Safe Mode with Command Prompt?

Windows XP Command Prompt is not DOS and has no deltree command.
[quote:] 'deltree' is not recognized as an internal or external command,
operable program or batch file.
When I open Windows Explorer, I can still see those files and all of
their details - size, etc. - but when I try to delete any of them, I
loose the folder tree file details for the entire HDD - G:. Turning
the G: HDD OFF-ON gets the file details back, I can then access all
other files on the HDD, but when I try to touch those files - poof,
there goes the file details again.

Can you get right click Properties? If so, click Advanced button. Is the
file encrypted or compressed? Hidden or Read Only?

Start> [Settings] Control Panel> Administrative Tools> Event Viewer

Check Event Viewer for the "Application" category or "System" category Error
message. Double click it to display. The button below the up and down arrow
buttons is the Copy to Clipboard button. Paste a copy into a reply here.

The Unlocker utility misinterpreted the error code. USB removable drives do
not have Recycle Bin capability. When a file on removable media is
deleted, there is no safety net - it is permanently deleted.

Can you cut or move them to another folder on the same drive? Or drag and
drop the containing folder to another drive while holding shift key?


How much Free Space on the G: drive?
(You need at least 15 percent free space for defrag to work properly.)

Do you have backup copies of any data on that drive that you don't want to
lose? That's your highest priority. (Murphy's law has no mercy.)
"Teflon" <spambaitmeister at gmail dot com> wrote:
That's good advice, thanks.

A maximum of 50GB per partition is good. Stay with NTFS format.
Now, I believe I have found the culprit and it's not a failing HDD.

You have not ruled out the possibility of one or more bad sectors on the
disk, since CHKDSK was unable to complete its operation. You need to make
sure that System Restore is not monitoring the G-drive. You should try
starting in Safe Mode with Command Prompt and "chkdsk /f" (without quotes),
and allow it to complete. (Never start chkdsk if storm power blackout or
peak air conditioner usage brownouts could interrupt it.) If you get an
error message, write it down and post a reply back here with the full text.
Seems the Recycle Bin on this drive was too small for the large amount
of files in the Directory I tried to mass delete, so, in the process
of trying to remove and replace older files, and being a USB device,
the communications with the PC got messed up, some of the file info
was partially moved to the RECYCLE space and then stopped, thus it
became corrupted. (that's my technical explanation).

Net is, the Recycle Bin on this drive is not functioning, may not even
be there.

I have the Recycle Bin set to treat each drive's space allocation
separately. All the of other drives have tabs to set the allocation
(Internal HD - C: + 2 other USB HDD's - F: & E: ). This drive - G: -
does not have a tab,

When I delete a file from the other drives, the deleted file is listed
in the Recycle Bin on the Desktop, not so with files deleted from G:.

When I go in to DOS and look at each of the drives on this system, I
can find the RECYCLED directory on E: (FAT32) and the see the deleted
files from E: in that directory. I can find the RECYCLER directory on
the F: (NTFS) drive, but can not see the deleted files from F:. There
is no RECYCLER directory to be found on G: (NTFS).

It may be connected to the problem on G:, but I can not see the
RECYCLE directory on C: - the internal HD where WinXP Pro is
installed, also NTFS.

In Control Panel> Folder Options> View(tab)> Advanced Settings
UN-check "Hide protected operating system files", besides checking the "Show
hidden files and folders" option, to see the "RECYCLER" folder in the C:
root directory. [In Command Prompt at "C:\>" enter: "dir recycler /ah"
(without quotes) to see it.] You must be logged on with Administrator
privileges to delete recycler folder. (Deleting it will delete every User's
Recycle Bin contents on the drive. Windows Explorer will re-create Recycler
and associated files the next time it is needed.) Don't forget to RE-check
"Hide protected operating system files" (recommended! :)
So, if anyone has some pointers on how I could go about recovering/
repairing the Recycle space on an NTFS drive, I would appreciate that.

Your G: drive is an external removable USB device, and therefore has no
Recycle Bin capability unless you have modified it to be a mounted drive.

Mounted Drive Deletion Issue:
http://support.microsoft.com/kb/319368
Anything else you need to know, just ask.

Thanks.

Is your computer set up for more than one user? Maybe the music file was
created on that drive under another user account, and you need to "take
ownership" of it.

(Triple-click here, to shift to high gear! :)
--Richard
[/QUOTE]
Just a thought,try 'sfc /scannow' from boot.Worth a try,you've nothing
to lose
 
See inline replies between paragraphs:
Is this the same 250GB HDD you bought in early 2007?

Good memory - yes it is, a Simpletech, have bought several more since
then.
Do you leave it plugged into the USB port all the time?

Yes, but since I just use it to mainly store backups, it is not turned
on most of the time. Just turn it on to create a new backup copy.
Have you had any power blackouts while it was in use?

Not to my knowledge, unless you consider turning it off and on to be
the equivalent of a power failure.
Have you checked the drive manufacturer's website for diagnostic tools?

Simpletech's website doesn't offer much more than a link to a general
HDD forum. Don't know if other HDD vendor's diagnostics would work.
I do have a WD USB HDD also, but it is FAT32.
What is the name of the music file? Wav? Mp3?
Cherish.mp3

Can your music program still open/play the file?

No, when I try, the drive's folder tree goes blank. Turn drive off/on
and the tree is re-populated with file names.
Did you try SHIFT-Delete?

Yes, lost the tree.
Did you try starting in Safe Mode with Command Prompt?

No, will give that a try.
Windows XP Command Prompt is not DOS and has no deltree command.
[quote:] 'deltree' is not recognized as an internal or external command,
operable program or batch file.
[/QUOTE]

OK, thanks for clearing that up. Found several other things that told
me I was not using full DOS.
Can you get right click Properties? If so, click Advanced button. Is the
file encrypted or compressed?
No

Hidden or Read Only?

Read Only
Start> [Settings] Control Panel> Administrative Tools> Event Viewer

Check Event Viewer for the "Application" category or "System" category Error
message. Double click it to display. The button below the up and down arrow
buttons is the Copy to Clipboard button. Paste a copy into a reply here.

Several regarding this issue:

Event Type: Information
Event Source: Application Popup
Event Category: None
Event ID: 26
Date: 7/18/2009
Time: 9:05:21 AM
User: N/A
Computer: MASTER
Description:
Application popup: Windows - Delayed Write Failed : Windows was unable
to save all the data for the file G:\RECYCLER
\S-1-5-21-3963324658-1813341729-135915572-1005\INFO2. The data has
been lost. This error may be caused by a failure of your computer
hardware or network connection. Please try to save this file
elsewhere.

Event Type: Information
Event Source: Application Popup
Event Category: None
Event ID: 26
Date: 7/18/2009
Time: 9:05:21 AM
User: N/A
Computer: MASTER
Description:
Application popup: Windows - Delayed Write Failed : Windows was unable
to save all the data for the file G:\RECYCLER
\S-1-5-21-3963324658-1813341729-135915572-1005. The data has been
lost. This error may be caused by a failure of your computer hardware
or network connection. Please try to save this file elsewhere.

Event Type: Information
Event Source: Application Popup
Event Category: None
Event ID: 26
Date: 7/18/2009
Time: 9:05:21 AM
User: N/A
Computer: MASTER
Description:
Application popup: Windows - Delayed Write Failed : Windows was unable
to save all the data for the file G:\RECYCLER
\S-1-5-21-3963324658-1813341729-135915572-1005\Dg87. The data has been
lost. This error may be caused by a failure of your computer hardware
or network connection. Please try to save this file elsewhere.

Event Type: Information
Event Source: Application Popup
Event Category: None
Event ID: 26
Date: 7/18/2009
Time: 9:05:21 AM
User: N/A
Computer: MASTER
Description:
Application popup: Windows - Delayed Write Failed : Windows was unable
to save all the data for the file G:\CDV Cabinet. The data has been
lost. This error may be caused by a failure of your computer hardware
or network connection. Please try to save this file elsewhere.

For more information, see Help and Support Center at
http://go.microsoft.com/fwlink/events.asp.
The Unlocker utility misinterpreted the error code. USB removable drives do
not have Recycle Bin capability. When a file on removable media is
deleted, there is no safety net - it is permanently deleted.

Funny, when I delete a file off any of my USB drives, the file shows
up in the Recycle Bin. When I checked each of the USB drives via DOS
(after checking all of the un-hide options), I found a RECYCLER
directory on the NTFS drives, and a RECYCLED directory on the FAT32
drive. The G: drive RECYCLER directory had a S-1-5-..... in it.
Inside that directory were 2 files, a 65 byte 'desktop.ini' file and a
20 byte 'Info2' file.

The RECYCLER directory on the other NTFS drive had the
S-1-5-.......directory in it, and in side of that directory was a file
identifying the test file I deleted from that drive, Df1.mp3 (F:
drive) and Dc1.mpeg (C: drive).

Seems there are different recycle bin associated directories on those
USB HDDs.

My thought are, the 'Info2' file in the G: drive RECYCLER directory is
corrupted and should be deleted. Wondering if the 'desktop.ini' file
is corrupted as well.
Can you cut or move them to another folder on the same drive? Or drag and
drop the containing folder to another drive while holding shift key?

No to all, any attempt to do anything with the folder in question, or
the files therein, results in the folder tree being defoliated of
files.
How much Free Space on the G: drive?

47 GB
(You need at least 15 percent free space for defrag to work properly.)

Do you have backup copies of any data on that drive that you don't want to
lose? That's your highest priority. (Murphy's law has no mercy.)

I can recreate most everything that is there.
A maximum of 50GB per partition is good. Stay with NTFS format.

Thanks for the guideline. Will do the same on the other HDD's to
simplify backups.

You have not ruled out the possibility of one or more bad sectors on the
disk, since CHKDSK was unable to complete its operation. You need to make
sure that System Restore is not monitoring the G-drive. You should try
starting in Safe Mode with Command Prompt and "chkdsk /f" (without quotes),
and allow it to complete. (Never start chkdsk if storm power blackout or
peak air conditioner usage brownouts could interrupt it.) If you get an
error message, write it down and post a reply back here with the full text.

That is a ToDo, will get back with results.
In Control Panel> Folder Options> View(tab)> Advanced Settings
UN-check "Hide protected operating system files", besides checking the "Show
hidden files and folders" option, to see the "RECYCLER" folder in the C:
root directory.

I finally figured that out and was able to see it, plus the RECYCLER /
RECYCLED folders on the USB HDDs
[In Command Prompt at "C:\>" enter: "dir recycler /ah"
(without quotes) to see it.] You must be logged on with Administrator
privileges to delete recycler folder. (Deleting it will delete every User's
Recycle Bin contents on the drive. Windows Explorer will re-create Recycler
and associated files the next time it is needed.) Don't forget to RE-check
"Hide protected operating system files" (recommended! :)
So, if anyone has some pointers on how I could go about recovering/
repairing the Recycle space on an NTFS drive, I would appreciate that.

Your G: drive is an external removable USB device, and therefore has no
Recycle Bin capability unless you have modified it to be a mounted drive.

As stated previously, there is a RECYCLED folder (hidden) on each of
the USB HDDs. What are they? I have not knowlingly modified them to
be mounted drives. How would I know?
Mounted Drive Deletion Issue:http://support.microsoft.com/kb/319368



Is your computer set up for more than one user? Maybe the music file was
created on that drive under another user account, and you need to "take
ownership" of it.

I am the only user of this PC, and assume when I sign on that I am the
administrator. Have tried the procedure for taking control of a file,
but when I click on the 'Properties' of a file, there is not a
'Security' tab available. Curious what that could mean.
(Triple-click here, to shift to high gear! :)
--Richard

Thanks Richard, look forward to your response. Will go do that Safe
Mode CHKDSK. Like Ahnald, I'll be baack.
 
No, will give that a try.

Richard,

Started in Safe Mode with Command Prompt, went to the G: drive and
initiated CHKDSK /f.

Got the following error message:

'Chkdsk cannot run because this volume is in use by another process.
Chkdsk may be run if this volume is dismounted first. ALL OPEN
HANDLES TO THIS VOLUME WOULD THEN BE INVALID.
Would you like to force a dismount of this volume? (Y/N)'

Not knowing what that meant, I answered No.

Then, a new message asked if I would like to have the volume checked
on the next system restart. Past failures of CHKDSK on restart
prompted me to again answer No.

So, what does all that mean? What now?

Interestingly, when I have drive F: turned ON, a test file I delelted
from that drive is listed in both the RECYCLER folder on that drive,
plus in the Desktop Recycle Bin. When I turn off the F: drive, that
deleted file no longer shows in the Desktop Recycle Bin. Would that
indicate the RECYCLER folder on the USB HDD does hold the delete info
for files deleted on that drive?

I am tempted to completely remove the contents of the G: RECYCLER
directory and then delete the directory itself. From what I've read,
XP will regenerate the directory on the next start-up. Am I right?

Should I delete those files, or move them to another location?

Thanks Richard.
 
'A' problem, maybe not 'THE' problem, we'll see.
As do I, but the nature of USB connected drives in this case, may have
hindered Windows in providing that warning before it got itself in to
trouble.
Thanks for your interest and comments. Hope there's a fix out there
somewhere.

Hi "Teflon",
I'm still doing spare time research, and will post further, but here are a
couple of items for you to look at in the mean time:

Cannot delete file or folder Windows Problem Solver
http://winhlp.com/node/39

HOW TO Delete an Undeletable or Locked File
http://www.geeksaresexy.net/2007/06/04/how-to-delete-an-undeletable-file/
 
[Note: Several issues addressed: Undeletable files, "Delayed Write Failed"
errors, Recyle Bin issues, CHKDSK problem.]

[See inline replies between paragraphs]
"Teflon" <spambaitmeister at gmail dot com> wrote:
Good memory - yes it is, a Simpletech, have bought several more since
then.

Well, my memory was refreshed by Google search to see what other computer
problems that you have had that may be related to your current situation.
I'm guessing the HDD did not come with a 5 year warranty? Your current
problem seems to be software, not hardware related, however USB drives tend
to be finicky at times.

Have you tried hooking the USB HDD to another computer, and try delete?
Yes, but since I just use it to mainly store backups, it is not turned
on most of the time. Just turn it on to create a new backup copy.

OK. (See my comments below about the Delayed Write issue.)
Not to my knowledge, unless you consider turning it off and on to be
the equivalent of a power failure.

Sort of. With a power failure, both computer and drive would go down, and
you would not get an error message informing you a disk write did not
complete. The NTFS system has built in recovery options for power failure,
to protect against file corruption. Before writing to the disk, some
metadata is first stored on the disk, and if the write is completed, the
cache gets flushed. After a power failure, NTFS begins a crash recovery
procedure which would roll back any uncompleted process.
Simpletech's website doesn't offer much more than a link to a general
HDD forum. Don't know if other HDD vendor's diagnostics would work.
I do have a WD USB HDD also, but it is FAT32.

You might check to see if they have more up to date drivers for your drive.
No, when I try, the drive's folder tree goes blank. Turn drive off/on
and the tree is re-populated with file names.

Why the folder tree goes blank is still a mystery to me.
Yes, lost the tree.


No, will give that a try.

[See my separate reply to your followup message.]
I got to the sub-folder via DOS, ran dir /x, saw the files, but when I
tried to delete them via DEL, I get the message on several of them
that that they could not be found. I was able to delete several of
the files that folder via DEL, but the one that hung the original
delete, plus several others, can not be deleted (can't be found - even
though I can see them) - Tried short names and all. Tried DELTREE
command to delete the directory this sub-folder is in, but a message
said that DELTREE was not a valid DOS command(?)

Windows XP Command Prompt is not DOS and has no deltree command.
[quote:] 'deltree' is not recognized as an internal or external command,
operable program or batch file.

OK, thanks for clearing that up. Found several other things that told
me I was not using full DOS.[/QUOTE]

Correction: My "not DOS" statement needs revising, since there is
technically more than one kind of Command Prompt. The Windows Command Prompt
is the cmd.exe program, but there is also a command.com program which is a
DOS emulation. At the Windows command prompt, if you type "command /?"
(without quotes,) the first thing the context help says is: "Starts a new
instance of the MS-DOS command interpreter."

click Start(button), click Help, Search for:
Unavailable MS-DOS Commands
In Suggested Topics, click "New ways to use tools"
[You can use rmdir instead of deltree]
[Neither cmd.exe nor command.com have a deltree command.]
Read Only

OK, that should not be a problem. Ordinarily, you might get some sort of Are
You Sure prompt when trying to delete a read only file, but you are getting
freeky explorer behavior. I was mainly wondering if it was encrypted, since
I had severe problems deleting an encrypted folder once, until I killed the
explorer.exe process and restarted it.
I've tried CHKDSK, but get a message 'Windows unable to complete the
disk check' - that also causes the tree to go poof.

Start> [Settings] Control Panel> Administrative Tools> Event Viewer

Check Event Viewer for the "Application" category or "System" category
Error message. Double click it to display. The button below the up and
down arrow buttons is the Copy to Clipboard button. Paste a copy into
a reply here.

Also: The "Security" category sometimes records file deletion issues if
there is a security connection. "The security log holds security event
records, such as logon attempts and actions related to creating, opening, or
deleting files. An administrator can specify what events to record in the
security log." (There should be none, unless you have changed the default.)
Several regarding this issue:

Event Type: Information
Event Source: Application Popup
Event Category: None
Event ID: 26
Date: 7/18/2009
Time: 9:05:21 AM
User: N/A
Computer: MASTER
Description:
Application popup: Windows - Delayed Write Failed : Windows was unable
to save all the data for the file G:\RECYCLER
\S-1-5-21-<... SNIP...>-1005\INFO2. The data has
been lost. This error may be caused by a failure of your computer
hardware or network connection. Please try to save this file
elsewhere.

[I snipped out the unique computer identifier part of your SID number.]
[I have addressed the recycler and info2 issue separately.]

See also: Windows XP and Surprise Removal of Hardware
http://www.microsoft.com/whdc/archive/XPrem-devs.mspx

There are at least 8 possible reasons for a DWF (Delayed Write Failed)
error. In your case my first guess would be that the errors occurred when
you switched OFF the drive when the delete messed up. With most disk
operations, Windows likes to delay writing some information like last
access time to disk, and keeps it in its memory cache for up to an hour in
some cases. (Otherwise every continuous "read" access of a file would
involve a continuous "write" of last access time to disk.) By default, a USB
flash drive is Optimized for Fast Removal, but a hard drive works best if
Optimized for Performance, with caching active, and there would be Delayed
Write of some things. It would be best if you use the SRH (Safely Remove
Hardware) option before switching off a USB hard drive, or right-click the
drive icon in Explorer and click Eject, (when the folder tree works. :)

You can put a shortcut to the SRH (Safely Remove Hardware) dialog on
your desktop or Start Menu, and the usual side effect of accessing that
dialog is for the icon to appear in the SysTray Notification Area, (if you
have the device connected.)

Right click your desktop, click New, click Shortcut.
Type or paste this next line into the location box:
RunDll32.exe shell32.dll,Control_RunDLL hotplug.dll

[There is a space after "exe" and before "hot".]
click Next, and type or paste this into the name box:
Safely Remove Hardware
Click Finish. If you like, you can right click the new shortcut, click
Change Icon, and in the Look for Icons box, type or paste:
%SystemRoot%\system32\hotplug.dll
and click OK, and select the SRH icon for your shortcut, click OK, OK.
(You might want to set a Shortcut-Key on that property sheet also. I would
suggest the ctrl+shft+0 [zero] key combination, which is not one of the
pre-defined keyboard shortcuts used by other applications, AFAIK.)

To put that shortcut on your Start Menu, left click and drag the shortcut,
hold it over the Start button for a second until the menu appears, point to
(All) Programs, then Accessories, then position it where you want it by
looking at the horizontal lines that appear between items, and then drop it
(while holding shift key) to MOVE it there, or hold your CTRL key as you
release your mouse button to COPY it. A +plus symbol will appear on the
pointer when you copy. (P.S. to cancel a drag in progress, press ESC key. :)

[Note: Your StartMenu>Properties>Customize needs to have Dragging and
dropping "enabled" for adding shortcuts to the Start Menu.]
- - -

To check your Hardware Removal options:
hold WinLogo-key, press PauseBreak key for System Properties
click Hardware tab, click Device Manager
click + (plus) to expand Disk drives
right click your USB drive, click Properties
In General tab, Device status should be "This device is working properly"
[Check the status of your other devices while you are there. :]

click Policies tab. Which option is selected?
( ) Optimize for quick removal, or
(*) Optimize for performance

Is there this 3rd option?
[*] Enable write caching on the disk
This setting enables write caching to improve disk performance, but a power
outage or equipment failure might result in data loss or corruption.
The right-click What's This says: "Select to allow the drive to do
write-back caching. This can improve write performance, but it will increase
the chance of disk corruption if the system is not shut down properly."
- - -

You might want to set the G-volume to Optimize for quick removal until your
current problems are resolved. Disk operations will be a bit slower, but you
can safely switch off the drive 10 or so seconds after disk activity stops.

Note: Your other Events happened at the same the date/time, so I have
excerpted only these relevant parts:
Application popup: Windows - Delayed Write Failed : Windows was unable
to save all the data for the file G:\RECYCLER
\S-1-5-21-<... snip...>-1005.

Application popup: Windows - Delayed Write Failed : Windows was unable
to save all the data for the file G:\RECYCLER
\S-1-5-21-<... snip...>-1005\Dg87.

Application popup: Windows - Delayed Write Failed : Windows was unable
to save all the data for the file G:\CDV Cabinet.

Those all appear to be due to connection loss or Explorer file tree glitch.
In Event Viewer, Application, look in the Source column for "Winlogon", for
Explorer problems and CHKDSK logs.
Funny, when I delete a file off any of my USB drives, the file shows
up in the Recycle Bin. When I checked each of the USB drives via DOS
(after checking all of the un-hide options), I found a RECYCLER
directory on the NTFS drives, and a RECYCLED directory on the FAT32
drive. The G: drive RECYCLER directory had a S-1-5-..... in it.
Inside that directory were 2 files, a 65 byte 'desktop.ini' file and a
20 byte 'Info2' file.

It appears I was misinformed about the difference between removable media
(floppy disks) and removable devices like USB hard drives which do not have
removable disks, and CAN have a recycled (fat32) or recycler (ntfs) folder.
The RECYCLER directory on the other NTFS drive had the
S-1-5-.......directory in it, and in side of that directory was a file
identifying the test file I deleted from that drive, Df1.mp3 (F:
drive) and Dc1.mpeg (C: drive).

Seems there are different recycle bin associated directories on those
USB HDDs.

My thought are, the 'Info2' file in the G: drive RECYCLER directory is
corrupted and should be deleted. Wondering if the 'desktop.ini' file
is corrupted as well.

See my 2nd reply regarding RECYCLER stuff.

OK, you have about 20% free space, so that is not a factor.

BTW: I forgot to ask, Are the undeletable files in a regular folder, or a
"Compressed (ZIP) folder"?
I can recreate most everything that is there.


(OK, I guess... as long as the vultures are not circling yet. :)

Thanks for the guideline. Will do the same on the other HDD's to
simplify backups.

Another reason for 50GB maximum is item #2 in this KB article:

Windows XP Delayed Write Failed
http://support.microsoft.com/kb/330174

=== begin excerpt quote ===
A delayed write failure may occur if data is corrupted. Data corruption may
occur if the Large System Cache feature is enabled for memory usage in
Windows XP. If this feature is enabled, the number of page table entries
that Windows XP must maintain may be increased, and in extreme cases, may be
exhausted. Although this problem does not occur on all systems, the
following key factors may cause data corruption:

1. System memory that is more than 512 megabytes (1 gigabyte of RAM is
common)
2. Large NTFS disk volumes and multiple large volumes (60-100 gigabyte hard
drives, possibly in RAID arrays)
3. AGP graphics with large AGP resource requirements (more than the default
AGP aperture)
4. Large file transfers. This problem occurs when the computer runs out of
system page table entries. When the computer is started, Windows
determines the default number of page table entries to assign, based
on how much system memory is available.

To avoid data corruption, make sure that the system cache is not selected
for memory usage by disabling the System Cache feature:

Make sure that System Cache is not selected for memory usage
If you are transferring large files, the system may run out of system page
table entries, which may cause the "Delayed Write Failure" error message. To
prevent an increase in the number of page table entries that Windows XP must
maintain and to prevent these from being exhausted, make sure that the
System Cache option is not selected for memory usage. To do this, follow
these steps:
1. Click Start, right-click My Computer, and then click Properties to open
the System Properties dialog box.
2. Click the Advanced tab, and then under Performance, click Settings to
open the Performance Options dialog box.
3. Click the Advanced tab.
4. Under Memory Usage, click to select Programs, and then click OK.
5. Click OK to close the System Properties dialog box.
If these steps worked, you are finished.
If these steps did not work for you, try the workaround.
=== end quote ===
[The workaround is a complicated registry hack, see KB article.]
That is a ToDo, will get back with results.

(See my separate reply.)

To check System Restore monitoring:
Hold WinLogo-key and press PauseBreak key, for System Properties
Click System Restore (tab)
The "Status" area should show monitoring of the system (C:) drive only.
I finally figured that out and was able to see it, plus the RECYCLER /
RECYCLED folders on the USB HDDs

OK. See my 2nd message, dealing with recycle/chkdsk issues.
[In Command Prompt at "C:\>" enter: "dir recycler /ah"
(without quotes) to see it.] You must be logged on with Administrator
privileges to delete recycler folder. (Deleting it will delete every
User's Recycle Bin contents on the drive. Windows Explorer will
re-create Recycler and associated files the next time it is needed.)
Don't forget to RE-check "Hide protected operating system files"
(recommended! :)
So, if anyone has some pointers on how I could go about recovering/
repairing the Recycle space on an NTFS drive, I would appreciate that.

Your G: drive is an external removable USB device, and therefore has no
Recycle Bin capability unless you have modified it to be a mounted drive.

As stated previously, there is a RECYCLED folder (hidden) on each of
the USB HDDs. What are they? I have not knowingly modified them to
be mounted drives. How would I know?

Mounted, in this context refers to a volume (partition) linked to an empty
folder on another volume, in which case you would access the volume through
a folder path, instead of a drive letter. Your drive is accessed by the
letter G, so it is probably not a mounted volume in that context. In
Explorer, the letter drives are mounted to My Computer in the folder tree.
(Click Start, click Help. In the search, enter MOUNTVOL. Also see SUBST)

OK, I tried the mounted volume thing with a 4GB thumb drive (aka. USB flash
drive or memory stick.) In Explorer, the thumb drive appeared as "Thumb01_4G
(E:)", and after mounting it to a folder called "C:\Thumb01_4gb", it still
appeared in the folder tree as drive E:, and when I click on C: in the left
pane, the "Thumb01_4gb" folder appears in the C:\ root folder display in the
right pane. I checked in the Disk Management console and that thumb drive
can now be accessed by both drive letter and folder path, with the option to
"Remove" either access method. When I unplugged the thumb drive while the
folder was being displayed in Explorer, the right pane went blank, and I got
this message:

[begin quote:]
C:\Thumb01_4gb refers to a location that is unavailable. It could be on a
hard drive on this computer, or on a network. Check to make sure that the
disk is properly inserted, or that you are connected to the Internet or your
network, and then try again. If it still cannot be located, the information
might have been moved to a different location.
[:end quote]

FYI: To Mount a Volume to a Folder Path:
Activate Computer Managment Console.
How: click Start, click Run, Type or Paste:
compmgmt.msc
click OK
(Click Help on the menu bar to learn how to do other stuff. :)

In left panel, click "Disk Management"
Find Disk volume in right panel, right click and choose:
"Change Drive Letter and Paths"
click "Add"
click "Mount in the following empty NTFS folder:"
click "Browse", find folder, or click "New Folder" and name it
[Note: You can go this far and still Cancel Cancel Cancel out.]
click OK, OK, OK.
Now you can access that drive through that folder. Beware: Previously, when
you dragged a file from another drive to that drive, a PLUS appeared on your
pointer when you dropped it, indicating it was copied, and the original
remained. With that drive (volume) mounted to a folder, when you drag from
the drive in which that folder is, into that mounted folder, instead of
copying the file to the other drive through that folder, it moves it, and
removes the original. If you only want to copy, press Ctrl-key for the plus
pointer before dropping the file.

Note: The volume that you are mounting to an empty NTFS folder, does not
itself have to be NTFS, it can be FAT32, or even CDROM.

If you change your mind about using a folder path to access the drive,
simply repeat the first steps above, but instead of clicking "Add", click
"Remove", and answer "Yes". (Separately delete the empty folder.)
- - -
I am the only user of this PC, and assume when I sign on that I am the
administrator. Have tried the procedure for taking control of a file,
but when I click on the 'Properties' of a file, there is not a
'Security' tab available. Curious what that could mean.

Re: Security tab missing in file properties
1. You must be using NTFS and not FAT32
2. You need to disable Simple File Sharing:
http://support.microsoft.com/kb/307874
In any folder, click Tools, click Folder Options, click View(tab)
In Advanced Settings, UN-check "Use simple file sharing (Recommended)"
- - -

How to locate and correct disk space problems on NTFS volumes in Windows XP
http://support.microsoft.com/kb/315688
- - -

Also, in Help, search for ADMINISTRATOR, and read the article on "Why you
should not run your computer as an administrator". In the Event Viewer error
reports above, look at the lengthy SID (Security ID) number in the file
path. The last 4 numbers are "1005" indicating you are "user 6". Final
numbers of "500" indicate the special built in Administrator account. In my
c:\recycler, I have a "...500" and a "...1007", user 8, even though I'm
the only user. To see advanced User stuff:

Click Start, click Run, Enter:
control userpasswords2
click Advanced(tab), click Advanced(button), click Users(folder), to see
built in and special user accounts. You can right-click>Properties for each
account in the right pane. On the upper menu bar, click HELP, click Help
Topics, expand Local Users and Groups, click Best Practices. (Read other
stuff there too, if you like.) The built in Administrator account should not
have a password, and should be reserved for emergency use. (In XP Home
Edition, that account is usually only accessed in Safe Mode.)
Thanks Richard, look forward to your response. Will go do that Safe
Mode CHKDSK. Like Ahnald, I'll be baack.

YO, "Ahnald", TERMINATE THIS--> Cherish.mp3 ("Are we learning?" :)

See my next reply regarding CHKDSK and Recycle issues.
--Richard
 
[See my previous message this day.]
[inline responses between paragraphs]
[2 issues: CHKDSK and RECYCLER, related to undeletable files]
"Teflon" <spambaitmeister at gmail dot com> wrote:
Richard,

Started in Safe Mode with Command Prompt, went to the G: drive and
initiated CHKDSK /f.

Got the following error message:

'Chkdsk cannot run because this volume is in use by another process.
Chkdsk may be run if this volume is dismounted first. ALL OPEN
HANDLES TO THIS VOLUME WOULD THEN BE INVALID.
Would you like to force a dismount of this volume? (Y/N)'

Not knowing what that meant, I answered No.

A wise move where there is doubt.
Then, a new message asked if I would like to have the volume checked
on the next system restart. Past failures of CHKDSK on restart
prompted me to again answer No.

Again, a wise move. There are a number of complications and wrinkles
associated with using CHKDSK. There are 2 different ways to re-approach this
issue. Repeat what you did with "chkdsk /f G:" and answer Yes to force a
dismount, or use "chkdsk /x G:" (without quotes) which forces a dismount
without asking first, and locks the drive and then does the same as the "/f"
parameter. If chkdsk still has problems fixing the file system, and you get
the request to check on next system restart message, answer Yes, and
restart. Hopefully, in that last case, you won't experience the same kind of
chkdsk on restart problems that you would if you were checking the system
(C:) drive. Another program, called AUTOCHK, handles the call to CHKDSK.

Besides answering Yes to the request to check on restart, you can also try
"fsutil dirty set G:" (without quotes) at any command prompt, safe mode or
normal, to set the "dirty bit", which forces a check of the drive: "Every
time Windows XP starts, Autochk.exe is called by the Kernel to scan all
volumes to check if the volume dirty bit is set. If the dirty bit is set,
autochk performs an immediate chkdsk /f on that volume. Chkdsk /f verifies
file system integrity and attempts to fix any problems with the volume."
[Note: AUTOCHK happens before Windows can get a handle on things.]

OPEN HANDLES. See Task Manager Help file> Monitoring your computer>
Performance fields overview. (Press Alt+Ctrl+Delete to activate Task
manager, or Shft+Ctrl+Esc, or right click your system clock and click Task
Manager.) On the Performance tab, in the "Totals" section, I currently show
10253 Handles, 436 Threads, and 40 Processes. (I usually have at least 32
processes with no folders open or programs active.)

Handles: A value used to uniquely identify a resource, such as a file or
registry key, so that a program can access it.

Threads: An object within a process that runs program instructions. Threads
allow concurrent operations within a process and enable one process to run
different parts of its program on different processors simultaneously.

Processes: An executable program, such as Windows Explorer, or a service,
such as MSTask.

(I just took a break for awhile, and I'm down to 10182 handles and 422
Threads. Oops, I spoke too soon, in the time it took to type the previous
sentence, it dropped to 10179 and 421. I don't have a clue what these
behind the scenes "processes" are really doing. Sneaky, sneaky... :)
So, what does all that mean? What now?

(Uh, maybe we should take seriously the suggestion that our problems are
because we are not wearing hand drawn "I [heart] Microsoft" T-shirts. :)

If none of the above CHKDSK options work, and you have an XP boot CD, you
can try booting the CD and choosing Recovery Console, and try "chkdsk /p
G:" (without quotes) from there. (The "/p" switch in Recovery Console is the
same as the "/f" switch in Command Prompt. There is no "/x" switch in
Recovery.) There is no point in trying the "/r" switch in either Command
Prompt or Recovery Console, since the "/r" switch includes the "/f", which
is the first three "stages" of chkdsk. The "/r" adds the 4th and 5th stages,
to recover/repair files in bad sectors. If the 1st three stages cannot
complete, it can't get to the 4th. Further, unlike FAT32, NTFS verifies disk
integrity as it writes data, so if there is a bad sector, NTFS bypasses it
and marks it bad and writes the data elsewhere. The "/r" switch with NTFS
disks is rarely needed, unless you bump your drive while it is active.

You might try running chkdsk in Read Only mode by entering "chkdsk G:" at
the command prompt without any switches. I tried it on my C:\ drive with
three applications running, and while connected to the internet. Here is
part of the report generated:
[begin quote:]
WARNING! F parameter not specified.
Running CHKDSK in read-only mode.

CHKDSK is verifying files (stage 1 of 3)...
File verification completed.
CHKDSK is verifying indexes (stage 2 of 3)...
Index verification completed.
CHKDSK is verifying security descriptors (stage 3 of 3)...
Security descriptor verification completed.
Correcting errors in the Volume Bitmap.
Windows found problems with the file system.
Run CHKDSK with the /F (fix) option to correct these.
[:end quote]

Note that in read only mode, chkdsk sometimes falsely reports errors,
because the disk is not locked, and it interprets file changes by active
processes as errors. If you get any other kind of errors, report back here.

NTFS File System Corruption
In very rare circumstances, the NTFS $MFT or $BITMAP metafiles may become
corrupted and result in lost disk space. To identify and fix this issue, run
the chkdsk /F command against the volume in question. Toward the end of
chkdsk process, you receive the following message if the $BITMAP metafile
needs to be adjusted:

Correcting errors in the master file table's (MFT) BITMAP attribute. CHKDSK
discovered free space marked as allocated in the volume bitmap. Windows has
made corrections to the file system.
- - -

Keep in mind that running CHKDSK can sometimes result in loss of data, so if
there is anything on the drive you cannot replace, you need to make a backup
copy. Maybe repairing Recycler will help the chkdsk situation...

RECYCLE BIN, RECYCLED, RECYCLER

First, some anti-virus programs manipulate the recycle bin in certain ways
to protect certain deleted files from being restored by "sneaky" malware
programs, so you need to check your AV documentation help file in that
regard. (What anti-virus and anti-spyware programs do you use?) In another
message thread in this newsgroup, where a defrag list of fragmented files
was posted, one of the files was: "\RECYCLER\NPROTECT\00719478.SQL".
(I'm guessing "nprotect" is associated with Norton AV.)
Interestingly, when I have drive F: turned ON, a test file I deleted
from that drive is listed in both the RECYCLER folder on that drive,
plus in the Desktop Recycle Bin. When I turn off the F: drive, that
deleted file no longer shows in the Desktop Recycle Bin. Would that
indicate the RECYCLER folder on the USB HDD does hold the delete info
for files deleted on that drive?

Yes. Each Recycled/Recycler folder holds one Recycle Bin for EACH user on
the system. With multi drive/volume systems, the desktop recycle bin gets
information from ALL the recycled (FAT32) or recycler (NTFS) folders for the
Current User, and displays the combined information in the Recycle Bin.

Differences Between the Recycle Bin and the Recycler Folder
http://support.microsoft.com/KB/171694
Excerpt: "The Recycler folder contains a Recycle Bin for each user that logs
on to the computer, sorted by their security identifier (SID)."
I am tempted to completely remove the contents of the G: RECYCLER
directory and then delete the directory itself. From what I've read,
XP will regenerate the directory on the next start-up. Am I right?

Should I delete those files, or move them to another location?

It is possible to delete the G:\recycler folder, and it "should" get
re-created. (Such things are not for the faint of heart! :)

You may need to copy the desktop.ini file elsewhere before deletion.
See below.

How the Recycle Bin Stores Files
http://support.microsoft.com/KB/136517
Excerpts:
When you delete a file, the complete path and file name is stored in a
hidden file called Info or Info2 (Windows 98) in the Recycled folder. The
deleted file is renamed, using the following syntax:
D<original drive letter of file><#>.<original extension>
Examples:
New file name:
Dc1.txt = (C drive, second file deleted, a .txt file)

INFO file path:
C:\Windows\Desktop\Books.txt

New file name:
De7.doc = (E drive, eighth file deleted, a .doc file)

INFO file path:
E:\Winword\Letter to Rosemary.doc
- - -

Damaged or Deleted INFO File
If the INFO file is damaged or deleted, no files appear in the Recycle Bin.
However, the renamed files still exist in the Recycled folder. Even though
the files in the Recycled folder have been renamed, they are not changed in
any other way. For example, a text file is still viewable as a text file. To
restore such a file, you can manually search for the file in the folder and
rename it.

[Which means you "should" be able to open the desktop.ini file and see if it
is a blank place holder, or actually has some settings.]

Command Prompt entries from "C:\>" prompt:
G:
cd \recycler
cd *1005
type desktop.ini

[The DOS "type" command displays the file's text.]

And for desktop.ini, you should get this:
[.ShellClassInfo]
CLSID={645FF040-5081-101B-9F08-00AA002F954E}

The "*1005" represents your SID (Security ID), which is a combination of
your machine's GUID (Globally Unique Identifier, the part after
"S-1-5-21-"), your group ID, and the last four numbers are your user number.
The CLSID identifies the Registry sub-key where various Recycle Bin stuff,
like default icons for "full" or "empty" are specified, etc.

[continue KB excerpt:]
If the INFO file is deleted, it is re-created when you restart Windows. If
the Recycle Bin becomes damaged and stops functioning, deleting the hidden
INFO file in the Recycled folder and restarting Windows _may_ enable you to
again access files in the Recycle Bin. The INFO file is a hidden file. To
delete the INFO file follow these steps:

[KB instructions modified for your G: drive recycler situation:]
From command prompt:
G:
cd \recycler
cd *1005
attrib -h info*
del info*

[continue KB excerpt:]
Damaged Files in Recycled Folder
No files may appear in the Recycle Bin if the files in the Recycled folder
are damaged. If this is the case, create a copy of the Recycled\ Desktop.ini
file in another folder, and then delete the entire contents of the Recycled
folder. Then, restore the Desktop.ini file to the Recycled folder. Note that
doing this deletes all files in the Recycle Bin.

If the Desktop.ini file is not present or is also damaged, it can be
recreated by adding the following information to a blank Desktop.ini file:
[.ShellClassInfo]
CLSID={645FF040-5081-101B-9F08-00AA002F954E}

[INI files are plain text, and can be created/edited in Notepad.]

Damaged Recycled Folder
The Recycled folder itself can become damaged. Files are moved to the folder
and the Recycle Bin on the desktop appears full, but you cannot view the
contents and the Empty The Recycle Bin command is unavailable. Deleting this
folder and restarting Windows will re-create this folder and restore
functionality:

Restart to a command prompt:
G:
attrib -s -h recycler
del recycler

Restart the computer.
[:end edited excerpts]

(You need to keep your G-drive plugged in and turned on when restarting. :)

I'm assuming that when the system re-creates the recycler folder, that it
also creates the info and desktop.ini files also, but if not, maybe
explorer.exe creates those files the first time something is deleted into
recycle bin after the re-creation. Create a temporary .txt file on G:, and
delete to verify that it shows up in the bin, and check the desktop.ini to
see if it has the CLSID, before trying to delete the stubborn files again.
Thanks Richard.

You're welcome of course. (Disclaimer: Don't blame me if your computer turns
into a sticky puddle of metallic/plastic GOO... :)

Note: Some of the KB articles referenced above were written for RECYCLED
folders under Win98, not RECYCLER, and I modified the step by step
instructions for RECYCLER\*1005 subfolder. I only have one ntfs hard drive
on my current WinXP-pro setup, so I only have RECYCLER, and the info and
desktop.ini files are in the \*1007 subfolder. You might want to check your
E:\RECYCLED (FAT32) folder to see if the info and desktop.ini are directly
in the RECYCLED folder, not in <SID> sub folder. I checked my older computer
here, running Win95, and it has the info and desktop.ini directly in the
hidden C:\RECYCLED (FAT16) folder. (The CLSID in the desktop.ini on my XP is
still the same as that in my Win95 recycled. Some things don't change.) My
USB flash drive (FAT32) only has a hidden E:\desktop.ini with
"[.ShellClassInfo]" and no CLSID or other text, and there is no recycled or
recycler folder or INFO file, but it is also Optimized for Fast Removal, so
that might be a factor. There is still a question whether the recycler SID
subfolders get re-created immediately, or after something is deleted by the
current user, or what.

OK, I just tested deletion with the USB flash drive. I directly opened the
E:\ folder, created trial1.txt file and deleted it, and it did NOT appear in
Recycle Bin. Because the E-drive is mounted to a folder, I also opened the
mount point C:\Thumb01_4gb folder, created trial2.txt file and deleted it,
and it DID appear in Recycle Bin, I assume that is because it had a C:\...
path, rather than an E:\... path.

Here's hoping you are able to resolve the "Undeletable files" problem.

P.S. (Yeah... I don't know when to quit, but... :)

Although I'm not bold enough to experiment with the recycle bin on my XP
computer, I emptied the recycle bin on Ye Olde Windows 95 computer, switched
to Command Prompt, C:\RECYCLED, and "dir" showed no files in recycled, but
"dir /ah" still showed both desktop.ini and INFO. I did an "attrib -h info",
and "del info", and "dir /ah" to confirm it was deleted, then switched back
to desktop, created a trial3.txt file, deleted it, and the recycle bin icon
changed to full, back to the Command window, "dir" showed a DC1.txt file,
and I checked "dir /ah" and behold, an INFO file again, without rebooting or
restarting explorer.exe, or anything. "Is that cool, or what?"

(Triple-click here, to be of good cheer! :)
--Richard
- - -

(More "homework" :)

Article explaining Security ID's (SID's), etc.
http://support.microsoft.com/KB/152001

Description of Enhanced Chkdsk, Autochk, and Chkntfs Tools
http://support.microsoft.com/KB/KB218461

force a dismount (relates to formatting)
http://forum.soft32.com/windows/force-dismount-ftopict379289.html

Tool: "Process Explorer" Download (1.6 MB)
http://technet.microsoft.com/en-us/sysinternals/bb896653.aspx
"Ever wondered which program has a particular file or directory open? Now
you can find out. Process Explorer shows you information about which handles
and DLLs processes have opened or loaded."

FILE HANDLE
"A number that the operating system assigns temporarily to a file when it is
opened. The operating system uses the file handle internally when accessing
the file. A special area of main memory is reserved for file handles, and
the size of this area determines how many files can be open at once."

How to create and use NTFS mounted drives in Windows XP...
http://support.microsoft.com/kb/307889

Windows - Delayed Write Failed - Solved!
http://www.gibni.com/windows-delayed-write-failed-solved

Working with File Systems
http://technet.microsoft.com/en-us/library/bb457112.aspx

MFT Zone
"To prevent the MFT from becoming fragmented, NTFS reserves 12.5 percent of
a volume by default for exclusive use of the MFT. This space, known as the
MFT zone, is not used to store data unless the remainder of the volume
becomes full."

PAUSING ERROR MESSAGES
"Error messages might appear before Windows XP Professional starts. For
example, motherboard or storage adapter firmware might display an error
message if self-tests detect a hardware problem. If you are unable to record
the message quickly enough, you can pause the text display by pressing PAUSE
BREAK. To continue, press Ctrl+Pause/Break." (POST = Power On Self Test)
- - -
("Thus endeth the lesson." :)
 
[See my previous message this day.]
[inline responses between paragraphs]
[2 issues: CHKDSK and RECYCLER, related to undeletable files]

Richard,

Thank you for an incredible work effort. I have been busy, reading
and trying. The good news, I haven't broken anything else. However,
the bad news is, I was not able to delete those ghost files and thus
free up the space. I have subsequently found file in other folders on
that HDD that can be seen, but can not be found to move or delete,
indicating a larger than suspected problem with that drive's file
system. Therefore, I've backed up those files that had no hard copy
source and will reformat the drive. In the process, I will partition
it into 5 - 50GB partitions as well, which should lessen the impact of
similar problems in the future. Any partition sizing suggestions
would be appreciated.

Given all of the effort and advice, I am sorry I couldn't report a
recovery success, however, it is gratifying to know there are folks
out there who will go to great lengths to help others.

Thanks again
 
Back
Top