Re: Script to set Recycled Bin properties

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance



mr_unreliable wrote:
hi Ralf,

Why yes, you could set the value in the registry.

But wait! That registry entry is one of those humongously
long hex constants (at least on my machine).

Not on my XP Home SP 2.

Would you be so kind as to explain exactly which fields on
that humongously long constant go with which parameter you
would be setting on the "Recycle Bin Properties" dialog???

I think they are named quite self explaining (I have local drives C:, D:, M:, N: and Z:) :

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\BitBucket]
"UseGlobalSettings"=dword:00000001
"Percent"=dword:0000000a
"NukeOnDelete"=dword:00000000

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\BitBucket\c]
"VolumeSerialNumber"=dword:90d3d558
"IsUnicode"=dword:00000001
"Percent"=dword:0000000a
"NukeOnDelete"=dword:00000000

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\BitBucket\d]
"VolumeSerialNumber"=dword:e852baa5
"IsUnicode"=dword:00000001

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\BitBucket\m]
"VolumeSerialNumber"=dword:1c353132
"IsUnicode"=dword:00000001

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\BitBucket\n]
"VolumeSerialNumber"=dword:3a06d8ba
"IsUnicode"=dword:00000001

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\BitBucket\z]
"VolumeSerialNumber"=dword:1cd68323
"IsUnicode"=dword:00000001



And if not, the just set them the way you want them manually once, and export the BitBucket subtree to re-import it later or on other machines.

cu
.