Shortcut will not pin to the taskbar

Jay Marcum 5 Reputation points
2026-04-11T18:49:00.0266667+00:00

I have created a shortcut to a program and have it in my start menu but would like to put it on the taskbar, yet I have no options to. It doesn't allow click and dragging, there is no option to pin in the context menu.

I can make a shortcut of any other file and it seems to pin fine. But some don't. What gives? Is there security or some attribute on the file I am missing that is not letting me pin a shortcut to it on the taskbar? Where is that determined and how I can allow it to be on the taskbar? Because as-is, I have no options to do so and I get a denied icon when I try to drag it onto the taskbar.

Any canned AI responses will be reported as off-topic and spam and not accepted as an answer.

Windows for home | Windows 10 | Desktop, Start, and personalization | Task Bar
0 comments No comments

3 answers

Sort by: Most helpful
  1. Hendrix-V 17,965 Reputation points Microsoft External Staff Moderator
    2026-04-12T06:45:13.57+00:00

    Hi Jay Marcum,

    If a shortcut works but cannot be pinned to the taskbar (no “Pin to taskbar” option and drag‑and‑drop shows a denied icon), it is usually because Windows can only pin items that launch a desktop application executable (.exe) directly. If the shortcut points to another shortcut, a script, or another file type, Windows may not treat it as a pinnable taskbar item.

    Here are some possible options that you can try to move forward in this situation:

    1, Verify the shortcut target

    • Right‑click the shortcut > Properties.
    • Check the Target field.
    • If it does not end with .exe, Windows may block taskbar pinning for that shortcut.

    2, Pin the executable directly

    • Locate the program’s .exe (commonly in C:\Program Files or C:\Program Files (x86)).
    • Right‑click the .exe > Pin to taskbar.

    3, Create a new shortcut to the executable

    • Right‑click Desktop > New > Shortcut.
    • Browse to the program’s .exe file.
    • Create the shortcut, then right‑click it > Pin to taskbar.

    4, Avoid chained shortcuts - if the shortcut points to another .lnk file, create a new shortcut that points directly to the .exe instead.

    These steps usually allow the application to be pinned successfully. Let me know if you need further assistance, feel free to ask me by clicking "Add Comment" or "Add Answer" if you cannot add comment so your response will be visible. Thanks for your effort.


    If my response is helpful to you, please click "Accept Answer" and kindly upvote it.

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    Was this answer helpful?

    2 people found this answer helpful.

  2. Rodrigo Queiroz 78,585 Reputation points Independent Advisor
    2026-04-11T21:50:03.68+00:00

    Hi, I'm Rodrigo, and I will help you.
    Open the application, right click the icon on the taskbar > Pin to taskbar.

    Let me know if this works for you and if not, tell what happened when you tried.

    Was this answer helpful?

    0 comments No comments

  3. AI answer

    2026-04-11T18:49:11.2666667+00:00

    Some shortcuts and apps are intentionally blocked from being pinned to the taskbar. This behavior is controlled by Windows’ Application User Model (AppUserModel) settings and related policies, not by a simple file attribute.

    Windows can exclude specific executables or AppUserModelIDs from taskbar pinning and from the Start menu’s most-frequently-used (MFU) list. If the target of the shortcut matches one of these exclusion mechanisms, the taskbar will:

    • Show a “denied” cursor when dragging to the taskbar
    • Not show “Pin to taskbar” in the context menu

    There are three supported mechanisms that can make an app or shortcut non‑pinnable:

    1. NoStartPage registry entry for the executable
      • Under HKEY_CLASSES_ROOT\Applications\Example.exe (where Example.exe is the app), the presence of a NoStartPage value makes the app unavailable for taskbar pinning and MFU.
      • Only the presence of NoStartPage is required; its data is ignored.
      • If an explicit AppUserModelID is later applied, it overrides NoStartPage and the app becomes pinnable again.
    2. System.AppUserModel.PreventPinning property
      • This shell property can be set on windows and shortcuts.
      • When set, it prevents the item from being pinned to the taskbar.
      • It must be set before the PKEY_AppUserModel_ID (AppUserModelID) is set.
    3. AppUserModelID listed under NoStartPageAppUserModelIDs
      • Under: HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Explorer\FileAssociation\NoStartPageAppUserModelIDs
      • Each value name is an AppUserModelID; any ID listed here is not pinnable and not eligible for the Start MFU list.

    If a particular program or its shortcut cannot be pinned while others can, it is likely affected by one of these mechanisms. To allow pinning, the responsible exclusion must be removed or avoided (for example, removing NoStartPage for that EXE, not setting System.AppUserModel.PreventPinning, or removing its AppUserModelID from NoStartPageAppUserModelIDs).

    Note: Editing the registry or shell properties affects system behavior and should be done carefully, ideally by an administrator who understands the impact.


    References:

    AI-generated content may be incorrect. Read our transparency notes for more information.

    Was this answer helpful?

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.