WinXP 桌面創建的網址快捷方式(.url 文件)雙擊無反應或報錯,通常是因註冊表中 HKEY_CLASSES_ROOT\InternetShortcut 鍵值損壞或丟失導致文件類型關聯失效。本文提供完整的註冊表修復代碼,導入即可恢復正常打開。
fix_url.reg。Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT\InternetShortcut]
"EditFlags"=dword:00000002
@="Internet 快捷方式"
"NeverShowExt"=""
"FriendlyTypeName"="@C:\\WINDOWS\\system32\\ieframe.dll.mui,-10046"
"FullDetails"="prop:System.Link.TargetUrl;System.Rating;System.Link.Description;System.Link.Comment"
"InfoTip"="prop:System.Link.TargetUrl;System.Rating;System.Link.Description;System.Link.Comment"
"PreviewDetails"="prop:System.Link.TargetUrl;System.Rating;System.History.VisitCount;System.History.DateChanged;System.Link.DateVisited;System.Link.Description;System.Link.Comment"
"IsShortcut"=""
[HKEY_CLASSES_ROOT\InternetShortcut\CLSID]
@="{FBF23B40-E3F0-101B-8488-00AA003E56F8}"
[HKEY_CLASSES_ROOT\InternetShortcut\DefaultIcon]
@=hex(2):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,73,00,79,00,73,00,74,00,65,00,6d,00,33,00,32,00,5c,00,75,00,72,00,\
6c,00,2e,00,64,00,6c,00,6c,00,2c,00,30,00,00,00
[HKEY_CLASSES_ROOT\InternetShortcut\shell]
"CLSID"="{FBF23B40-E3F0-101B-8488-00AA003E56F8}"
@="open"
[HKEY_CLASSES_ROOT\InternetShortcut\shell\open]
"CLSID"="{FBF23B40-E3F0-101B-8488-00AA003E56F8}"
"LegacyDisable"=""
[HKEY_CLASSES_ROOT\InternetShortcut\shell\open\command]
@="\"C:\\WINDOWS\\system32\\rundll32.exe\" \"C:\\WINDOWS\\system32\\ieframe.dll\",OpenURL %l"
[HKEY_CLASSES_ROOT\InternetShortcut\shell\print]
[HKEY_CLASSES_ROOT\InternetShortcut\shell\print\command]
@=hex(2):72,00,75,00,6e,00,64,00,6c,00,33,00,32,00,2e,00,65,00,78,00,65,\
00,20,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,73,00,79,00,73,00,74,00,65,00,6d,00,33,00,32,00,5c,00,6d,\
00,73,00,68,00,74,00,6d,00,6c,00,2e,00,64,00,6c,00,6c,00,2c,00,50,00,72,\
00,69,00,6e,00,74,00,48,00,54,00,4d,00,4c,00,20,00,22,00,25,00,31,00,22,\
00,00,00
[HKEY_CLASSES_ROOT\InternetShortcut\shell\printto]
[HKEY_CLASSES_ROOT\InternetShortcut\shell\printto\command]
@=hex(2):72,00,75,00,6e,00,64,00,6c,00,33,00,32,00,2e,00,65,00,78,00,65,\
00,20,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,73,00,79,00,73,00,74,00,65,00,6d,00,33,00,32,00,5c,00,6d,\
00,73,00,68,00,74,00,6d,00,6c,00,2e,00,64,00,6c,00,6c,00,2c,00,50,00,72,\
00,69,00,6e,00,74,00,48,00,54,00,4d,00,4c,00,20,00,22,00,25,00,31,00,22,\
00,20,00,22,00,25,00,32,00,22,00,20,00,22,00,25,00,33,00,22,00,20,00,22,\
00,25,00,34,00,22,00,00,00
[HKEY_CLASSES_ROOT\InternetShortcut\shellex]
[HKEY_CLASSES_ROOT\InternetShortcut\shellex\ContextMenuHandlers]
[HKEY_CLASSES_ROOT\InternetShortcut\shellex\ContextMenuHandlers\{FBF23B40-E3F0-101B-8488-00AA003E56F8}]
@=""
[HKEY_CLASSES_ROOT\InternetShortcut\shellex\IconHandler]
@="{FBF23B40-E3F0-101B-8488-00AA003E56F8}"
[HKEY_CLASSES_ROOT\InternetShortcut\shellex\PropertyHandler]
@="{FBF23B40-E3F0-101B-8488-00AA003E56F8}"
[HKEY_CLASSES_ROOT\InternetShortcut\shellex\PropertySheetHandlers]
[HKEY_CLASSES_ROOT\InternetShortcut\shellex\PropertySheetHandlers\{FBF23B40-E3F0-101B-8488-00AA003E56F8}]
@=""

HKEY_CLASSES_ROOT\InternetShortcut\shell\open\command 默認值需指向 rundll32.exe ieframe.dll,OpenURL %l。{FBF23B40-E3F0-101B-8488-00AA003E56F8} 必須在 CLSID、shelex\IconHandler、PropertyHandler 等分支一致。導入註冊表文件是最快捷的修復方式,適用於 WinXP/Server 2003 等系統,操作前建議導出原鍵值備份。