Page 1 of 1

Public directory/office cleanup

Published: October 23, 2017 - 1:35 PM
by Di3s3l
Hello everyone,

I was wondering if there's a way to prevent the application shortcuts deployed to users' desktops from being added or removed afterward. These shortcuts are located in the C:\Users\Public\Desktop directory. Do I need to create a small script? Modify the deployment script? How would I do it?

Thank you.
:D :D :D :D

Re: Cleaning up public/office directory

Published: October 23, 2017 - 2:16 PM
by sfonteneau
You need to modify the wapt package and add:

remove_desktop_shortcut('Notepad++')

for example

Re: Cleaning up public/office directory

Published: October 23, 2017 - 2:25 PM
by Di3s3l
sfonteneau wrote: Oct 23, 2017 - 2:16 PM You need to modify the wapt package and add:

remove_desktop_shortcut('Notepad++')

for example
Thank you for your very quick reply :D :D However, if I want to do it for a large set of packages, is that possible?

Create a package to be launched at the end using the session environment, using a wildcard instead of the package name "remove_desktop_shortcut(*)" This would avoid having to configure the settings for each package.