Compartir a través de


TaskbarLinks

Applies To: Windows 7, Windows 8, Windows 8.1, Windows Server 2008 R2, Windows Server 2012, Windows Server 2012 R2

TaskbarLinks specifies shortcuts to display on the taskbar. Up to six shortcuts to programs, Windows Store apps or website links 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:

Taskbar Link Type Format

Shortcut to programs

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.

Shortcut to website link

The complete path and website name of the shortcut file with a .website file name extension. The path to the shortcut file must refer to a location on the destination computer. For information about creating .website files, see Deploying Pinned Websites.

Shortcut to a Windows Store app

Use the Application User Model ID (AUMID).

For shortcuts to programs, 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

Microsoft-Windows-Shell-Setup | TaskbarLinks

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, a shortcut to Sound Recorder, a shortcut to a Windows Store app with an AUMID of AppID1 and a shortcut to the Bing website.

<TaskbarLinks>
   <Link0>%ALLUSERSPROFILE%\Microsoft\Windows\Start Menu\Programs\Accessories\Wordpad.lnk</Link0>
   <Link1>%ALLUSERSPROFILE%\Microsoft\Windows\Start Menu\Programs\Accessories\Sound Recorder.lnk</Link1>
   <Link2>AppID1</Link2>
   <Link3>%ALLUSERSPROFILE%\Microsoft\Windows\Start Menu\Websites\Bing.website</Link3>
</TaskbarLinks>

See Also

Concepts

Microsoft-Windows-Shell-Setup