1. You are viewing our forum as a guest. For full access please Register. WindowsBBS.com is completely free, paid for by advertisers and donations.

Icon Problem

Discussion in 'Legacy Windows' started by astone, 2003/02/05.

Thread Status:
Not open for further replies.
  1. 2003/02/05
    astone

    astone Inactive Thread Starter

    Joined:
    2002/01/14
    Messages:
    57
    Likes Received:
    0
    Hello All:

    Something strange happened over here and I am hopeful that someone can point me in the right direction for fixing it. I was using powerdesk to associate a file with a program and when I went to my desktop all of my icons were changed to the winrar icon and every icon had a lnk as an extension. microsoft outlook, explorer and a couple of other programs did not change. Can someone tell me how to recover my origianl icons for the desktop programs. Thanks for any and all responses.
     
  2. 2003/02/05
    Zephyr

    Zephyr Inactive

    Joined:
    2002/01/21
    Messages:
    1,519
    Likes Received:
    0
    astone, It'll likely take some Registry work to get you back to square one on the Shortcuts.

    The easiest way is to download the #21 LNKassociate.zip package from Pam's site. Unzip it and double click the file it produces. Affirm to allow the information to be merged to the Registry.

    OR......

    You can copy the following script and paste it in Notepad, then save it as lnk.reg. Find that file and double click it as above:

    ++++++++++lnk.reg script++++++++++

    REGEDIT4

    [HKEY_CLASSES_ROOT\.lnk]
    @= "lnkfile "

    [HKEY_CLASSES_ROOT\.lnk\ShellEx]

    [HKEY_CLASSES_ROOT\.lnk\ShellEx\{BB2E617C-0920-11d1-9A0B-00C04FC2D6C1}]
    @= "{500202A0-731E-11d0-B829-00C04FD706EC} "

    [HKEY_CLASSES_ROOT\.lnk\ShellNew]
    "Command "= "RunDLL32 AppWiz.Cpl,NewLinkHere %1 "

    [HKEY_CLASSES_ROOT\lnkfile]
    @= "Shortcut "
    "EditFlags "=hex:01,00,00,00
    "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\TargetContext]
    @= "{90A756E0-AFCF-11CE-927B-0800095AE340} "

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


    ++++++++++End script++++++++++

    Cheers. :)
     

  3. to hide this advert.

  4. 2003/02/05
    astone

    astone Inactive Thread Starter

    Joined:
    2002/01/14
    Messages:
    57
    Likes Received:
    0
    Icons

    Hi,

    Thanks for the reply, will let you know what happens.
     
  5. 2003/02/05
    astone

    astone Inactive Thread Starter

    Joined:
    2002/01/14
    Messages:
    57
    Likes Received:
    0
    No Go

    Hi again,

    well I tried that file but everything still has a lnk extension and the icons still are associated with winrar. Any other suggestions?
     
  6. 2003/02/05
    Zephyr

    Zephyr Inactive

    Joined:
    2002/01/21
    Messages:
    1,519
    Likes Received:
    0
    Look in My Computer> Tools > Folder Options > File Types and see if you have anything listed for the LNK extension. If so, delete it. Also check for the Winrar association and see if the LNK extension is anywhere within it. If so edit the line out.

    This problem may be tough to remedy. Have you the possibility of using System Restore to return to some point predating this?
     
  7. 2003/02/05
    Zephyr

    Zephyr Inactive

    Joined:
    2002/01/21
    Messages:
    1,519
    Likes Received:
    0
    BTW, did you use Pam's download file or the script I posted? They may be different.

    Here's another that may be more suited:

    REGEDIT4

    [HKEY_CLASSES_ROOT\.exe]
    @= "exefile"
    "Content Type "= "application/x-msdownload"

    [HKEY_CLASSES_ROOT\exefile]
    @= "Application"
    "EditFlags "=hex:d8,07,00,00

    [HKEY_CLASSES_ROOT\exefile\DefaultIcon]
    @= "%1"

    [HKEY_CLASSES_ROOT\exefile\shell]

    [HKEY_CLASSES_ROOT\exefile\shell\open]
    "EditFlags "=hex:00,00,00,00

    [HKEY_CLASSES_ROOT\exefile\shell\open\command]
    @= "\ "%1\" %*"

    [HKEY_CLASSES_ROOT\exefile\shellex]

    [HKEY_CLASSES_ROOT\exefile\shellex\PropertySheetHandlers]

    [HKEY_CLASSES_ROOT\exefile\shellex\PropertySheetHandlers\PifProps]
    @= "{86F19A00-42A0-1069-A2E9-08002B30309D}"


    Supposedly that's for NT type systems whereas the other may have been the fix for Win9x systems only.
     
    Last edited: 2003/02/05
  8. 2003/02/05
    astone

    astone Inactive Thread Starter

    Joined:
    2002/01/14
    Messages:
    57
    Likes Received:
    0
    Hi,

    I used Pam's script, let me try yours. btw, i am using win2k server. Does that make a difference?
     
  9. 2003/02/05
    Zephyr

    Zephyr Inactive

    Joined:
    2002/01/21
    Messages:
    1,519
    Likes Received:
    0
    No, should be the same in this area. I would recommend my 17:01 post for being the closest to your system.
     
  10. 2003/02/05
    astone

    astone Inactive Thread Starter

    Joined:
    2002/01/14
    Messages:
    57
    Likes Received:
    0
    Hi again, Well no go with either of the scripts. All the shortcuts on my desktop have the lnk extension and when I look at programs, all the programs now have the lnk extension. Something got ******* royally here, just can't figure out what it is.
     
  11. 2003/02/05
    Zephyr

    Zephyr Inactive

    Joined:
    2002/01/21
    Messages:
    1,519
    Likes Received:
    0
    I suppose a repair over install is in order. This particular problem can be very difficult to reverse. You could try using TweakUi for the icon repair function but I don't think that's even relevant. You could try deleting the shelliconcache file or the shellicon.db, whichever you have. I have little hope for that either but a straw is a straw.

    Here's another straw; see if you have in your \windows\inf folder the Shell.inf file. If so, right click on it and select Install.

    :(
     
    Last edited: 2003/02/05
  12. 2003/02/05
    astone

    astone Inactive Thread Starter

    Joined:
    2002/01/14
    Messages:
    57
    Likes Received:
    0
    Hi,

    Well nothing worked, I guess I will try a repair install, if that doesn't do it a complete install from scratch will be done. Thanks for your help and suggestions. I truly appreciate it.
     
  13. 2003/02/07
    Zephyr

    Zephyr Inactive

    Joined:
    2002/01/21
    Messages:
    1,519
    Likes Received:
    0
    Just to complete this long futile thread with an easy answer, try opening a command prompt and typing:

    assoc.lnk=lnkfile <enter>

    It may be too late for you but someone later may be able to use that.

    Cheers. :)
     
Thread Status:
Not open for further replies.

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.