Windows 10: Start a program from USB

  1.    01 Dec 2017 #1

    Start a program from USB

    I would like to start automatically a program o script when i plug-in an USB even if the user is not logged (ctrl+alt+canc screen).

    Autorun doesn't work.

    Is there a way to do it?

      My ComputerSystem Spec

  2. TairikuOkami's Avatar
    Posts : 3,413
    10.6 Home 1809 x64
       01 Dec 2017 #2

    epulone said: View Post
    I would like to start automatically a program o script when i plug-in an USB even if the user is not logged (ctrl+alt+canc screen).
    You can create a task "at startup" or even better with"on an event".
    You just have to figure out, which event it is related to. Like this:
    Find the event you want - When I plugged an USB mass storage device it triggered the following events (under application category): 20001, 20003, 7036 and a few other less relevant. Make sure you test those events against other USB devices events to avoid false positives.
    windows - Starting scheduled task by detecting connection of USB device - Super User

    For the reference, this is for logged users: AutoRunnerX/U - USB Autorun for Portable Apps
      My ComputerSystem Spec

  3.    01 Dec 2017 #3

    Hi there.

    it can be done via so called "Portable apps" - however these could be considered a security risk and some businesses won't allow people to connect external USB devices unless encryption is enabled.

    The main advantage is that no registry settings are done or "C" drive not written to.-- most corporate computers also are in Lockdown so users can't install their own programs and often the "C" drive is locked against write as well..

    There are a few portable apps out there so Google a bit more for what you want to see if someone has already created one you want.

    Here's a place to start with --- note ensure you aren't using pirated software or breaking EULA by using these. - Portable software for USB, portable, and cloud drives

      My ComputerSystem Spec


Related Threads
I have an old programme I like called Desktop Secretary that I am using With Windows 10. Its being run in compatibility mode for Vista SP2. The built in option to run on startup does not work for Win 10 so I am using Task scheduler to make it run...
Guys, I was just forced at work to change my beloved Win 7 box to Win 10 spyware as a service. One aspect of Win 10 that I cannot figure out is how I can access Properties for the programs that I have added to the Start Menu. In Win 7, if I...
Solved Edit: Did not find a fix and performed clean install by wiping drive and recovering from backup. Currently cannot run any .exe , trying to do so will prompt the message "The program can't start because C:WINDOWS\SYSTEM32\combase.dll is...
For some reason, I cannot pin Civilization 4: Beyond the Sword to my Start menu. I am 100% sure that it is not already pinned, and I even tried making a shortcut to the executable and pinning that, but it didn't work either. The location of the file...
I recently updated my 4 year old acer laptop to win10. I have a calender program called "windates" I placed a short cut in the system startup folder but the program does not start when I boot up my laptop. I did put a short cut on the desktop which...
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 17:53.
Find Us