TaskbarLinks specifies shortcuts to display on the taskbar. Up to three shortcuts to programs can be specified.

Note
Any item that is pinned to the taskbar will not appear in the Start menu list of most frequently used programs.

Each of the settings under TaskbarLinks specifies the complete path and the file name of a shortcut file with a .lnk file name extension. The path to the shortcut file must refer to a location on the destination computer.

Each 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.

We recommend that you add shortcut files to the All Users Start menu, for example: %ALLUSERSPROFILE%\Microsoft\Windows\Start Menu\Programs\Fabrikam\Application.lnk.

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.

Note
Certain programs cannot be added to the taskbar. For a list of these programs, see the Microsoft Help and Support website.

This setting has no effect on Server Core installations of Windows Server® 2008, Windows Server 2008 R2, and Windows Server 2012.

Child Elements

Link0

Specifies the path to the first shortcut.

Link1

Specifies the path to the second shortcut.

Link2

Specifies the path to the third shortcut.

Link3

Specifies the path to the fourth shortcut.

Link4

Specifies the path to the fifth shortcut.

Link5

Specifies the path to the sixth shortcut.

Valid Configuration Passes

auditUser

oobeSystem

specialize

Parent Hierarchy

Applies To

For a list of the supported Windows editions and architectures that this component supports, see Microsoft-Windows-Shell-Setup.

XML Example

The following XML output shows how to set a shortcut for Wordpad and a shortcut to Sound Recorder in the desktop.

  Copy Code
<TaskbarLinks>
   <Link0>%ALLUSERSPROFILE%\Microsoft\Windows\Start Menu\Programs\Accessories\Wordpad.lnk</Link0>
   <Link1>%ALLUSERSPROFILE%\Microsoft\Windows\Start Menu\Programs\Accessories\Sound Recorder.lnk</Link1>
</TaskbarLinks>

See Also