{"id":356,"date":"2018-11-26T11:17:52","date_gmt":"2018-11-26T10:17:52","guid":{"rendered":"http:\/\/home.g-lorenzen.de\/?p=356"},"modified":"2025-08-06T22:32:05","modified_gmt":"2025-08-06T20:32:05","slug":"remoteapp-icon-aendern","status":"publish","type":"post","link":"https:\/\/www.g-lorenzen.de\/index.php\/2018\/11\/26\/remoteapp-icon-aendern\/","title":{"rendered":"RemoteApp Icon \u00e4ndern"},"content":{"rendered":"<p>Dieses Jahr habe ich eine RDS Farm mit Windows Server 2016 aufgesetzt. Hierbei kommen auch RemoteApps zum Einsatz. Da aber doch ab und an mal eine Sitzung rumzickt habe ich eine Abmelden- App gebastelt. Ist an sich nichts kompliziertes, der dahinterliegende Befehl lautet &#8222;shutdown.exe -l&#8220;. Leider hat die Shutdown.exe kein Symbol, so dass ein Platzhalter angezeigt wird.<\/p>\n<p>&nbsp;<\/p>\n<p>Aber das l\u00e4sst sich \u00e4ndern. Mit dem Befehl<\/p>\n<blockquote><p>Set-RDRemoteApp -CollectionName &#8222;CollectionName&#8220; -Alias &#8222;shutdown&#8220; -IconPath &#8222;c:\\windows\\system32\\shell32.dll&#8220; -IconIndex 27<\/p><\/blockquote>\n<p>habe ich das 28. Symbol\u00a0 (man f\u00e4ngt also bei 0 an zu z\u00e4hlen) ausgew\u00e4hlt.<\/p>\n<p>Wichtig!: Das Icon muss sich auf jeden Sitzungshost an dem angegebenen Pfad vorhanden sein. Bei der shell32.dll ist da aber der Fall.<\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Dieses Jahr habe ich eine RDS Farm mit Windows Server 2016 aufgesetzt. Hierbei kommen auch&hellip;<\/p>\n","protected":false},"author":1,"featured_media":800,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3],"tags":[8,9],"class_list":["post-356","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-it","tag-rds","tag-remote-desktop"],"_links":{"self":[{"href":"https:\/\/www.g-lorenzen.de\/index.php\/wp-json\/wp\/v2\/posts\/356","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.g-lorenzen.de\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.g-lorenzen.de\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.g-lorenzen.de\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.g-lorenzen.de\/index.php\/wp-json\/wp\/v2\/comments?post=356"}],"version-history":[{"count":1,"href":"https:\/\/www.g-lorenzen.de\/index.php\/wp-json\/wp\/v2\/posts\/356\/revisions"}],"predecessor-version":[{"id":890,"href":"https:\/\/www.g-lorenzen.de\/index.php\/wp-json\/wp\/v2\/posts\/356\/revisions\/890"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.g-lorenzen.de\/index.php\/wp-json\/wp\/v2\/media\/800"}],"wp:attachment":[{"href":"https:\/\/www.g-lorenzen.de\/index.php\/wp-json\/wp\/v2\/media?parent=356"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.g-lorenzen.de\/index.php\/wp-json\/wp\/v2\/categories?post=356"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.g-lorenzen.de\/index.php\/wp-json\/wp\/v2\/tags?post=356"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}