View Single Post
Old 07-24-2007   #9 (permalink)
Darrell Gorter[MSFT]


 
 

Re: Corrupt File in Recycle Bin... can't delete

Hello,
What is the filename in question?
Can you copy it to another location?
Thanks,
Darrell Gorter[MSFT]

This posting is provided "AS IS" with no warranties, and confers no rights
--------------------
|> Thread-Topic: Corrupt File in Recycle Bin... can't delete
|> thread-index: AcfOGoBZGPzgrUuxTzyhl8rtGXRR/Q==
|> X-WBNR-Posting-Host: 207.46.193.207
|> From: =?Utf-8?B?QmVybnM=?= <Berns@discussions.microsoft.com>
|> References: <83E1936A-CD59-4026-A732-2B6AF3DC56BC@microsoft.com>
<sqpqZ9yyHHA.5204@TK2MSFTNGHUB02.phx.gbl>
<99102844-673B-4359-B42B-A1C469D3529E@microsoft.com>
<E359C3FF-EE23-4BF9-9B3E-BA6F2225AC5B@microsoft.com>
<8644FC1B-0A79-4A75-9778-DBF730043AA4@microsoft.com>
<OPuxd3ZzHHA.5376@TK2MSFTNGP03.phx.gbl>
|> Subject: Re: Corrupt File in Recycle Bin... can't delete
|> Date: Tue, 24 Jul 2007 10:46:02 -0700
|> Lines: 163
|> Message-ID: <95282585-135F-425C-B100-ADCD585FEC4D@microsoft.com>
|> MIME-Version: 1.0
|> Content-Type: text/plain;
|> charset="Utf-8"
|> Content-Transfer-Encoding: 7bit
|> X-Newsreader: Microsoft CDO for Windows 2000
|> Content-Class: urn:content-classes:message
|> Importance: normal
|> Priority: normal
|> X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.2826
|> Newsgroups: microsoft.public.windows.vista.general
|> Path: TK2MSFTNGHUB02.phx.gbl
|> Xref: TK2MSFTNGHUB02.phx.gbl
microsoft.public.windows.vista.general:141249
|> NNTP-Posting-Host: tk2msftsbfm01.phx.gbl 10.40.244.148
|> X-Tomcat-NG: microsoft.public.windows.vista.general
|>
|> dean-dean,
|>
|> Thank you, I tried both of these and they were successful in their
actions,
|> however, I still am unable to delete the files. I did find out
something
|> interesting though. I am able to Rename the file (REN). Even after the
|> rename, I am not able to delete. It says "access denied". More
thoughts?
|>
|> Bernie
|>
|> "dean-dean" wrote:
|>
|> > You could try this, dunno. Using your filelist.txt, identify the path
of
|> > the problem file, for example:
|> >
|> > C:\$Recycle.Bin\S-1-5-21-9999\$1P&0NP.cab
|> >
|> > At an elevated command prompt, type (or line it all up in Notepad, and
Copy
|> > and Paste) the following command, and then press ENTER (note, here,
that *
|> > and ? aren't supported):
|> >
|> > takeown /f Path_And_File_Name
|> >
|> > For example, type:
|> > takeown /f C:\$Recycle.Bin\S-1-5-21-9999\$1P&0NP.cab
|> >
|> > Type the following command, and then press ENTER to grant
|> > administrators full access to the file:
|> >
|> > icacls Path_And_File_Name /GRANT ADMINISTRATORS:F
|> >
|> > For example, type:
|> > icacls C:\$Recycle.Bin\S-1-5-21-9999\$1P&0NP.cab /grant
administrators:F
|> >
|> > Then try Darrell's commands again.
|> >
|> >
|> > "Berns" <Berns@discussions.microsoft.com> wrote in message
|> > news:8644FC1B-0A79-4A75-9778-DBF730043AA4@microsoft.com...
|> > > Yes, I made sure to right-click and run as administrator. I should
have
|> > > said
|> > > that too in my response. Sorry about that.
|> > >
|> > > Thank you again for your help!
|> > >
|> > > Bernie
|> > >
|> > > "dean-dean" wrote:
|> > >
|> > >> Did you right-click on Command Prompt, and choose Run as
Administrator
|> > >> (even
|> > >> though your logged into an administrative account)?
|> > >>
|> > >> "Berns" <Berns@discussions.microsoft.com> wrote in message
|> > >> news:99102844-673B-4359-B42B-A1C469D3529E@microsoft.com...
|> > >> > Thank you for both of your help. However, I still am unable to
delete
|> > >> > the
|> > >> > file. Fortunately, I can now see the file in the $recycle.bin.
|> > >> > However,
|> > >> > I
|> > >> > can not delete it. I've tried different administrator logins,
but it
|> > >> > still
|> > >> > says access denied. I've done the following commands to try and
delete
|> > >> > it:
|> > >> >
|> > >> > del *.*
|> > >> > del *.qbw
|> > >> > del *rtdjfdg.qbw
|> > >> > del $rtdjfdg.*
|> > >> > del ?rtdjfdg.qbw
|> > >> >
|> > >> > I have not tried to delete the folder that it sits in though. I
have a
|> > >> > feeling that it will tell me that there is a file in that folder
that I
|> > >> > can
|> > >> > not delete. Thoughts?
|> > >> >
|> > >> > Thank you again for your time and efforts in helping me out.
|> > >> >
|> > >> > Take care,
|> > >> >
|> > >> > Bernie
|> > >> >
|> > >> > ""Darrell Gorter[MSFT]"" wrote:
|> > >> >
|> > >> >> Hello,
|> > >> >> Open an elevated CMD prompt.
|> > >> >> First run chkdsk on the volume to check for file corruption.
|> > >> >> if that doesn't help then try.
|> > >> >> from the root of the C drive.
|> > >> >> cd $recycle.bin
|> > >> >> now do a dir /a /s >c:\filelist.txt
|> > >> >> use notepad to open filelist.txt
|> > >> >> Look for files or folders with non-alphanumeric characters in
them.
|> > >> >> try manually deleting those files or folders using wild cards (*
or ?
|> > >> >> for
|> > >> >> example)
|> > >> >> For a file like D&lete.me you could try using del D?lete.me to
attempt
|> > >> >> to
|> > >> >> delete the file
|> > >> >> The question mark replaces the single character that may be
causing
|> > >> >> the
|> > >> >> isuse
|> > >> >>
|> > >> >> Thanks,
|> > >> >> Darrell Gorter[MSFT]
|> > >> >>
|> > >> >> This posting is provided "AS IS" with no warranties, and confers
no
|> > >> >> rights
|> > >> >> --------------------
|> > >> >> |> Thread-Topic: Corrupt File in Recycle Bin... can't delete
|> > >> >> |> thread-index: AcfLCEgZddd5Zq5tQzK3i+JJYQGPdQ==
|> > >> >> |> X-WBNR-Posting-Host: 207.46.192.207
|> > >> >> |> From: =?Utf-8?B?QmVybnM=?= <Berns@discussions.microsoft.com>
|> > >> >> |> Subject: Corrupt File in Recycle Bin... can't delete
|> > >> >> |> Date: Fri, 20 Jul 2007 12:58:03 -0700
|> > >> >> |> Lines: 13
|> > >> >> |> Message-ID:
<83E1936A-CD59-4026-A732-2B6AF3DC56BC@microsoft.com>
|> > >> >> |> MIME-Version: 1.0
|> > >> >> |> Content-Type: text/plain;
|> > >> >> |> charset="Utf-8"
|> > >> >> |> Content-Transfer-Encoding: 7bit
|> > >> >> |> X-Newsreader: Microsoft CDO for Windows 2000
|> > >> >> |> Content-Class: urn:content-classes:message
|> > >> >> |> Importance: normal
|> > >> >> |> Priority: normal
|> > >> >> |> X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.2826
|> > >> >> |> Newsgroups: microsoft.public.windows.vista.general
|> > >> >> |> Path: TK2MSFTNGHUB02.phx.gbl
|> > >> >> |> Xref: TK2MSFTNGHUB02.phx.gbl
|> > >> >> microsoft.public.windows.vista.general:138891
|> > >> >> |> NNTP-Posting-Host: tk2msftsbfm01.phx.gbl 10.40.244.148
|> > >> >> |> X-Tomcat-NG: microsoft.public.windows.vista.general
|> > >> >> |>
|> > >> >> |> Every time I start up the computer, I get an error message
that
|> > >> >> says
|> > >> >> there
|> > >> >> |> was a corrupt file in the Recycle Bin would you like to
delete it?
|> > >> >> I
|> > >> >> say yes
|> > >> >> |> and it says that it can't be deleted and asks if I would like
to
|> > >> >> retry
|> > >> >> or
|> > >> >> |> cancel. If you hit retry it just circles back to the same
question
|> > >> >> of
|> > >> >> |> wanting to retry or cancel. If you hit cancel, then the
issue goes
|> > >> >> away,
|> > >> >> |> until you try to empty your Recycle Bin. Also something that
is
|> > >> >> strange; if
|> > >> >> |> you open the Recycle Bin or look at the icon on the desktop,
you'll
|> > >> >> notice
|> > >> >> |> that it's empty.
|> > >> >> |>
|> > >> >> |> I've checked the settings and have restored to the default
|> > >> >> settings.
|> > >> >> Any
|> > >> >> |> ideas???
|> > >> >> |>
|> > >> >> |> Thank you for your time!
|> > >> >> |>
|> > >> >>
|> > >> >>
|> > >>
|> >
|> >
|>

My System SpecsSystem Spec