Windows 7 cannot lock the program to the taskbar solution recently encountered a problem when using Windows 7, that is, common programs and shortcuts cannot be locked to the taskbar. I didn't know what happened at the time, however, many existing methods cannot solve this problem. After reading a lot of information, I found that this problem lies in piffile and lnkfile. Now I share my solutions with you. Create a txt file named 1 on the desktop, copy the following text to it, and change the extension to reg: windows Registry Editor Version 5.00 [HKEY_CLASSES_ROOT \ piffile] @ = "Shortcut to MS-DOS Program" "EditFlags" = hex: 01,00, "is0000cut" = "" NeverShowExt "=" FriendlyTypeName "= hex (2, \ 00, 6f, 00, 6f, 25, 00, 5c, 00, 6d, 00, \, 5c,, 00, 2e, 00, 6c, 00, 6c, \ 00, 2c, 00, 2d, 00 [HKEY_CLASSES_ROOT \ piffile \ shell] [HKEY_CLASSES_ROOT \ piffile \ shell \ open] [HKEY_CLASSES_ROOT \ piffile \ shell \ open \ command] @ = "\" % 1 \ "% *" [HKEY_CLASSES_ROOT \ piffile \ shellex] [HKEY_CLASSES_ROOT \ piffile \ shellex \ ContextMenuHandlers] [Users \ piffile \ shellex \ ContextMenuHandlers \ AVG8 Shell Extension] @ = "{response BC3} "[HKEY_CLASSES_ROOT \ piffile \ shellex \ DropHandler] @ =" {character} "[character \ piffile \ shellex \ IconHandler] @ =" {character} "[HKEY_CLASSES_ROOT \ piffile \ shellex \ PropertySheetHandlers] [HKEY_CLASSES_ROOT \ piffile \ shellex \ PropertySheetHandlers \ PifProps] @ = "{users}" [HKEY_CLASSES_ROOT \ piffile \ shellex \ PropertySheetHand Lers \ ShimLayer Property Page] @ = "{513D916F-2A8E-4F51-AEAB-0CBC76FB1AF8}" then create a txt file of 2, merge the following content, and change the extension to reg: windows Registry Editor Version 5.00 [HKEY_CLASSES_ROOT \ lnkfile] @ = "Shortcut" "EditFlags" = dword: 00000001 "FriendlyTypeName" = "@ shell32.dll, -4153 "" IsShortcut "=" "NeverShowExt" = "" [HKEY_CLASSES_ROOT \ lnkfile \ CLSID] @ = "{secret}" [HKEY_CLASSES_ROOT \ lfile nkfile \ shellex] [hkey_cia SSES_ROOT \ lnkfile \ shellex \ ContextMenuHandlers] [role \ lnkfile \ shellex \ Compatibility] @ = "{role}" [role \ lnkfile \ shellex \ role \ OpenContainingFolderMenu] @ =" {token} "[HKEY_CLASSES_ROOT \ lnkfile \ shellex \ ContextMenuHandlers \ {00021401-0000-0000-C000-000000000046}] @ =" [HKEY_CLASSES_ROOT \ lnkf Ile \ shellex \ DropHandler] @ = "{delimiter}" [HKEY_CLASSES_ROOT \ lnkfile \ shellex \ IconHandler] @ = "{delimiter}" [delimiter \ lnkfile \ shellex \ PropertySheetHandlers] [delimiter \ lnkfile \ shellex \ PropertySheetHandlers \ ShimLayer Property Page] @ = "{513D916F-2A8E-4F51-AEAB-0CBC76FB1AF8}" the two most important files have been created, the following is to open the task manager, stop the "explorer" process, and then click the file in the Task Manager --- New Create a task and import the two reg files at a time. Start C: \ Windows \ assumer.exe (check the disk where your system is installed ), check whether the program and shortcut pin can be used as the taskbar !! Haha, but this is a problem. You will find that there is an arrow in the shortcut, Which is annoying. End