Microsoft KB Archive/820885

= Default Desktop Icons Are Removed When You Use the DoDesktopCleanUp Entry with Sysprep =

Article ID: 820885

Article Last Modified on 8/29/2003

-

APPLIES TO


 * Microsoft Windows XP Home Edition
 * Microsoft Windows XP Professional

-



SYMPTOMS
When you use the Sysprep tool with the DesktopCleanUp entry in Winbom.ini to preinstall Windows XP, desktop icons are removed when a user first logs on, and the default Windows icons are placed on the desktop. Some of the icons that are removed include:
 * Internet Explorer
 * MSN Messenger
 * Windows Media Player

If the Windows Media Player icon is deleted before you use Sysprep with the DesktopCleanUp entry in Winbom.ini to preinstall Windows XP, the Windows Media Player icon is restored after Sysprep runs.



CAUSE
This behavior occurs because of a change that was made in Windows XP Service Pack 1 (SP1). In Windows XP, when you use the Sysprep program with the DoDesktopCleanup=Yes switch in the Winbom.ini, the three icons that are listed in the &quot;Symptoms&quot; section of this article are removed. In Windows XP SP1, the three icons that are listed in the &quot;Symptoms&quot; section of this article are not removed because DoDesktopCleanup only removes desktop icons that have not been used within a certain time period.



RESOLUTION
To resolve this issue, obtain Windows XP SP1. In Windows XP SP1, desktop icons are removed when a user first logs on. Default Windows icons are placed on the desktop unless you set DoDesktopCleanup in the [Shell] section of the Winbom.ini file.

Explanation of the DoDesktopCleanup Entry in Winbom.ini
The DoDesktopCleanup entry moves items on the Windows desktop to a folder that is located in the \Program Files folder.

Syntax DoDesktopCleanup = Yes | No

Value: Yes

This moves shortcuts that are installed in the desktop folder (for example, the C:\Documents and Settings\ \Desktop folder) to a folder that is in the \Program Files folder, as specified by the DesktopShortcutsFolderName entry in the [DesktopShortcutsFolder] section of the Winbom.ini file.

Value: No

With this setting, the Windows desktop is not modified before the end-user first-run experience.

Default Value: No change to existing setting.

Example: DoDesktopCleanup = No

Note The Recycle Bin is not affected by DoDesktopCleanup.

If DoDesktopCleanup = Yes, the Desktop Cleanup Wizard runs for the first time 60 days after the end-user first-run experience.

If DoDesktopCleanup = No, the Desktop Cleanup Wizard runs for the first time 14 days after the end-user first-run experience



MORE INFORMATION
For additional information about how to remove Windows XP default icons from the desktop, click the following article numbers to view the articles in the Microsoft Knowledge Base:

328326 HOW TO: Use the Set Program Access and Defaults Feature in Windows XP

282190 Description of New Features in Sysprep for Windows XP

314460 System Preparation Tool and Answer File Usage

Additional query words: Winxp

Keywords: kbprb KB820885

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.