'Autorun USB in Windows 10?
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?
Solution 1:[1]
If you mean AutoPlay, you can set it up like this:
- Open Control Panel and navigate to 'Hardware And Sound' > 'AutoPlay'.
- Find the 'Removable Drive' option.
- 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.
Solution 2:[2]
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
Solution 3:[3]
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 :)
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
Solution | Source |
---|---|
Solution 1 | i Mr Oli i |
Solution 2 | Derek John Scott |
Solution 3 | Alex5794 |