The PC Guide Discussion Forums  
Google
Web The PC Guide
Studying for the A+, Network+ or Security+ exams? Get over 2,600 pages of FREE study guides at CertiGuide.com!
Join the PC homebuilding revolution! Read the all-new, FREE 200-page online guide: How to Build Your Own PC!
NOTE: Using robot software to mass-download the site degrades the server and is prohibited. See here for more.
Find The PC Guide helpful? Please consider a donation to The PC Guide Tip Jar. Visa/MC/Paypal accepted.

Go Back   The PC Guide Discussion Forums > PC Operating Systems and Software > Windows
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

Reply
 
Thread Tools Rate Thread
  #1  
Old 09-01-2009, 09:28 PM
phkhgh phkhgh is offline
Exalted Computer Crasher
 
Join Date: Jan 2007
Posts: 190
What are the Vista $Recycle.bin subfolders "S-1-5-21-....-1000, 1001"

I 1st noticed these protected subfolders when doing a defrag & it showed one still fragmented w/ 500 - 600 MB in it. I always empty the recycle bin - main one at bottom of L pane list in Explorer. Obviously, some weren't being emptied.

What is the purpose of these numbered folders? Even logged on as Admin, access was denied, so I changed permissions & looked in them.
There were 2 of those folders on my D:\. If I delete a file from D:, it shows up in ALL of them - the recycle bin w/ trash can icon on D:, and in both of those numbered subfolders under $Recycle.bin on D:, and in the recycle bin at bottom of Explorer left pane.

Every partition on each of my 2 HDDs has 1, 2 or 3 of these as subfolders of $recycle.bin.
Then each partition has it's own "regular" recycle bin w/ trash can icon.

Thanks.
Reply With Quote
  #2  
Old 09-02-2009, 04:08 AM
Paul Komski Paul Komski is offline
Chicken-head-eating Geek
Moderator
 
Join Date: Oct 2001
Location: N of the S of Ireland
Posts: 17,909
There is one Recycler/Recycle-bin/$Recycle.bin folder per drive. The "S-....." folders inside it have an ID that references each particular user so that each user can undelete their own material from any particular drive. Its just the same under WinXP.
__________________
Take nice care of yourselves - Paul - ♪ -
Help to start using BiNG. Some stuff about Boot CDs & Data Recovery Basics & Back-up using Knoppix.
Reply With Quote
  #3  
Old 09-02-2009, 11:45 PM
phkhgh phkhgh is offline
Exalted Computer Crasher
 
Join Date: Jan 2007
Posts: 190
Thanks Paul,

As a test, I deleted a file from C: under one user acct. Deleted file shows up in ALL the unique SID folders under $recycle.bin on C:, AND in every recycle bin & every unique SID folder on every partition, even on other HDDs.

So, if deleted files from a user acct are supposed to show up ONLY in the SID folder created for that acct, that's not what I'm seeing.

What happens if the SID folders are deleted (the S-.....1000, 1001, etc.)?

I'll test further by deleting a file under one acct, then switching to another & see if can empty or restore the other user's deleted file.
Unless I misunderstood you, I should not be able to.
Reply With Quote
  #4  
Old 09-03-2009, 01:11 AM
Paul Komski Paul Komski is offline
Chicken-head-eating Geek
Moderator
 
Join Date: Oct 2001
Location: N of the S of Ireland
Posts: 17,909
"Special" folders such as the recycle bin and others such as Temprorary Internet Files and Fonts and a host of other special Windows folders (including the Desktop itself) are not normal folders and their contents (as viewed from within Windows) are often virtual and commonly composite collections of files from more than one source.

In addition, when files are "deleted" into the recycle bin they are actually renamed in their true underlying locations. Here is a link to such a forensic analysis in pdf format http://www.forensicfocus.com/downloa...ecycle-bin.pdf

Though there have been some variations on a theme the SIDs used have referred to individual users from WinNT, Win2000, WinXP and onto Vista.

Using a hex editor such as WinHex or by accessing the file system from outside Windows (say from a Linux Live CD) can help in understanding the file hierachy infrastructures better.
Quote:
What happens if the SID folders are deleted
I think they will be recreated as soon as they are next needed.
__________________
Take nice care of yourselves - Paul - ♪ -
Help to start using BiNG. Some stuff about Boot CDs & Data Recovery Basics & Back-up using Knoppix.
Reply With Quote
  #5  
Old 09-03-2009, 01:37 AM
Paul Komski Paul Komski is offline
Chicken-head-eating Geek
Moderator
 
Join Date: Oct 2001
Location: N of the S of Ireland
Posts: 17,909
Found a more easily navigable page at http://www.docstoc.com/docs/2363303/...ta-Recycle-Bin

Note on the last page: In Vista, if one navigates to the $Recycle.Bin directory from a GUI (Explorer), he will not see the file pairs. Vista displays the file with its original name (as XP does). Right-clicking on the file will show the file creation date and the deletion time. The only way to see the file pairs is to navigate to the appropriate directory via the command prompt. A user doing that will only have access to their own SID directory unless they started the command prompt using the “run as” option.
__________________
Take nice care of yourselves - Paul - ♪ -
Help to start using BiNG. Some stuff about Boot CDs & Data Recovery Basics & Back-up using Knoppix.
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -4. The time now is 12:38 AM.


Powered by vBulletin Version 3.6.1
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
© Copyright 1997-2004 Charles M. Kozierok. All Rights Reserved.