共用方式為


WindowsFeatures

Applies To: Windows 7, Windows 8, Windows 8.1, Windows Server 2008, Windows Server 2008 R2, Windows Server 2012, Windows Server 2012 R2, Windows Vista

WindowsFeatures specifies whether to show entry points for Internet Explorer®, Media Center, Windows® Media Player, and Windows Mail.

Important

Using these settings to remove components that do not exist in the image will cause Windows Setup to fail.

This setting has no effect on Server Core installations of Windows Server® 2008, Windows Server 2008 R2, and Windows Server 2012.

Child Elements

ShowInternetExplorer

Specifies whether to show entry points for Internet Explorer.

ShowMediaCenter

Specifies whether to show entry points for Media Center.

ShowWindowsMediaPlayer

Specifies whether to show entry points for Windows Media Player.

ShowWindowsMail

Deprecated. Do not use.

Valid Passes

auditSystem

auditUser

oobeSystem

specialize

Parent Hierarchy

Microsoft-Windows-Shell-Setup | WindowsFeatures

Applies To

For the list of the supported Windows editions and architectures that this component supports, see Microsoft-Windows-Shell-Setup.

XML Example

The following XML output shows how to specify that the entry points for these Windows features not be displayed.

<WindowsFeatures>
   <ShowInternetExplorer>false</ShowInternetExplorer>
   <ShowMediaCenter>false</ShowMediaCenter>
   <ShowWindowsMediaPlayer>false</ShowWindowsMediaPlayer>
   <ShowWindowsMail>false</ShowWindowsMail>
</WindowsFeatures>

See Also

Concepts

Microsoft-Windows-Shell-Setup