Re: Script to set Recycled Bin properties
- From: Ralf Ullrich <news@xxxxxxxx>
- Date: Fri, 23 Dec 2005 18:34:40 +0100
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 .
- References:
- Script to set Recycled Bin properties
- From: Ramon Jiménez [MVP]
- Re: Script to set Recycled Bin properties
- From: Ralf Ullrich
- Re: Script to set Recycled Bin properties
- From: mr_unreliable
- Script to set Recycled Bin properties
- Prev by Date: Re: Script to set Recycled Bin properties
- Next by Date: Re: vbscript navigate2 safearray
- Previous by thread: Re: Script to set Recycled Bin properties
- Next by thread: [help] how to change timezone by using VBS
- Index(es):