Link0 specifies the path to the first available program shortcut on the taskbar.
Any item that is pinned to the taskbar will not appear in the Start menu list of most frequently used programs.
We recommend that you add shortcut files to the All Users Start menu, for example:
We do not recommend adding the shortcut by using the environment variable:
%USERPROFILE%. Shortcuts added by using
%USERPROFILE% are applied only to the profile of the next user to log on to the computer. Also, if the setting is applied during the auditUser configuration pass, the shortcut is applied only to the temporary administrator account, which is removed after exiting audit mode.
This setting has no effect on Server Core installations.
Specifies the path to the first shortcut on the taskbar. Path_to_first_link is a string with a maximum length of 259 characters.
Path_to_first_link specifies the complete path and the file name of a shortcut file with an .lnk file name extension. The path to the shortcut file must refer to a location on the destination computer.
The shortcut file must include the complete path and file name of a corresponding program file with an .exe file name extension. The path to the program file must refer to a location on the destination computer.
This string type does not support empty elements. Do not create an empty value for this setting.
Valid Configuration Passes
For a list of the supported Windows editions and architectures that this component supports, see Microsoft-Windows-Shell-Setup.
The following XML output shows how to add shortcuts for Remote Desktop Connection, Sound Recorder in the desktop, and the calculator in the desktop.
<TaskbarLinks> <Link0>%ALLUSERSPROFILE%\Microsoft\Windows\Start Menu\Programs\Accessories\Remote Desktop Connection.lnk</Link0> <Link1>%ALLUSERSPROFILE%\Microsoft\Windows\Start Menu\Programs\Accessories\Sound Recorder.lnk</Link1> <Link2>%ALLUSERSPROFILE%\Microsoft\Windows\Start Menu\Programs\Accessories\Calculator.lnk</Link2> </TaskbarLinks>