Jump to content



Recommended Posts

tu crées un fichier texte (.txt) dans lequel tu mets ceci :




Et tu le renommes en autorun.inf

Bien sûr tu renommes "setup.exe" par le chemin du prog que tu veux exécuter.

icon= c'est le chemin de l'icone que tu veux voir apparaître dans ton explorateur.

Link to comment
Share on other sites

Q: What must I do to trigger Autorun on my USB storage device?

If you need to make a USB storage device that executes Autorun, the following two conditions must both be true:

Media must be marked as removable.

The device can be set to either static or removable.

We associate the "removable" nature of a device with the bus that it resides on. This means that a disk on an Integrated Device Electronics (IDE) or SCSI bus would be considered fixed, whereas a disk on a USB or IEEE 1394 bus would be regarded as removable by default. PnP uses a bit in the DEVICE_CAPABILITIES structure to determine this. For more information, see the DEVICE_CAPABILITIES Plug and Play Structure in the Windows DDK, located at http://msdn.microsoft.com/library/default....h/k112_22r6.asp.

The "removable" nature of media is a property of the device. For example, in the case of a CD-ROM or a ZIP drive, the medium can be removed without the device itself going away, but on the other hand the medium and the disk cannot be separated on static storage PC cards. We obtain this information by using the StorageDeviceProperty request. For more information, see the STORAGE_DEVICE_DESCRIPTOR Storage Structure in the Windows DDK, located at http://msdn.microsoft.com/library/en-us/st...e/k306_00qa.asp.

Link to comment
Share on other sites

Heu bein oui, sa clef USB remplit bien toutes ces conditions, c'est comme quand tu graves un cd et que tu mets un autorun pour qu'il lance un menu et affiche une icone bien spécifique, un des premier virus était un autorun avec les infos pour niquer le win.ini de windows 3.1 :francais:



Puis tu avais sous kill.bat


del win.ini

Et au next reboot, plus de 3.1

C'est loin, me souvient plus tout à fait de la syntaxe.

Link to comment
Share on other sites


This topic is now archived and is closed to further replies.

  • Create New...