/ 中存储网

解决windows 7操作系统不能把程序锁定到任务栏的方法

2015-05-24 23:34:41 来源:中存储网

1、先在桌面上新建一个txt的文件名称为1,把下面的文字拷到里面,把扩展名改为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}"

2、在新建一个2的txt文件,然后把下面的内容拷入,把扩展名改为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-000000000046}"

[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}"

[HKEY_CLASSES_ROOTlnkfileshellexPropertySheetHandlers]

[HKEY_CLASSES_ROOTlnkfileshellexPropertySheetHandlersShimLayer Property Page]

@="{513D916F-2A8E-4F51-AEAB-0CBC76FB1AF8}"

这样两个最重要的文件就建好了,下面要做的就是把任务管理器打开,把"explorer"进程结束掉,然后点击任务管理器的文件---新建任务,把刚才的两个reg文件一次导入,在启动C:Windowsexplorer.exe(看你的系统安装在那个盘的哦),看看是不是就可以程序和快捷方式pin如任务栏了啊!!

最后说一句:通过以上的步骤,您可以完成所有的步骤啦!