/build/static/layout/Breadcrumb_cap_w.png

Removing a shortcut from every user profile on a machine

Hi,

I have an issue where after removal of an app, a shortcut is left in the ProgramMenuFolder for each user profile that exists on the machine (except for the AllUsers profile). This means deleting the icon manually from each specific profile on the workstation which is a real pain. Is there any way of automating this via a batch file?

Thanks
Mitch

0 Comments   [ + ] Show comments

Answers (1)

Posted by: WiseUser 19 years ago
Fourth Degree Brown Belt
0
If this was an MSI installation, you shouldn't have this problem. How did this come about?

There are many ways of doing what you require, but you asked for "batch", and you asked for "efficient" - how's this?

Del C:\Docume~1\MyLink.lnk /s /q /f

Obviously, this has to be run with admin privileges.
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
 
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