Forum Discussion

Jesse13579's avatar
Jesse13579
Brass Contributor
Jul 26, 2024
Solved

Using intune to create application desktop shortcuts

I'm trying to use intune to push an application shortcut to the public desktop.  I created an lnk file and saved it to a shared network drive.  I then wrote a powershell script to copy that file to a...
  • Harm_Veenstra's avatar
    Jul 27, 2024
    You should include the .lnl file in the Win32 app and use :
    Copy-Item ".\FortiClientVPN.lnk" -Destination "c:\scut\FortiClientVPN.lnk"
    Copy-Item ".\FortiClientVPN.lnk" -Destination "$env:Public\Desktop\FortiClientVPN.lnk"

    But is there a reason for it to be on c:\scut and the Public Desktop? You created the shortcut on the Public Desktop based on the copied from S:\, but that drive is unavailable when installed as a System. I think adding the shortcut file to your package and copying it just to the public desktop is enough?

Resources