GUID 指定圖示的全域唯一識別碼 (GUID) ,以顯示在工作列最右邊的通知區域中。GUID specifies the globally unique identifier (GUID) of an icon to appear in the notification area at the far right of the taskbar.

藉由設定 PromotedIcon2 元件的 路徑 和 GUID 元素,您可以設定另一個圖示來顯示在通知區域中。By setting the Path and GUID elements of the PromotedIcon2 component, you can configure another icon to appear in the notification area. 此圖示將會出現,以取代 電池 圖示。This icon will appear in place of the Battery icon.

若要選取要顯示的圖示,您必須:To select the icon to be visible, you must:

  • 選取包含通知圖示的帶正負號二進位應用程式檔。Select a signed binary application file that includes a notification icon.

  • 設定檔案的 路徑GUID 元素。Set both the Path and GUID elements for the file.

圖示的 GUID 包含在應用程式中。The GUID for the icon is contained in the application. NOTIFYICONDATA shell 結構包含 guidItem。The NOTIFYICONDATA shell structure contains the guidItem. 如需詳細資訊,請參閱 MSDN 主題: NOTIFYICONDATAFor more information, see the MSDN topic: NOTIFYICONDATA. 若為協力廠商應用程式,請洽詢您的應用程式提供者,以查看您的應用程式是否使用此結構並取得 GUID。For third-party applications, contact your application provider to see if your application uses this structure and to obtain the GUID.



指定要在通知區域中顯示之圖示的 GUID。Specifies the GUID of an icon to appear in the notification area.

這種字串不支援空的元素。This string type does not support empty elements. 請勿為這種字串建立空值。Do not create an empty value for this setting.

有效的設定階段Valid Configuration Passes


父階層Parent Hierarchy

Microsoft-Windows-Shell-設定 | NotificationArea | PromotedIcon2 | GUIDMicrosoft-Windows-Shell-Setup | NotificationArea | PromotedIcon2 | GUID

套用至Applies To

如需此元件所支援的 Windows 版本和架構清單,請參閱 Microsoft Windows Shell 安裝程式For a list of the Windows editions and architectures that this component supports, see Microsoft-Windows-Shell-Setup.

XML 範例XML Example

下列 XML 輸出顯示如何升級新的通知圖示,以取代 電池 圖示。The following XML output shows how to promote a new notification icon to appear in place of the Battery icon.