Learn

The forum of documents and methods for studying - Lượm lặt kiến thức


    Đổi icon trong Windows 7

    QaniTri
    QaniTri
    Admin

    Nam Libra Monkey
    Tổng số bài gửi : 1568
    Tiền xu Ⓑ : 3891
    Được cảm ơn № : 6
    Ngày khởi sự Ngày khởi sự : 07/01/2013
    Đến từ Đến từ : HCMC
    Côngviệc / Sởthix Côngviệc / Sởthix : Languages, Softwares, Sciences, Martial arts

    Đổi icon trong Windows 7 Empty Đổi icon trong Windows 7

    Bài gửi by QaniTri 29th January 2017, 12:16

    How to Change the Default Icon of a File Extension in Windows 7






    Đổi icon trong Windows 7 Infosmall1   Information
    This will show you how to change the default icon of any file extension to have a custom icon of your choice instead for it in Windows 7.
    Đổi icon trong Windows 7 Tipsmall   Tip
    By default, known file extension types are set to be hidden in Windows 7. You will need to unhide file extensions to see and know what the file extension is to make it easier to change the icon for the file extension.
    Đổi icon trong Windows 7 Notesmall1   Note


    • You will need to use a 256x256 pixel icon for them to display properly at all of the available icon view sizes in Windows 7.

    • Some programs may automatically reset the default file extension icon back to the default one it uses even after you have changed it. This tutorial will not work for these programs.

    • If you change the default program for what opens the file extension, it will also change the icon of the file extension to be whatever it is for the program you selected uses.


    Đổi icon trong Windows 7 Warnsmall   Warning


    • You will need to be logged on to a administrator account to do this.

    • Making changes in the registry can cause problems if you make a mistake. You should create a system restore point before proceeding in case you need to do a system restore with the restore point to undo a mistake made in the registry.


    EXAMPLE: Default and New Icon for "MP3" File Extensions
    Đổi icon trong Windows 7 49202d1264139866-file-extension-icon-change-default-icon-default_mp3_file_iconĐổi icon trong Windows 7 49203d1264139866-file-extension-icon-change-default-icon-new_mp3_file_icon 






    Đổi icon trong Windows 7 OPTl OPTION ONE Đổi icon trong Windows 7 OPTR

    To Change the Icon of a File Extension Using "FileTypesMan"

    1. Click on the Download button below to go the bottom of that site to download, extract, and run the same 32-bit or 64-bit (x64) FileTypesMan as your 32-bit or 64-bit Windows 7 version.

    Đổi icon trong Windows 7 Dl2

    2. Double click on the file extension (ex: .mp3) that you want to change the icon of. (see screenshot below)

    Đổi icon trong Windows 7 167775d1379300510t-file-extension-icon-change-default-icon-program-1

    3. Click on the browse... button. (see screenshot below)

    Đổi icon trong Windows 7 167776d1312061429-file-extension-icon-change-default-icon-program-2

    4. Browse to and select the icon you want to use, and click on OK. (see screenshot below)

    Đổi icon trong Windows 7 167777d1312061429-file-extension-icon-change-default-icon-program-3

    5. Click on OK. (see screenshot below step 3)

    6. When finished, close FileTypesMan.






    Đổi icon trong Windows 7 OPTl OPTION TWO Đổi icon trong Windows 7 OPTR

    To Manually Change the Icon of a File Extension

    NOTE: For an example in this option, I will be changing the default icon used for the MP3 file extension. You would just substitute the file extension that you want to change the default icon for instead.
    1. Open the Start Menu, then type regedit in the search box and press enter.

    2. If prompted by UAC, then click on Yes.

    3. If Using the Default Program in Windows 7 to Open the File Extension With
    NOTE: You would use this option if you are using the default program that Windows 7 uses to open the file extension with, and not opens with a 3rd party program that you installed.

    A) In regedit, go to: (see screenshot below)
    NOTE: Substitute .mp3 below with the file extension you want to change the icon for instead.

    HKEY_CLASSES_ROOT\.mp3

    Đổi icon trong Windows 7 49204d1264139866-file-extension-icon-change-default-icon-step1
    B) In the right pane of the file extension, make note of the Data value to the right of (Default). (see screenshot above)
    NOTE: For example it is WMP11.AssocFile.MP3 for the .mp3 file extension.

    C) Go to step 5.

    4. If Using a 3rd Party Program as the Default Program to Open the File Extension With
    NOTE: You would do this option if you have changed the default program used by Windows 7 to open the file extension with to be opened by a installed 3rd party (not included in Windows 7) program instead.

    A) In regedit, go to: (see screenshot below)
    NOTE: Substitute .mp3 below with the file extension you want to change the icon for instead.

    Code:

    HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.mp3\Userchoice


    Đổi icon trong Windows 7 49205d1264139866-file-extension-icon-change-default-icon-step2
    B) In the right pane, look at the Data value to the right of Progid. (see screenshot above)
    NOTE: For example it is WMP11.AssocFile.MP3 for the .mp3 file extension type by default. Your value will vary depending on the default program you have set or installed to open this file extension with.

    5. In regedit, scroll past the file extensions and go to: (see screenshot below)
    NOTE: Substitute WMP11.AssocFile.MP3 with the Data value from step 3B or 4B for the file extension Data value that you want to change the icon for instead.

    HKEY_CLASSES_ROOT\WMP11.AssocFile.MP3

    Đổi icon trong Windows 7 49206d1379275879t-file-extension-icon-change-default-icon-step3

    6. Click on the arrow next to for example WMP11.AssocFile.MP3 to expand the key (folder). (see screenshot above)
    NOTE: Substitute WMP11.AssocFile.MP3 with the Data value from step 3B or 4B for the file extension Data value that you want to change the icon for instead.

    Đổi icon trong Windows 7 Tipsmall   Tip
    To Backup the Default File Extension Icon
    NOTE: To restore the default file extension icon from this created backup below, right click on the .reg backup file and click on Merge. Next, approve the merge and log off and log on to apply the change to restore the default icon.

    A) In the left pane of regedit, right click on DefaultIcon and click on Export. (See screenshot below step 5)

    B) Select a location to where you want to save the backup reg file to. 

    C) Type in a name and click on the Save button. 
    NOTE: Be sure to type in a name that is easily recognized by you for that file extension. For example, MP3 default icon.



    7. In the right pane of DefaultIcon, right click on (Default) and click on Modify. (see screenshot below step 5)
    NOTE: If you do not have DefaultIcon in the left pane of for example WMP11.AssocFile.MP3, then right click on WMP11.AssocFile.MP3, click on New and Key, type in DefaultIcon, and press Enter.

    8. Select either Method One or Method Two below for what type of icon you want to replace the default file extension icon with.




    Đổi icon trong Windows 7 OPTl Method One Đổi icon trong Windows 7 OPTR

    To Use Another Icon Included in Windows 7


    A. Download and install the same free 32-bit or 64-bit version of IconViewer as your 32-bit or 64-bit Windows 7 version. 
    NOTE: This program will add a Icons tab to files (ex: imageres.dll) that contain a icon library in them so you can see the icons available in it

    B. In Windows Explorer, navigate to C:\Windows\System32\imageres.dll and right click on imageres.dll, click on Properties, and click on the Icons tab.
    NOTE: You can use any of the Windows 7 files that include icons in them that you want though. This is just the most common one.

    C. Scroll through the icons and make note of the icon number of the one you want to use to replace the default file extension icon with, then close the properties window. (see screenshot below)
    NOTE: For example, icon number 1023.

    Đổi icon trong Windows 7 49207d1264139866-file-extension-icon-change-default-icon-icons 
    D) In the Modify window, type in (full path of the Windows 7 file with file extension),-#### and click on OK. (see screenshot below)
    NOTE: For example, I would type in the location exactly as below for what I used in B and C above.

    C:\Windows\System32\imageres.dll,-1023

    Đổi icon trong Windows 7 49208d1264139866-file-extension-icon-change-default-icon-modify
    E) Go to step 9.



    Đổi icon trong Windows 7 OPTl Method Two Đổi icon trong Windows 7 OPTR

    To Use a Saved Custom Icon of Your Own


    A) Create or download and save a icon (.ico file) of your choice to a location you wish to keep the icon stored at.
    NOTE: See the Note box at the top of this tutorial for about what kind of icon to use. Be sure to save the icon at a location (ex: C:\Users\Public) that can be accessed by all users. The icon must stay at this location for as long as it is being used for the file extension.

    B) In the Modify window, type in "full path of the icon file with file extension" and click on OK. (see screenshot below)
    NOTE: For example, If I I had a icon store on my Desktop name New Icon Location.ico, I would type in the location exactly as below. Just substitute with your icons full path and name with file extension in quotes instead.

    "C:\Users\UserName\Desktop\New Icon Location.ico"

    Đổi icon trong Windows 7 49209d1264139866-file-extension-icon-change-default-icon-modify_ico_file

    9. Close regedit.

    10. Log off and log on, or restart the computer, to fully apply the icon change.

    11. If this option did not work for you, then use OPTION ONE instead.
    That's it,
    Shawn
    Published by Brink
    22 Jan 2010


    sevenforum


      Hôm nay: 29th March 2024, 00:32