1.    15 Sep 2016 #1
    Join Date : Dec 2015
    Posts : 13

    autorun batch file usb

    I want run a bat file from usb stick while inserting it
    plz help me
      My ComputerSystem Spec
  2.    15 Sep 2016 #2
    Join Date : Jul 2015
    Posts : 3,941
    10 Pro

    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 ComputerSystem Spec


Similar Threads
Thread Forum
Batch File Help
I've never dabbled much in batch files, as I've usually been able to find pre-made ones to do what I wanted. We have an application that handles user data backups. It has three services, and at times, one or two of the three don't start...
Software and Apps
How to change visual effects using batch file or registry file?
Hi there forum, how do you change the Visual effects using a batch file or registry file. Thanks, Edward.
General Support
Can't download batch file
Can't download batch file "10services_default.bat" to solve windows 10 start menu problem.
General Support
Solved Writhing Batch File
Here is my batch file but it will not delete the file? Must be missing something :( del "C:\Users\Larry\AppData\Local\TractorParts\tractor\ConfigSetting" Trying to delete the ConfigSetting File
General Support
App doesnt open through a batch file
Chaps... I have a desktop running with a few apps 24/7 feeding to a network, on the rare occasion it drops or restarts due to some update or power outage I thought I could write a simple batchfile just to restart everything automatically. ...
Software and Apps
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 01:00.
Find Us
Twitter Facebook Google+ Ten Forums iOS App Ten Forums Android App

Windows 10 Forums