This reg file will restore gif file association to Windows XP default.
Copy between "=====" and paste into notepad, save as gif.reg
Double-click or right-click and merge into the registry.
========================
Windows Registry Editor Version 5.00
[-HKEY_CLASSES_ROOT\.gif]
[HKEY_CLASSES_ROOT\.gif]
@="giffile"
"CachedFilterIID"="{c3278e90-bea7-11cd-b579-08002b30bfeb}"
"Content Type"="image/gif"
"PerceivedType"="image"
[HKEY_CLASSES_ROOT\.gif\OpenWithProgids]
"giffile"=hex(0):
[HKEY_CLASSES_ROOT\.gif\PersistentHandler]
@="{098f2470-bae0-11cd-b579-08002b30bfeb}"
[-HKEY_CLASSES_ROOT\giffile]
[HKEY_CLASSES_ROOT\giffile]
@="GIF Image"
"EditFlags"=dword:00010000
"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,73,00,79,00,73,00,74,00,65,00,6d,00,33,00,\
32,00,5c,00,73,00,68,00,69,00,6d,00,67,00,76,00,77,00,2e,00,64,00,6c,00,6c,\
00,2c,00,2d,00,33,00,30,00,32,00,00,00
"ImageOptionFlags"=dword:00000003
[HKEY_CLASSES_ROOT\giffile\CLSID]
@="{25336920-03F9-11cf-8FD0-00AA00686F13}"
[HKEY_CLASSES_ROOT\giffile\DefaultIcon]
@="shimgvw.dll,2"
[HKEY_CLASSES_ROOT\giffile\shell]
[HKEY_CLASSES_ROOT\giffile\shell\open]
"MuiVerb"="@shimgvw.dll,-550"
[HKEY_CLASSES_ROOT\giffile\shell\open\command]
@="rundll32.exe %windir%\\system32\\shimgvw.dll,ImageView_Fullscreen %1"
[HKEY_CLASSES_ROOT\giffile\shell\open\DropTarget]
"Clsid"="{E84FDA7C-1D6A-45F6-B725-CB260C236066}"
[HKEY_CLASSES_ROOT\giffile\shell\printto]
[HKEY_CLASSES_ROOT\giffile\shell\printto\command]
@="rundll32.exe %windir%\\system32\\shimgvw.dll,ImageView_PrintTo /pt
\"%1\" \"%2\" \"%3\" \"%4\""
========================
ju.c