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

0 Comments   [ - ] Hide Comments


Please log in to comment

Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
Answer this question or Comment on this question for clarity


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.
Answered 03/02/2005 by: WiseUser
Fourth Degree Brown Belt

Please log in to comment
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.
Answered 03/02/2005 by: MSI_repackager
Orange Belt

Please log in to comment