Removing Recycle Bin Option During Unattended SetupID: Q167006
|
The Windows NT 4.0 Recycle Bin is installed and configured by default
during setup. There is no option to remove the Recycle Bin with the
Unattend.txt script. The following information shows how to remove the
Recycle Bin from the desktop and how to disable the ability to use the
Recycle Bin on any drive. Evaluate this option carefully. Disabling the
Recycle Bin disables all functions of restoring files that would normally
be placed in the Recycle Bin. It is not possible to remove only the icon
from the desktop and leave the Recycle Bin functions in tact.
Depending on the security requirements of your environment, this option
may be desirable.
By using the INF format supported by Windows NT 4.0, you can remove the Name Space for the Recycle Bin during Windows NT installation/deployment. You can copy and save the following INF file to save time and to prevent syntax errors.
[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]
[Commands]
"rundll32 setupapi,InstallHinfSection DefaultInstall 128 .\REMCYCL.INF"
ARTICLE ID: Q162170For additional information on Windows NT 4.0 deployment/unattended installation consult the Microsoft Knowledge Base at the following Web site:
TITLE : How to Remove Default Desktop Icons
http://www.microsoft.com/kb.Download the Windows NT 4.0 Deployment Guide from the following Web site:
http://www.microsoft.com/ntworkstation.NOTE: The deployment guide is valid for Windows NT Workstation and for Windows NT Server.
Keywords : kbsetup ntsetup ntreskit NTSrvWkst
Version : WinNT:4.0
Platform : winnt
Issue type : kbinfo
Last Reviewed: February 13, 1999