Link1 specifies the path to the second shortcut in the Start menu list of most frequently used programs.

Note
This setting has been deprecated in Windows® 8. The information about this deprecated setting is provided for reference only. In Windows 8, the Start menu list of most frequently used programs is not available.

Shortcut files must be placed either on the Start menu or on the desktop, otherwise they will not appear in the list of most frequently used items. We recommend that you add shortcut files to the All Users Start menu, for example: %ALLUSERSPROFILE%\Microsoft\Windows\Start Menu\Programs\Fabrikam\Application.lnk, to enable all users to access the programs, and to keep the desktop clean for the end user.

We do not recommend adding the shortcut by using the environment variable: %USERPROFILE%. Shortcuts 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 the computer exits audit mode.

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

Values

Path_to_second_link

Specifies the path to the second shortcut on the Start menu. Path_to_second_link is a string with a maximum length of 259 characters.

Path_to_second_link specifies the complete path and the file name of a shortcut file with a .lnk file name extension. The path 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.

This string type does not support empty elements. Do not create an empty value for this setting.

Valid Passes

auditUser

oobeSystem

specialize

Parent Hierarchy

Applies To

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

XML Example

The following XML output shows how to add a shortcut for the calculator in the desktop and Wordpad on the Start menu list of most frequently used programs.

  Copy Code
<StartPanelLinks>
   <Link0>%ALLUSERSPROFILE%\Microsoft\Windows\Start Menu\Programs\Accessories\Calculator.lnk</Link0>
   <Link1>%ALLUSERSPROFILE%\Microsoft\Windows\Start Menu\Programs\Accessories\Wordpad.lnk</Link1>
</StartPanelLinks>

See Also

Concepts

StartPanelLinks