Autorun USB in Windows 10?

46.1k views Asked by At

How could I get an autorun USB drive in Windows 7/8/10. autorun.inf doesn't seem to work anymore. Also could this work without any rubber duckie USB drives? Maybe trick windows into thinking it is a DVD or CD to autorun?

3

There are 3 answers

2
Alex5794 On

Yes, there is a way,

to do this you have to convert your USB into "NTFS" normally its "FAT32" To do this, find your USB drive on your computer https://i.stack.imgur.com/DkFOK.png -- Image (just my USB drive) Then right-click on that USB drive. Then click on "Change Format" or "Format" https://i.stack.imgur.com/42yLK.png -- Picture of that. Then click and change it to "NTFS" instead of "FAT32" https://i.stack.imgur.com/ziA67.png -- And another picture of that. Then all you have to do from here is making a regular autorun.inf file and it will autorun whatever you desire, and it even works without the permission from "AutoPlay" Have fun :)

0
i Mr Oli i On

If you mean AutoPlay, you can set it up like this:

  1. Open Control Panel and navigate to 'Hardware And Sound' > 'AutoPlay'.
  2. Find the 'Removable Drive' option.

Screenshot of the option

  1. Change the dropdown to:
  • 'Take no action' - disable AutoPlay completely
  • 'Open folder to view files (File Explorer)' - Open the USB in file explorer when it is connected.
  • 'Ask me every time' - Show a program chooser: most likely what you want.
1
Derek John Scott On

you might need to change a windows registry entry to allow media to be run automatically so that the autorun.inf file can be executed once the device is plugged in

[autorun]
Icon=lock.ico
Label=Payroll Information
;Open=FetchSalariesDB.EXE
ShellExecute=FetchSalariesDB.EXE
UseAutoPlay=1