/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?

Updated: I currently have a batch file which copies to the startup folder of the AllUsers profile and deletes the shortcut for %USERPROFILE%. This is the most efficient way that I can currently see of doing this??

Thanks
Mitch

0 Comments   [ + ] Show comments

Answers (2)

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.
Posted by: MSI_repackager 19 years ago
Orange Belt
0
Unfortunately it wasn't an MSI install. I don't know how things got that way as I have replaced the last packager with no handover of information.

I will try your suggestion, I only asked for batch as the company I now work for has no software delivery platform as yet, so everything is deployed via batch files.

Thanks for your help.
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