You need an icon file (.ico) and an autorun.inf file to display a custom icon for your removable drive. You can download ticon files on Internet or you create one with an editor that can save images in .ico format. Once you have downloaded or created the icon file, you need to copy it on your removable drive. When you have done that, follow these steps to create the autorun.inf.
Displaying Custom Icon for Removable Drive in Windows 10
Step 1: Connect your removable drive to your Windows 10 computer.
Step 2: Open the removable drive using File Explorer.
Step 3: Create a new text file in removable drive.
Step 4: Rename the file autorun.inf.
Step 5: Click Yes to confirm renaming the file.
Step 6: Open the autorun.inf file and paste the following code.
[Autorun] Icon=icon-name.ico Label=drive-label
Step 7: Click File -> Save.
Step 8: Close the text editor.
Step 9: Select the autorun.inf and icon file.
Step 10: Right-click the selection and click Properties.
Step 11: Check the hidden option from attributes section to hide these files so you don't delete them accidentally.
Step 12: Click Apply.
Step 13: Click OK.