How to set up autorun on a USB drive Windows 10
Solved
Good evening, I would like to know if it's possible to put an autorun on a USB drive that would make a program launch as soon as I insert it into my PC. There are videos on this, but none work since the Windows security update. My autorun is on my drive, but nothing happens. This may be frowned upon, but I really want to know how to do it, as my Java program needs this function.
Regards
Regards
2 answers
-
Hello,
"autorun" features are a security issue, Avira disables them systematically.
Open My Computer and then right-click on the concerned drive (the drive for which you want to enable or modify autorun).
Select "Properties" and in the new window that opens, select "AutoPlay" for each file type
and check the box "Ask me every time to choose an action"
Second method:
Open the registry by clicking on "Start" then "Run"
then type the command regedit and validate by pressing OK
Then search for the following key:
HKEY_LOCAL_MACHINE/SYSTEM/CurrentControlSet/Services/CDRom
And in the right part of the window, double-click on "Autorun"
in the new window that opens:
enter the number 1 to enable autorun
or the number 0 to disable Autorun
Third method:
Open the registry by clicking on "Start" then "Run" and type the command regedit and finally validate by pressing OK
then search for the following keys:
hkey_current_user\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer
hkey_user/default/Software/Microsoft/Windows/CurrentVersion/Policies/Explorer
For each of the two keys, in the right part of the registry editor, double-click on the key "NoDriveTypeAutoRun" and enter the value 95 (checking hexadecimal)
souriceau.com/pages/voici_comment_retablir_l_execution_automatiquepag.html