Windows XP Windows 7 Windows 2003 Windows Vista Windows 綜合教學 Linux 系統教學
Windows 10 Windows 8 Windows 2008 Windows NT Windows Server 電腦軟體教學
您现在的位置: Windows教程網 >> Windows教程 >  >> Windows 綜合教學 >> 關於 Windows

Win7 無法將程式釘選到工作列?修復 piffile 與 lnkfile 登錄鍵值解決

編輯:關於 Windows

Win7 常用程式或捷徑無法「釘選到工作列」,核心原因通常是 HKEY_CLASSES_ROOT\piffile 與 HKEY_CLASSES_ROOT\lnkfile 兩個登錄鍵值損毀或遺失 IsShortcut 字串值。修復方法:

修復步驟

  1. 在桌面建立兩個文字檔,分別命名 1.txt、2.txt。
  2. 將下列內容分別貼入,並將副檔名改為 .reg:

1.reg(修復 piffile):

Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT\piffile]
@="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_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]
[HKEY_CLASSES_ROOT\piffile\shellex\ContextMenuHandlers\AVG8 Shell Extension]
@="{9F97547E-4609-42C5-AE0C-81C61FFAEBC3}"
[HKEY_CLASSES_ROOT\piffile\shellex\DropHandler]
@="{86C86720-42A0-1069-A2E8-08002B30309D}"
[HKEY_CLASSES_ROOT\piffile\shellex\IconHandler]
@="{00021401-0000-0000-C000-000000000046}"
[HKEY_CLASSES_ROOT\piffile\shellex\PropertySheetHandlers]
[HKEY_CLASSES_ROOT\piffile\shellex\PropertySheetHandlers\PifProps]
@="{86F19A00-42A0-1069-A2E9-08002B30309D}"
[HKEY_CLASSES_ROOT\piffile\shellex\PropertySheetHandlers\ShimLayer Property Page]
@="{513D916F-2A8E-4F51-AEAB-0CBC76FB1AF8}"

2.reg(修復 lnkfile):

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]
@="{00021401-0000-0000-C000-000000000046}"
[HKEY_CLASSES_ROOT\lnkfile\shellex]
[HKEY_CLASSES_ROOT\lnkfile\shellex\ContextMenuHandlers]
[HKEY_CLASSES_ROOT\lnkfile\shellex\ContextMenuHandlers\Compatibility]
@="{1d27f844-3a1f-4410-85ac-14651078412d}"
[HKEY_CLASSES_ROOT\lnkfile\shellex\ContextMenuHandlers\OpenContainingFolderMenu]
@="{37ea3a21-7493-4208-a011-7f9ea79ce9f5}"
[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}"
  1. 開啟「工作管理員」(Ctrl+Shift+Esc),結束 explorer.exe 進程。
  2. 工作管理員 → 「檔案」→「新增工作」→ 依序執行 1.reg、2.reg 匯入登錄。
  3. 再次「新增工作」輸入 C:\Windows\explorer.exe 重啟總管。

完成後即可正常釘選程式至工作列。副作用: 捷徑圖示會出現小箭頭(原本 IsShortcut 為空值會隱藏箭頭),如介意可另行修復捷徑箭頭顯示。

Copyright © Windows教程網 All Rights Reserved