Example: Deleting a Desktop Shortcut
Last updated
Last updated
In this example, we will deploy Mozilla Firefox using the Advanced Application Deployment to ensure that the shortcut will be removed after the installation has completed.
Enable Advanced App Deployment
Change the Remove Shortcut dropdown to Yes. This will show a new input called "Shortcut Name". Here we need to enter the name of the desktop shortcut for Mozilla Firefox which is "Firefox.lnk". Make sure to include the .lnk which is the extension name for shortcut items.
Deploy the application to Intune.
Install Flow
When deploying Firefox to a device, we can see at first the shortcut is added during the installation. Once the installation has completed it will run the shorcut cleanup script to search the public desktop for the specified shortcut file (in this case Firefox.lnk).
This can help keep the users desktop from becoming cluttered with too many desktop shortcuts. For some applications this may require an initial installation on a test device to confirm what the name of the shortcut is.