{"id":8213,"date":"2012-02-28T07:00:00","date_gmt":"2012-02-28T07:00:00","guid":{"rendered":"https:\/\/blogs.msdn.microsoft.com\/oldnewthing\/2012\/02\/28\/how-can-i-customize-which-notification-icons-are-displayed-by-default-on-a-new-installation\/"},"modified":"2020-12-22T19:49:39","modified_gmt":"2020-12-23T03:49:39","slug":"20120228-00","status":"publish","type":"post","link":"https:\/\/devblogs.microsoft.com\/oldnewthing\/20120228-00\/?p=8213","title":{"rendered":"How can I customize which notification icons are displayed by default on a new installation?"},"content":{"rendered":"<p>Windows\u00a07 provides a new Unattended Windows Setup setting known as <a href=\"http:\/\/technet.microsoft.com\/en-us\/library\/ff716429%28WS.10%29.aspx\"> NotificationArea<\/a>. This setting lets you replace the default <i>Action Center<\/i> and <i>Battery<\/i> icons with two icons of your choosing.<\/p>\n<p>To specify the replacement icons, you need to provide the path to the application which is providing the replacement icon, and you need the GUID for the replacement icon.<\/p>\n<p>The path you know how to get, because it&#8217;s where the application was installed. (Note that the application must also be signed.)<\/p>\n<p>But where do you get the GUID from?<\/p>\n<p>The GUID is provided by the application as part of the programmatic interface to the notification area. When the application creates its notification icon, it passes a structure known as <a href=\"http:\/\/msdn.microsoft.com\/en-us\/library\/bb773352.aspx\"> <code>NOTIFY\u00adICON\u00adDATA<\/code><\/a>, and one of the fields in that structure is the <code>guidItem<\/code>. If an application fills in the <code>guidItem<\/code> and sets the <code>NIF_GUID<\/code> flag, then that is telling the taskbar (among other things), &#8220;Hey, if an unattended setup file specifies this GUID as a replacement icon, <i>that&#8217;s me<\/i>.&#8221;<\/p>\n<p>Okay, that says where GUIDs are programmatically specified, but where you do you, the system administrator, get the GUID from?<\/p>\n<p>You get them by asking the application author, &#8220;Hi, we want to specify that your notification icon is displayed by default in Windows\u00a07. Can you please tell us what GUID you are using for your notification icon?&#8221;<\/p>\n<p>Given that application authors are <a href=\"https:\/\/devblogs.microsoft.com\/oldnewthing\/20061101-03\/?p=29153\"> always angling for a bonus<\/a>, they will probably be more than happy to tell you how to give their icon more guaranteed face-time with the user.<\/p>\n<p>This setting was originally designed for customization by computer manufacturers, and computer manufacturers will probably have a pretty close relationship with the companies that provide shov^H^H^H^Hvalue-added software for their systems.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>There&#8217;s a setting for it, but you need some help from the application.<\/p>\n","protected":false},"author":1069,"featured_media":111744,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[1],"tags":[104],"class_list":["post-8213","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-oldnewthing","tag-tipssupport"],"acf":[],"blog_post_summary":"<p>There&#8217;s a setting for it, but you need some help from the application.<\/p>\n","_links":{"self":[{"href":"https:\/\/devblogs.microsoft.com\/oldnewthing\/wp-json\/wp\/v2\/posts\/8213","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/devblogs.microsoft.com\/oldnewthing\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/devblogs.microsoft.com\/oldnewthing\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/oldnewthing\/wp-json\/wp\/v2\/users\/1069"}],"replies":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/oldnewthing\/wp-json\/wp\/v2\/comments?post=8213"}],"version-history":[{"count":0,"href":"https:\/\/devblogs.microsoft.com\/oldnewthing\/wp-json\/wp\/v2\/posts\/8213\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/oldnewthing\/wp-json\/wp\/v2\/media\/111744"}],"wp:attachment":[{"href":"https:\/\/devblogs.microsoft.com\/oldnewthing\/wp-json\/wp\/v2\/media?parent=8213"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/oldnewthing\/wp-json\/wp\/v2\/categories?post=8213"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/oldnewthing\/wp-json\/wp\/v2\/tags?post=8213"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}