JSI Tip 0571 - How do I remove the Recycle Bin during an unattended install?




Create a DELcycl.inf which contains:

\[Version\]
Signature = "$Windows NT$"

\[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\]

Create a $EOM$ folder in the i386 root on your distribution server and copy DELcycl.inf to it. Edit or create a Cmdlines.txt in the $EOM$ folder which contains:

\[Commands\]
"rundll32 setupapi,InstallHinfSection DefaultInstall 128 .\DELcycl.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