Ok, you can thank a colleague of mine (Dinyero Johnson) for this new single vbs script that now copies the taskbar icons and deletes itself.
The vbs script is a little nicer than version one (CMD) because it runs without any windows and in my opinion vbs scripts just run smoother
. Also, it is a single file and the tutorial has less steps.
So for all of you who grabbed version one, lol, grab version 2!!! And if you are using WIM images, you can simply mount your image, replace the script, and unmount/commit.
Repeat instructions are below:
When running sysprep in Windows 7 with the unattend.xml file, you will probably notice that the taskbar icons are something that don’t copy over. Well that is because the icons are not part of the users profile. So the copyprofile=true command does work for almost everything, but it doesn’t copy over your taskbar icons. So here is a script that will do it for you.
Step #1
Download the vbs script (11kb). Click Here to Download or Right Click and Save Target As….
You might have to remove the .txt extension when you are downloading the script. You are going to drop this script into the correct place during audit mode.
Step #2
Copy the vbs script into the startup folder in the start menu.
Step #3
The vbs script unpins WMP, IE, and Windows Explorer and then repins the icons in the order you want. My file has this order:
Windows Explorer, IE, Firefox, Word, Excel, Outlook, WMP
Step #4
Now run sysprep as you normally would and the script is copied into the default profile. That means for every new user, the script pins the icons in the order you want, the script then deletes itself and never runs again. For the correct procedure on sysprepping your machine, read my Windows 7 Sysprep Tutorial.


