Forums on Intune, SCCM, and Windows 11

Welcome to the forums. Register a free account today to become a member! Once signed in, you'll be able to participate on this site by adding your topics and posts, as well as connect with other members through your own private inbox!

PENDING Desktop icons via Intune

  • Thread starter Thread starter Paul_77
  • Start date Start date
  • Replies Replies 1
  • Views Views 2K

Paul_77

New Member
Messages
1
Reaction score
0
Points
1
Hello,

I'm looking for the easiest way to deploy desktop shortcuts with custom icons via Intune. Deploying shortcuts is easy enough however deploying with a custom icon is proving to be more difficult. The closest I've come to solving this is packaging a Windows app with a script and icons all in the same folder. Here is the basic script:

$ScriptDirectory = $PSScriptRoot
$destination = "C:\Windows\Web"
Copy-Item $ScriptDirectory -Destination $destination -Recurse -Force

This works Okay however it also copies across the Intune package ID folder so it ends up looking like this: C:\Windows\Web\a8bc0fb2-c93a-42d2-b263-7d697c8b59a0_1\icons.....

What I'd like is all the icons copied to that C:\Windows\Web folder without the Intune package ID folder. Unless someone can think of a completely different way of doing this. I've tried using Blob storage, but icons need to point locally as far as I know.

Thanks in advance.
 
I need to test this in my lab. Deploying desktop shortcuts seems easy but a custom icon seems little difficult.
 

Forum statistics

Threads
7,135
Messages
27,868
Members
18,159
Latest member
jordysmits
Back
Top