Move all desktop shortcuts into one folder after complete the OSD

Hi folks, while working on projects we are getting so many Image customization requests and we have to fulfill those in a timed manner.

Here is one requirement requested by one of the customers to remove all the installed application shortcuts from the desktop and place them into one single folder on the desktop. The idea behind it freshly build machine's desktop should be clean and users should not bother with so many shortcuts.

While executing the applications from TS, machine base application shortcuts are getting created in the public user’s desktop and normal users cannot delete or move these shortcuts by themselves as they don’t have permissions to the public desktop directory.

Cool, we can move all the installed application shortcuts to a single folder in one click. How? using below script 😊

@echo on

REM Program created by Dashrath Chate at 11:17 AM 10/11/2019

cd\

C:

cd "C:\Users\Public\Desktop"

move *.* "DestopLinks"

create one batch file SCCM package with the above batch code and deploy it on required DPs.

In the Task Sequence, we have to add this command line step at the end of the application/package installation step. So, we can move all shortcuts.

If you add this step at the beginning of TS or added any application/package post-execution this step will not move the shortcut to DestopLinks.

No comments:

Post a Comment

Leave your valuable words here for improve better.