The USB flash drive icon does not change the easy way to change the icon.

  

Have you ever thought about your own USB flash drive icon? Why are you always seeing other people’s icons changed a few times? It’s strange why others can change the success icon. What is the change method, the following tells you the specific manual change method is:

1, copy the *.ICO icon file to the U disk;

2, create autorun under the U disk. Inf Notepad, enter the following red content as follows:

[autorun]

icon=*.ico

Then save;

3, in DOS command Execute the following two commands in the prompt window or in the run: (assuming the u disk drive is K)

attrib K:\\autorun.inf +r +h +s Give autorun.inf read-only, hidden, system Properties

attrib K:\\*.ico +r +h +s Assign *.ico read-only, hidden, system properties

Since then, pop the U disk and re-insert it, you will find The icon of the U disk has changed. If you plug it into someone else's machine, others will be envious of it.

4, if you want others to be unable to delete autorun.inf and *.ico, you can also use the following two commands, but only if your U disk format must be ntfs.

cacls k:\\autorun.inf /p everyone:n Prevents all users from accessing autorun.inf

cacls k:\\autorun.inf /p everyone:r Gives all users read autorun. Inf rights, except for write and delete rights

cacls k:\\*.ico /p everyone:n prohibits all users from accessing *.ico

cacls k:\\*.ico /p Everyone:r gives all users the right to read *.ico, except for write and delete rights

After the above settings, all users can only read autorun.inf and *.ico, but cannot modify or delete them. It can even prevent some low-level autorun.inf viruses from invading your USB flash drive. If you find that the U disk icon has changed, it means that you have autorun.inf virus in your 80%, and quickly disinfect your U disk and computer!

5. Delete the U disk icon: < Br>

cacls k:\\autorun.inf /p everyone:f gives all users full control over autorun.inf

cacls k:\\*.ico /p everyone:f gives all users *.ico's full control

OK, you can delete autorun.inf and *.ico from the USB flash drive, pop up the USB flash drive and re-insert it, you will find that the icon of the USB flash drive has changed back.

Although the USB flash drive is very often used, it will not be inserted on the computer all the time, so everyone like the icon rarely pays attention to how to change it, but if you have this intention, you can refer to this tutorial. , change your own icon.

Copyright © Windows knowledge All Rights Reserved