It consists of two different scripts as the Taskbar is per-user I use a .CMD file to copy all the files needed locally and then add a Runonce command to the default user profile so that the Taskbar is imported once for each user when the profile is created.
Couldn’t this be done in the default user profile? No, as the Edge icon is added as well when the user profile is created. 1st you will need to download the scripts below.
To implement it:
- Download the file above and extract it and place it in your Package Source structure, the content of the file looks like this.
The .cmd file will copy the following files to C:\Windows\ManageTaskbar where the Runonce command will run the Powershell script from.
- And then create a Package in Configuration Manager without a program and add use the folder created with the files as package source and distribute it to your DP’s.
- In your Task Sequence add the taskbar.cmd command using the Run Command Line task.
- Then you are ready to test it out.
The script will import the registry file, copy the ManageTaskBar folder and then restart the Explorer process so that the users TaskBar is updated. The Powershell windows will show for 2 seconds, this can be solved in different way’s like calling the Powershell script using a Vbscript.