Windows 7 Forums

Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.


Windows 7: $RECYCLE.BIN Folder keeps reappearing...

02 Nov 2011   #31
maxseven

Windows 7 Home Premium 64bit 6.1 Build 7601 (SP1)
 
 

Quote   Quote: Originally Posted by Britton30 View Post
I also have a USB spinner and several other flash drives, none of which have the $RECYCLE.bin on them
The spinner should have a RECYCLE.BIN--all mine do--I wonder why yours does not. Corazon said his didn't either.

Couldn't be Home Premium vs. Ultimate (I don't think) but this is very curious to me.


My System SpecsSystem Spec
.
02 Nov 2011   #32
alphanumeric

Windows 10 Education 64 bit
 
 

The largest USB flash drive I have is 16 gigs and it doesn't have a recycle bin folder. My 150 gig (IDE desktop) USB drive and 40 gig (IDE laptop) USB drive both have it. My guess is if its ID'd as a hard drive, mechanical or SSD, it gets a recycle bin.
My System SpecsSystem Spec
02 Nov 2011   #33
Corazon

Windows 7 Professional SP1 32-bit
 
 

About RECYCLER vs. $RECYCLE.BIN - I'm not 100% sure but pretty confident the former is created by Windows XP and the latter by Windows 7 (and I guess Vista too)...
My System SpecsSystem Spec
.

02 Nov 2011   #34
maxseven

Windows 7 Home Premium 64bit 6.1 Build 7601 (SP1)
 
 

Quote   Quote: Originally Posted by alphanumeric View Post
My guess is if its ID'd as a hard drive, mechanical or SSD, it gets a recycle bin.
I think it has something to do with the type of partition that is formatted onto the disk; in reading MS docs e.g. spinners will have a MBR but flash will not.

I'm thinking maybe a tool that formats flash drives (HP's comes to mind) maybe could apply a flash-type partition to the OP's spinner??? Maybe I will try it--this puzzle has me intrigued.

Yeah RECYCLER is irrelevant to W7 as it's been created from plugging-in to an XP pc.
My System SpecsSystem Spec
02 Nov 2011   #35
alphanumeric

Windows 10 Education 64 bit
 
 

@ maxseven, Windows is obviously keying on something, its anybodies guess what though. All my drives including my flash drives are formated in NTFS, it that matters.
My System SpecsSystem Spec
02 Nov 2011   #36
rraod

MS Windows 7 Ultimate 64-bit SP1
 
 

The controller interfaces the drive part with the computer, whether it is a spinner, SSD, Flash Memory or Memory card (Compact flash, SD cards etc.). The controller signals to the computer whether it is a removable disk or HDD.

If the controller says it is an emulation of HDD, whether it is a spinner or SSD, operating system will treat this drive as a fixed drive (eventhough it is a USB drive) and will group it with the fixed hard disks of the system.

If the controller says it is an emulation of removable drive, then operating system will treat this drive as a removable drive and will group it with removable drives.

It is the operating system which creates a recycle bin for fixed hard drives and no recycle bin for removable drives.
My System SpecsSystem Spec
02 Nov 2011   #37
alphanumeric

Windows 10 Education 64 bit
 
 

That seems to make sense. My USB external hard drive does in fact show up in the Hard Disk Drives section while my thumb drive shows up under Drives with Removable Storage.
My System SpecsSystem Spec
02 Nov 2011   #38
maxseven

Windows 7 Home Premium 64bit 6.1 Build 7601 (SP1)
 
 

I'm pretty sure now that the culprit is something called the Removable Media Bit (RMB). If you google it you'll find that it is possible with some USB flash devices to use a tool called LexarBootIt to flip that bit and enable users to e.g. partition their flash sticks.

