Why are my Drive icons not working with Autorun.inf Solved

  1.    25 Oct 2016 #1

    Why are my Drive icons not working with Autorun.inf

    Hello fellow Windows 10 likers,

    I've customized my Win10 from the start, and I've used an AUTORUN.INF file to have a custom drive icon for most of my drives in 'This PC'.
    This is an (old) example of this:
    Click image for larger version. 

Name:	11.png 
Views:	3 
Size:	45.6 KB 
ID:	107489

    But since a week or so -maybe because of an update or something- the drive icons are not custom anymore.
    They have the 'stock look' again:
    Click image for larger version. 

Name:	1.PNG 
Views:	1 
Size:	25.0 KB 
ID:	107490

    The AUTORUN.inf file is still there in every drive WITH the right icon, yet it does not seem to work anymore.
    This is in the D:/ Drive:
    Click image for larger version. 

Name:	2.PNG 
Views:	5 
Size:	284.7 KB 
ID:	107491
    (the folders still do have a custom icon, but that works differently)

    Also the J drive (picture 2) is an USB and had an ICON and NAME too, they dont pop up anymore either.

    Does anyone have a clue what to do to get my custom icons for my drives / partitions back?
      My ComputerSystem Spec

  2.    27 Oct 2016 #2

    Hi, I can only comment on the first point.

    Each major build upgrade (and potentially in updates) all Windows files are replaced. So any - such as imageres.dll- that have been hacked/customised will be changed.

    The same applies if you do an in-place upgrade repair install.

    I apply my custom icons using a program- thus I only have to run that to prepare a customised version of imageres.dll once per new major build, and copy that manually into the relevant folder should it be necessary.
      My ComputersSystem Spec

  3. pepanee's Avatar
    Posts : 1,138
    Windows 10 Professional
       28 Oct 2016 #3

    Not sure if this would do it, but maybe resetting the icon cache?

    Icon Cache - Rebuild in Windows 10 - Windows 10 Forums
      My ComputerSystem Spec

  4.    30 Oct 2016 #4

    Just to be clear:
    I use a 'autorun.inf' file with this in it:
    And there is a blackdrive.ico in the same directory.

    I use to read the autorun.inf file automatically and change the ICON of the drive accordingly,
    but now my PC does not do this anymore.

    Today I've tested a USB-stick (a Windows 7 installation USB) that has a certain ICON (thats loaded with autorun.inf like usual.
    I've put it in my laptop; no problem
    Click image for larger version. 

Name:	Untitled.png 
Views:	5 
Size:	229.3 KB 
ID:	108223

    Then I put the USB-stick in my PC, and there is no icon:
    Click image for larger version. 

Name:	Naamloos.png 
Views:	3 
Size:	480.4 KB 
ID:	108224
    (also the D drive, the X drive, the C drive and the P drive should have custom icons)

    Anyone have a clue what to do?

    I've tried the 'Resetting of the icon cache', did not help
    I've removed and repasted the autorun.inf and changed the names, did not help
      My ComputerSystem Spec

  5.    17 Nov 2016 #5

      My ComputerSystem Spec

  6.    17 Nov 2016 #6

    I just tried it on 10 Pro 14393 build with autorun.inf like this:
    label=This is a USB

    It works (with and without label) on internal drives, external USB and SD card. I can't help therefore but the functionality isn't gone.

    Click image for larger version. 

Name:	Capture.PNG 
Views:	1 
Size:	57.0 KB 
ID:	110363
      My ComputerSystem Spec

  7.    17 Nov 2016 #7

    I ad my drive icon customization with a registry key added into the registry the key local is HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\DriveIcons
    Create a key with the drive letter then in it a key named DefaultIcon with the path of the icon, as below

    Windows Registry Editor Version 5.00[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\DriveIcons\C][HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\DriveIcons\C\DefaultIcon]@="%SystemRoot%\\\\ICL\\\\goof.ico"
      My ComputerSystem Spec

  8.    17 Nov 2016 #8

    Cheers people!
    Thanks for the tip and thanks for letting me know the functionality should not be gone!

    I think something is broken in my system.
    Will reinstall Win10 somewhere begin 2017 and I'll see if I have the same problem.
    If so ill use the registry key trick!
      My ComputerSystem Spec

  9.    14 Jan 2017 #9

    Ok. Don't want to reinstall my (except for drive icons) perfectly working Win10
    So I used the register trick:
    1. Go to register to:
    (if DriveIcons don't exist yet, make this key)
    2. Make a new key here per drive and call the key the letter (example: D)
    3. Make a new key in this letter and name this key 'DefaultIcon'
    4. Change the value of the string here to the path of the icon you want for this drive letter
    5. Done

    Example of how it can look like:
    Click image for larger version. 

Name:	Regedit example.PNG 
Views:	6 
Size:	52.8 KB 
ID:	117115

    Ok, Solved for me!
      My ComputerSystem Spec


Related Threads
autorun batch file usb in General Support
I want run a bat file from usb stick while inserting it plz help me
In autoplay settings, i have the list of each device i connected so far. How do i remove them?
Panda USB and AutoRun Vaccine in AntiVirus, Firewalls and System Security
I have Windows Defender on my computer...would installing Windows Defender offline help to scan flash drives for any threats? Thank you paulofeastman
I'm wondering if there's a way to do this... I set the Group Policy setting "prevent AutoPlay from remember user choices" - that way I get the prompt asking what I want to do when I plug in devices. However, since they changed the prompt...
Autorun.dll is corrup or missing in Installation and Upgrade
I have the erorr autorun.dll is missing or corrupt when trying to load setup for windows 10 technichal preview upgrade iso I have ran a chdsk /r and sfc/scannow and neither have detected any missing files I also ran an AV scan with no luck
Our Sites
Site Links
About Us
Windows 10 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 13:33.
Find Us