Skip navigation

How do I delete the recycle bin as part of an unattended installation.

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_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Desktop\NameSpace\\{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"


Hide comments

Comments

  • Allowed HTML tags: <em> <strong> <blockquote> <br> <p>

Plain text

  • No HTML tags allowed.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Lines and paragraphs break automatically.
Publish