Win7 can't lock the program to the taskbar

  
Use windows7 recently encountered a problem at the right time, is frequently used programs and shortcuts to the taskbar is not locked, I did not know how it happened, but many of the existing methods can not solve this problem, I read a lot of information in the future I found this problem on the piffile and lnkfile. Now I share my solution with everyone.
First create a txt file name on the desktop as 1, copy the following text into it, change the extension to reg:
Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOTpiffile]
@= "Shortcut to MS-DOS Program"
"EditFlags"=hex:01,00,00,00
"IsShortcut"=""
"NeverShowExt"=""
"FriendlyTypeName"=hex(2): 40,00,25,00,53,00,79,00,73,00,74,00,65,00,6d,00,52,
00,6f, 00,6f, 00,74,00,25,00,5c, 00,53,00,79,00,73,00,74,00,65,00,6d, 00,33,00,
32,00,5c,00,61,00,63,00,70,00,70,00,61,00,67,00,65,00,2e,00,64,00,6c,00 ,6c,
00,2c,00,2d,00,36,00,30,00,30,00,35,00,00,00
[HKEY_CLASSES_ROOTpiffileshell]
[HKEY_CLASSES_ROOTpiffileshellopen]
[HKEY_CLASSES_ROOTpiffileshellopencommand]
@=""%1" %*"
[HKEY_CLASSES_ROOTpiffileshellex]
[HKEY_CLASSES_ROOTpiffileshellexContextMenuHandlers]
[HKEY_CLASSES_ROOTpiffileshellexContextMenuHandlersAVG8 Shell Extension]
@="{9F97547E-4609 -42C5- AE0C-81C61FFAEBC3} "
[HKEY_CLASSES_ROOTpiffileshellexDropHandler]
@ = " {86C86720-42A0-1069-A2E8-08002B30309D} "
[HKEY_CLASSES_ROOTpiffileshellexIconHandler]
@ = " {00021401-0000- 0000-C000-000000000046} "
[HKEY_CLASSES_ROOTpiffileshellexPropertySheetHandlers]
[HKEY_CLASSES_ROOTpiffileshellexPropertySheetHandlersPifProps]
@ = " {86F19A00-42A0-1069-A2E9-08002B30309D} "
[HKEY_CLASSES_ROOTpiffileshellexPropertySheetHandlersShimLayer Property Page]
@ = " {513D916F-2A8E-4F51-AEAB-0CBC76FB1AF8} "
then a new txt file 2, and the following content copying in the extension to reg:
Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOTlnkfile]
@ = " Shortcut "
" EditFlags " = dword: 00000001
" FriendlyTypeName " = " @ shell32.dll, -4153 "
" IsShortcut " = " "
" NeverShowExt " = " "
[HKEY_CLASSES_ROOTlnkfileCLSID]
@ = " {00021401-0000-0000-C000-000 000000046} "
[HKEY_CLASSES_ROOTlnkfileshellex]
[HKEY_CLASSES_ROOTlnkfileshellexContextMenuHandlers]
[HKEY_CLASSES_ROOTlnkfileshellexContextMenuHandlersCompatibility]
@ = " {1d27f844-3a1f-4410-85ac-14651078412d} "
[HKEY_CLASSES_ROOTlnkfileshellexContextMenuHandlersOpenContainingFolderMenu]
@ = " {37ea3a21-7493-4208-a011-7f9ea79ce9f5} "
[HKEY_CLASSES_ROOTlnkfileshellexContextMenuHandlers {00021401-0000-0000-C000-000000000046}]
@ = " "
[HKEY_CLASSES_ROOTlnkfileshellexDropHandler]
@ = " {00021401-0000-0000-C000-000000000046} "
[HKEY_CLASSES_ROOTlnkfileshellexIconHandler]
@ = " {00021401-0000-0000-C000-000000000046} "
[ ,null,null,0],HKEY_CLASSES_ROOTlnkfileshellexPropertySheetHandlers]
[HKEY_CLASSES_ROOTlnkfileshellexPropertySheetHandlersShimLayer Property Page]
@="{513D916F-2A8E-4F51-AEAB-0CBC76FB1AF8}"
The two most important files are built, the next thing to do is Open the task manager and put "explorer "The process ends, then click on the task manager's file --- New task, import the two reg files at a time, start C:Windowsexplorer.exe (see your system installed on that disk), see See if it is possible to program and shortcut pin such as the taskbar!!
Haha, but there is a problem, you will find an arrow on the shortcut, this is very annoying.

Copyright © Windows knowledge All Rights Reserved