1. Joined : Aug 2015
    Posts : 19
    Windows 10
       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:	4 
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 System SpecsSystem Spec


  2. Joined : Jan 2015
    UK, Midlands
    Posts : 6,225
    Win 10 Pro (1607)
       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 System SpecsSystem Spec


  3. Joined : Jul 2016
    Sunnyvale, CA
    Posts : 250
    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 System SpecsSystem Spec


  4. Joined : Aug 2015
    Posts : 19
    Windows 10
       30 Oct 2016 #4

    Just to be clear:
    I use a 'autorun.inf' file with this in it:
    [autorun]
    icon="blackdrive.ico"
    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:	2 
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:	2 
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 System SpecsSystem Spec


  5. Joined : Aug 2015
    Posts : 19
    Windows 10
       3 Weeks Ago #5

    Anyone?
      My System SpecsSystem Spec

  6.    3 Weeks Ago #6

    I just tried it on 10 Pro 14393 build with autorun.inf like this:
    Code:
    [autorun]
    icon=w.ico
    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 System SpecsSystem Spec


  7. Joined : Nov 2015
    Posts : 168
    Windows 10 Home
       3 Weeks Ago #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 System SpecsSystem Spec


  8. Joined : Aug 2015
    Posts : 19
    Windows 10
       3 Weeks Ago #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 System SpecsSystem Spec


 


Similar Threads
Thread Forum
autorun batch file usb
I want run a bat file from usb stick while inserting it plz help me
General Support
Reset the autoplay/autorun devices list
In autoplay settings, i have the list of each device i connected so far. How do i remove them?
Drivers and Hardware
Panda USB and AutoRun Vaccine 1.0.1.4
I have Windows Defender on my computer...would installing Windows Defender offline help to scan flash drives for any threats? Thank you paulofeastman
AntiVirus, Firewalls and System Security
Autorun Prompt - Possible to have Windows 7-like?
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...
Customization
Autorun.dll is corrup or missing
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
Installation and Setup
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 17:05.
Find Us
Twitter Facebook Google+



Windows 10 Forums