How do I delete the recycle bin as part of an unattended installation.
January 8, 2000
A. A. The recycle bin is just a registry entry so if we delete the registry entry it will remove the recycle bin.
Create the following in a file remreycl.inf
[Version]
Signature = "$Windows NT$"
Provider=%Provider%
[Strings]
Provider="SavillTech Ltd"
[DefaultInstall]
AddReg = AddReg
DelReg = DelReg
UpdateInis = UpdateInis
[AddReg]
[DelReg]
HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersionExplorerDesktopNameSpace\{645FF040-5081-101B-9F08-00AA002F954E}
[UpdateInis]
You should then create a $OEM$ folder in your I386 installation directory and copy the file remreycl.reg into the directory.
If the file cmdlines.txt exists edit it otherwise create it (in the $OEM$ directory) and add the following:
[Commands]
"rundll32 setupapi,InstallHinfSection DefaultInstall 128 .remreycl.inf"
About the Author
You May Also Like