Windows XP Windows 7 Windows 2003 Windows Vista Windows 綜合教學 Linux 系統教學
Windows 10 Windows 8 Windows 2008 Windows NT Windows Server 電腦軟體教學

Win7 超級工作列無法鎖定圖示?登機檔修復 lnkfile/piffile IsShortcut 值即可解決

編輯:Windows 7 系統介紹

現象

將程式拖曳到工作列或右鍵「釘選到工作列」無反應,圖示無法鎖定。

原因

登機檔 HKEY_CLASSES_ROOT\lnkfile 與 piffile 下的 IsShortcut 字串值被誤刪或修改,導致 Shell 無法辨識捷徑類型,進而影響工作列釘選功能。

修復方法:匯入以下登機檔內容

  1. 複製下列文字存為 fix_taskbar.reg:
Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOT\lnkfile]
@="Shortcut"
"IsShortcut"=""

[HKEY_CLASSES_ROOT\piffile]
@="Shortcut to MS-DOS Program"
"IsShortcut"=""
  1. 雙擊匯入,或右鍵選「合併」。
  2. 重新啟動電腦(或登出/登入),工作列釘選功能即恢復正常。

補充說明

IsShortcut 為空值即表示「此類型為捷徑」,若該值不存在或被設為其他資料,工作列將無法識別捷徑檔案。部分「優化」軟體為移除捷徑小箭頭而誤刪此值,導致副作用。

Copyright © Windows教程網 All Rights Reserved