|
 |
 |
 |
 |
Microsoft Knowledge Base Article
This article contents is Microsoft Copyrighted material.
©2005-©2007 Microsoft Corporation. All rights reserved. Terms
of Use |
Trademarks
Article ID: 239006 - Last Review: January 25, 2007 - Revision: 1.2 How to Remove MSN, Internet Explorer, and Connection Wizard Desktop Icons Using the Msbatch.inf FileThis article was previously published under Q239006
This article describes how to remove the Microsoft Network, Microsoft Internet Explorer, and Connection Wizard icons from the desktop using the Msbatch.inf file for batch installations of Windows 98.
NOTE: Microsoft does not encourage or support changes to .inf files. Therefore, Microsoft Technical Support does not support the procedure outlined in this article. Although the following procedure has been tested and appears to function as described, you should make a back-up copy of your .inf file before beginning the procedure.
Make the following modifications to the Msbatch.inf file.
- Append Batch.Update to the end of the AddReg= line under the [Install] section. For example:
[Install]
AddReg=RunOnce.BatchDelay,Run.Installed.Components,Skip.PCMCIA.Wizard,Registry.WinUpdate,Batch.Update
- Insert the following sections into the Msbatch.inf file after the [Install] section:
[Batch.Update]
HKLM,%KEY_RUN%,DeleteIcons,,"%25%\RunDll32.exe advpack.dll,LaunchINFSection %10%\msbatch.inf, Delete.Icons,5
[Delete.Icons]
DelReg=MSN.Icon,Delete.Run
AddReg=IEHide.Icon
DelFiles=Connect.Icon
[MSN.Icon] ; Deletes the MSN icon from the Desktop.
HKLM,SOFTWARE\Microsoft\Windows\CurrentVersion\explorer\Desktop\NameSpace\{4B876A40-4EE8-11D1-811E-00C04FB98EEC},,,
HKLM,SOFTWARE\Microsoft\Windows\CurrentVersion\explorer\Desktop\NameSpace\{88667D10-10F0-11D0-8150-00AA00BF8457},,,
[Delete.Run] ; Prevents "Delete.Icons" from running more than once.
HKLM,%KEY_RUN%,DeleteIcons
[IEHide.Icon] ; Deletes the IE icon from the Desktop.
HKLM,Software\CLASSES\CLSID\"{871C5380-42A0-1069-A2EA-08002B30309D}"\ShellFolder,"Attributes",0x00010001,1048610
HKCR,CLSID\"{871C5380-42A0-1069-A2EA-08002B30309D}"\ShellFolder,"Attributes",0x00010001,1048610
[ConWiz.Icon] ; Deletes the Connection Wizard icon from the Desktop.
connec~1.lnk
[DestinationDirs]
ConWiz.Icon=10,alluse~1\desktop
- Add the following line under the [Strings] section:
[Strings]
Key_RUN="SOFTWARE\Microsoft\Windows\CurrentVersion\Run" ;This line is case sensitive. - Install Windows 98 using the modified Msbatch.inf file.
For additional information about using an Msbatch.inf file for batch
installations of Windows 98, see Appendix D in the Microsoft Windows 98 Resource Kit or click the article number below to view the article in the Microsoft Knowledge Base:
169539Â
(http://kbalertz.com/Feedback.aspx?kbNumber=169539/EN-US/
)
"Deploying Windows 98 Using Batch 98 and Infinst.exe" White Paper
APPLIES TO- Microsoft Windows 98 Standard Edition
- Microsoft Windows 98 Second Edition
Community Feedback System
Very often, it takes hours to solve a problem. Very often, you've looked high
and low, and have tried a lot of solutions. When you finally found it, chances
are, it was because someone else helped you. Here's your chance to give back.
Use our community feedback tool to let others know what worked for you and what
didn't.
Please also understand that the community feedback system is not warranted to be
correct, it's simply a system that we've built to let people try and help each
other. If something in a feedback response doesn't make sense to you, or you're
not comfortable making changes that the feedback talks about (like registry
edits), please consult a professional.
Thank you for using kbAlertz.com Feedback System.
-- Scott Cate
|
 |
 |
 |
 |
 |
 |
 |
| |