Adobe Reader DC Enterprise Deployment with MDT, Delete Desktop Icon or Prevent it

Mike Kerr 1 Reputation point
2022-07-27T15:12:21.847+00:00

Using MDT in my environment works flawlessly with the string: Msiexec.exe /qn /norestart /i "%deployroot%\Applications\AdobeReader\AcroRead.msi" but, I don't want the desktop icon to be displayed. Is there something I can add in the string to prevent this, or is there something I can do as a separate task to delete this icon after the deployment/install task?

Windows for business | Windows Client for IT Pros | Devices and deployment | Set up, install, or upgrade
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. Simon Ren-MSFT 40,341 Reputation points Microsoft External Staff
    2022-07-27T16:28:46.903+00:00

    Hi,

    Per my experience, you could try to add a batch file as an application to run below command with Windows Admin account to delete the desktop shortcut after application installation.
    del "%PUBLIC%\Desktop\filename.lnk"

    Here is a similar thread
    MDT 2012 - Delete/Clean-up shortcuts in C:\Users\Public\Desktop
    Note: The non-Microsoft link is just for your reference.

    Hope it helps. Thanks for your time.

    Best regards,
    Simon


    If the response is helpful, please click "Accept Answer" and upvote it.
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    0 comments No comments

  2. Mike Kerr 1 Reputation point
    2022-08-17T19:36:10.257+00:00

    I ended up having to create a new Task Sequence command calling a batch file with the following command, because even with the quotes, it didn't seem to like the spaces.

    del /F /Q "C:\users\public\Desktop\*DC.lnk"


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.