Windows7 How to add a shortcut to the taskbar

Source: Internet
Author: User

Method One, Command mode resolution

1. When the Windows 7 taskbar does not add a shortcut icon, you can expand it in sequence:
"Start" → "Run" (or use win+r) → Type the following in turn and confirm:

The code is as follows Copy Code

cmd/k reg ADD "hkey_classes_root\lnkfile"/V isshortcut/f

cmd/k reg ADD "hkey_classes_root\piffile"/V isshortcut/f

cmd/k taskkill/f/im Explorer.exe & Explorer.exe


2. After completing the above operation, you can drag the desktop icon or other path program directly to the Windows7 taskbar, when you drag to the taskbar, you receive the "Attach to Taskbar" prompt, and when you right-click on the icon on the Windows7 taskbar, the menu then returns "Unlock this program from the taskbar." Order, so you can add or subtract the program on the taskbar at random.

Ways to modify the registry

Copy the following code into Notepad.

The code is as follows Copy Code

Windows Registry Editor Version 5.00

[Hkey_classes_root\.lnk]

@= "Lnkfile"

[Hkey_classes_root\.lnk\shellex]

[hkey_classes_root\.lnk\shellex\{000214ee-0000-0000-c000-000000000046}]

@= "{00021401-0000-0000-c000-000000000046}"

[hkey_classes_root\.lnk\shellex\{000214f9-0000-0000-c000-000000000046}]

@= "{00021401-0000-0000-c000-000000000046}"

[hkey_classes_root\.lnk\shellex\{00021500-0000-0000-c000-000000000046}]

@= "{00021401-0000-0000-c000-000000000046}"

[HKEY_CLASSES_ROOT\.LNK\SHELLEX\{BB2E617C-0920-11D1-9A0B-00C04FC2D6C1}]

@= "{00021401-0000-0000-c000-000000000046}"

[Hkey_classes_root\.lnk\shellnew]

' Command ' = ' rundll32.exe appwiz.cpl,newlinkhere%1 '

[Hkey_classes_root\lnkfile]

@= "Shortcuts"

"EditFlags" =dword:00000001

"Isshortcut" = ""

"Nevershowext" = ""

[Hkey_classes_root\lnkfile\clsid]

@= "{00021401-0000-0000-c000-000000000046}"

[Hkey_classes_root\lnkfile\shellex]

[Hkey_classes_root\lnkfile\shellex\contextmenuhandlers]

[Hkey_classes_root\lnkfile\shellex\contextmenuhandlers\offline Files]

@= "{750fdf0e-2a26-11d1-a3ea-080036587f03}"

[hkey_classes_root\lnkfile\shellex\contextmenuhandlers\{00021401-0000-0000-c000-000000000046}]

[Hkey_classes_root\lnkfile\shellex\drophandler]

@= "{00021401-0000-0000-c000-000000000046}"

[Hkey_classes_root\lnkfile\shellex\iconhandler]

@= "{00021401-0000-0000-c000-000000000046}"

[Hkey_classes_root\lnkfile\shellex\propertysheethandlers]

[Hkey_classes_root\lnkfile\shellex\propertysheethandlers\shimlayer Property Page]

@= "{513d916f-2a8e-4f51-aeab-0cbc76fb1af8}"

2, save the file as Lnk.reg to your desktop, please note that the Save type selection becomes all files. Then double-click the Import registry

Method Three

Open Notepad and enter the following:

The code is as follows Copy Code

Windows Registry Editor Version 5.00

[Hkey_classes_root\lnkfile]
"Isshortcut" = ""

[HKEY_CLASSES_ROOT\piffile]
"Isshortcut" = ""

[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Shell Icons]
"I" = "c:\\\\windows\\\\system32\\\\shell32.dll,50"

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Shell Icons]
"I" = "c:\\\\windows\\\\system32\\\\shell32.dll,50"

Then save as a. reg file and double-click to run
Finally log off and log on or reboot the computer, OK

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.