autorun batch file usb


  1. s00
    Posts : 13
    10
       #1

    autorun batch file usb


    I want run a bat file from usb stick while inserting it
    plz help me
      My Computer


  2. Posts : 5,478
    2004
       #2

    autorun.inf has been disabled on usb stick since at least Windows 7 for security reasons

    There are programs you can install on your PC to monitor your USB port and then do something like this Leelu Soft: APUSB 47 1.0

    Alternatively you could make a batch file like this on your PC and run it when you insert a USB. Batch File for AutoRun.inf - Stack Overflow

    If you are trying to write something to run on any PC then there is no legitimate way of doing it - it will not work as this functionality was disabled to stop spreading malware.

    It might help a bit if you explained what you are wanting to do. What you want to run, on what PC, whether you want to run something when a specific USB is inserted or when any USB is inserted (a very bad idea imo).
      My Computer


 

  Related Discussions
Our Sites
Site Links
About Us
Windows 10 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 12:31.
Find Us




Windows 10 Forums