/build/static/layout/Breadcrumb_cap_w.png

How to disable creation of shortcuts after patching

Some of the software that is being updated thru K1000 patching creates shortcuts on the desktop once its installed. Is there a way to delete and disable the shortcuts from being created.

0 Comments   [ + ] Show comments

Answers (1)

Posted by: SMal.tmcc 8 years ago
Red Belt
3
When I pushed the Dell Command|Configure as a Managed Install, it put a shortcut on the desktop I did not want.  I Created a CIR to look for that shortcut and delete it.  I used a CIR because that runs with the regular schedule so it gets checked when the machine starts and by your kbox's schedule vs having a kscript.  Trying to use a kscipt was hit and miss where users where reporting this shortcut appearing.



so if no one else can tell you how to stop these try this method.

ShellCommandTextReturn(cmd /c if exist "C:\Users\Public\Desktop\Configuration Wizard.lnk" del "C:\Users\Public\Desktop\Configuration Wizard.lnk" /q)



Comments:
  • Thanks I will give this a try - DPUNC 8 years ago
    • if you right click on the shortcut and go to general tab you can copy the name from there and just add .lnk to the end to get the name of the shortcut. - SMal.tmcc 8 years ago
      • Perfect!!!!! I just tested and that works. Thanks for all the help - DPUNC 8 years ago

Don't be a Stranger!

Sign up today to participate, stay informed, earn points and establish a reputation for yourself!

Sign up! or login

Share

 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