In the OP's case he'd want to flip it the other way, to make his USB drive look like a removable drive, so Windows doesn't give it a $RECYCLE.BIN. But from everything I've read, this "understanding" (that the USB spinner is *not* a removable device) occurs at the controller-requests-from-hardware level. Here's a sampler from Microsoft, which discusses the opposite of what we want but you'll get the point:

Quote:
Q. What must I do to trigger AutoRun on my USB storage device?
The AutoRun capabilities are restricted to CD-ROM drives and fixed disk drives. If you need to make a USB storage device perform AutoRun, the device must not be marked as a removable media device and the device must contain an Autorun.inf file and a startup application.
The removable media device setting is a flag contained within the SCSI Inquiry Data response to the SCSI Inquiry command. Bit 7 of byte 1 (indexed from 0) is the Removable Media Bit (RMB). An RMB set to zero indicates that the device is not a removable media device. An RMB of one indicates that the device is a removable media device. Drivers obtain this information by using the StorageDeviceProperty request.
Of course, here again they're talking about making a fixed device into a removable one, not the other way around, but it's interesting nonetheless.

I've read that it may be possible to write a "filter" to intercept the comms and thereby fool Windows into thinking a removable-is-a-fixed, but I only found one from Hitachi which operates withing 32-bit XP only, and merely serves the opposite of what the OP needs.

For the best info on this, see "Removable or what" from Uwe Sieber:

Tips for USB pen drives

oprez, I'm afraid there's little hope here!
My System SpecsSystem Spec
02 Nov 2011   #39
MilesAhead

Windows 7 32 bit
 
 

Quote   Quote: Originally Posted by alphanumeric View Post
That seems to make sense. My USB external hard drive does in fact show up in the Hard Disk Drives section while my thumb drive shows up under Drives with Removable Storage.
Probably calls GetDriveType() API. If you are one of the privileged to have Windows source code then I guess you could step through it to see how it determines the drive type.

edit: it probably in turn, calls this function:
DeviceIoControl()
My System SpecsSystem Spec
Reply

 $RECYCLE.BIN Folder keeps reappearing...




Thread Tools Search this Thread
Search this Thread:

Advanced Search




Similar help and support threads
Thread Forum
Deleted folder keeps reappearing on desktop
Hi, I have a folder on my desktop which I used as a temporary location for pictures and videos. Once it was empty I deleted it but every time I open my internet browser it pops up again. I am using Mozilla Firefox and have checked the download settings but this folder is not named in any path that...
General Discussion
Deleted Desktop Folder Keeps Reappearing
I have a folder on my PC's Desktop that will not stay deleted. It reappears after rebooting, shutting down and restarting and some times it seems to spontaneously reappear without a restart. I have loaded it with things to be deleted, then deleted it only to have it reappear again, but empty. I...
General Discussion
Documents folder keep reappearing in Downloads folder
recently an unknown folder named "Documents" appeared in my Downloads folder i deleted it and then it came back, no matter how many times i deleted it, it will keep reappearing for no reasons that folder is empty, can someone tell me how to get rid of it? PERMANENTLY ! sorry im new here :D
General Discussion
The Magical Disappearing Reappearing Folder!
Strange one this, and rather annoying. Well, about a couple of weeks ago I made a folder on my desktop to put a movie clip in. After transferring the clip to another drive I deleted the empty folder only to find it back on my desktop a short time later! Strange, I thought. But I simply shrugged my...
BSOD Help and Support
Reappearing folder problem
Good evening This is my first post and I apologise if this is in the wrong forum topic. I have just upgraded from Vista to Windows 7 and so far I have enjoyed it. My computer seems to be on a second wind with a renewed boost in performance. I do though have a folder reappearing on the desktop...
General Discussion
Reappearing folder on desktop at startup
hello, as stated above i have a folder which keeps reappearing every time i start my computer, it's an empty folder and no other program is using it. tried removing it in safe mode and from the registry, but no results. can someone help me? thank you in advance!
General Discussion


Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd

All times are GMT -5. The time now is 22:11.

Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App