Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [autorun]

The procedure of automatically invoking an appropriate application when a drive is mounted.

0
votes
0answers
11 views

Breaking a dominant Windows app on Windows Embedded startup/autorun [on hold]

I have have a scanner that runs on Windows Embedded Standard. Naturally it has the "normal" interface locked out with their program being the dominant running app and blocking any chance of getting ...
1
vote
1answer
41 views

Powershell Convert new files to tiff

I have a powershell script that I frankensteined together that looks at a folder for newly added files, then moves those files to another folder that then gets converted using ghostscript to a .tif. ...
2
votes
1answer
91 views

Is there an autoexit for cmd.exe like there is an autorun?

In windows when you create a value autorun in registry key HKEY_CURRENT_USER\Software\Microsoft\Command Processor and set it to, say, echo Hello from autorun, invoking cmd.exe will, on invocation, ...
0
votes
1answer
73 views

NoDriveTypeAutorun registry key missing from Windows 10

I want to add a few lines to a script with the capacity to enable/disable the Autorun feature. It's not a new concept. It's been covered countless times before, including here on StackExchange, and ...
0
votes
1answer
49 views

How can I create a autorun.inf for executables in subdirectory, with parameters, on windows 10?

I'm trying to configure autorun.inf on a DRIVE_REMOVABLE tagged USB flashdrive to run an .exe file from a subdirectory with parameters. So far I have had no luck using the information provided by ...
0
votes
0answers
69 views

Using autorun to automatically open vbscript

I want autorun.inf to change my USB icon and automatic open VBScript. Here is my first autorun (this one works fine) [autorun] Label=Faisal icon=System32.ico Here is my second autorun [autorun] ...
0
votes
0answers
40 views

Can I run two autoruns in the same folder?

Is it possible to place two autorun.inf files in the same folder. Every time I attempt to do this it converts the name into autorun(2).inf
0
votes
1answer
35 views

Why file content is not remain after unmount a drive in linux?

I wrote a script on bashrc.cmd from my windows 10 to activate my virtual environment automatically. I pointed the path of bashrc.cmd into AutoRun according to this post. bashrc.cmd @echo off CD dev-...
0
votes
0answers
52 views

How to make a .sh file autorun when added into a USB?

I am trying to make an autorun.sh file on my USB that will run on the USB when I plugged it in. I have followed this tutorial but when I get to the prompt "Are you sure you want to run the software?", ...
1
vote
0answers
120 views

How to change the icon for a BitLocker encrypted Drive Icon in Windows 10

I've followed several guides for changing the icon of a USB drive, but none of them seems to work. My drive is encrypted with BitLocker. I can't get the icon to use my .ico file regardless of whether ...
0
votes
0answers
78 views

How to run a batch or exe file when clicking to enter a drive or execute itself in windows

Although a batch file with executable commands could be run in different ways, I wonder if there is a way like making "autorun.Inf", which is disabled in windows,to run that "bat" or it's "exe" file ...
0
votes
1answer
371 views

How to block USB media on a Windows 10 machine?

I would like to block a USB device even if its drivers are installed on the computer. That is to say, I want to plugin the media and nothing happens so that a normal user is not allowed to see, write, ...
0
votes
1answer
71 views

Change default action for DVD drive

In File Explorer, when I right-click my DVD drive, "Install or run program from your media" is highlighted. When I double-click my DVD drive, it runs the executable specified in AUTORUN.INF. How do I ...
1
vote
1answer
62 views

Stop adding unwanted processes to autorun after program update

1. Summary I install program → I remove program/service of program from autorun → I update program → program/service in autorun again. How I can remove process from Windows autorun preventively, ...
0
votes
1answer
56 views

Removing an autorun application (in Windows 10)

I have installed Check Point Endpoint Security VPN on my Windows 10 (x64) machine. The software automatically loads on start up - which I do not want. However, the software is not listed in the task ...
0
votes
0answers
21 views

My application speed is low when run at linux startup

I have an embedded console application which creates with Qt,C++. I use nanopi fire (FriendlyARM) for my device with Linux arch. I connect it's gpio to relay for turn on and off the lamps of my room. ...
31
votes
1answer
5k views

Program starts with Windows even though it is not listed in autostart

I installed the vpn service from hide.me a couple of days ago. I noticed that it is starting with Windows every time so I removed it from autostart in the task-manager and restarted the computer to ...
0
votes
0answers
330 views

Permanently set drive letter for USB Hard Drive / Flash Drive in Windows

I want my ext HDs and flash drives to always assign same letters for them. I tried to use autorun.inf and shellexecute command to run cmd script. Unfortunately it is not working (any more?). I also ...
0
votes
2answers
144 views

Boot Windows XP or 7 directly into an application WITHOUT DISPLAYING ANYTHING OF WINDOWS (such as progress bar, “Welcome” screen, mouse cursor etc)?

Basically what I want to do is for Windows to load and then boot directly into an application in fullscreen mode, but before the application launches I want absolutely nothing of Windows to show. So I ...
0
votes
2answers
250 views

How to auto run a single file program silently

First of all, apology if this question has been already asked. I saw similar questions on the Internet but none of the answers work in my case. I look after a call center with 50 odd PCs (running ...
1
vote
2answers
205 views

Reboot into USB stick on insert

I would like to be able to insert a USB drive that, on insert, would reboot the computer into an operating system housed on the USB drive. The OS would be Linux-based. I would also like this to be ...
1
vote
1answer
235 views

How do I stop MediaMonkey from forcing itself as the device's default AutoPlay behaviour?

Whenever I plug my phone into my computer, MediaMonkey opens with it and starts to scan the device for music. The usual way to disable this behaviour is via the AutoPlay menu under the Control Panel, ...
0
votes
1answer
785 views

Outlook 2016 Run a script option missing

i tried to add my script to auto download attachments which were coming to me to a specific folder which will be further processed by Excel Macro. but i don't any option to add script in rules. May be ...
0
votes
0answers
600 views

Autorun a video on a USB drive running a portable copy of VLC

I have been working on a film project for a customer who wants me to deliver the content to his clients (all using Windows) on a number of USB drives. He wants me to set up the drive in such a way ...
0
votes
1answer
4k views

How to start any file on startup, hidden

I would like to be able to start a program on startup and hide it from my eyes, so I can't see it cluttering up my desktop.
2
votes
1answer
395 views

Can I make a program autorun from a flash drive?

I want to know if it is possible to put a program on a flash drive and use an autorun.inf file to set the program to run as soon as the drive is inserted and ready. I know how to do this for optical ...
0
votes
2answers
69 views

PHP cli is not running after reboot

To run PHP CLI on my centos virtualbox image I need to type source /opt/remi/php71/enable but after rebooting the machine the PHP CLI is down again and I need to do this again... In best case I ...
0
votes
0answers
1k views

Force USB Autorun on Windows 10?

I am trying to make an USB stick that - when plugged in - displays a stored HTML file using the default browser on the computer. I tried to achieve this by using the Autorun.inf file I have seen in ...
0
votes
1answer
30 views

Why does one of my USB drive always start auto scan for virus when I plug in, others don't?

I really don't want my USB drive to start auto scan for virus (which I can't even abort) every time I plug it into computer. My two other drives don't do that but this one drive always starts auto ...
0
votes
1answer
2k views

Disable autorun of clamav on debian distro

I have debian install on a machine with only 1gb of memory and clamav, that I have installed to run sometimes virus scan, is always in memory because of autostart, and take about 30% of total ram... ...
0
votes
1answer
110 views

How to Make an Autorun VCD with .exe files that automatically run videos in VCD palyers

I have an entertainment software that contains some videos to play I separated videos into a folder I want to make CD which can automatically run software on pc and also automatically run it's videos ...
4
votes
1answer
134 views

Is it possible to run a file as soon as an HDMI device is plugged in?

Almost everybody knows that if a USB has an autorun.inf file, it will be executed so that other files automatically load. But I was wondering, if this is also possible for HDMI cables. So, if you plug ...
0
votes
1answer
541 views

How do I autorun a file when a USB drive is inserted in another computer? [duplicate]

Some guy in my class shut my pc down while I was working on something. I want to get him back by automatically running a file after having inserted a USB in his USB port. The computers at our school ...
0
votes
1answer
90 views

Filter autorun programs on usb

I set my windows to start with my application instead of Explorer, and I disabled modifier Keys like Ctrl-Alt.., etc. so that the user can't use the PC outside of my startup application. I want to ...
0
votes
0answers
184 views

Run a batch file whenever a file in Dropbox is updated [duplicate]

I need to get a batch file which is stored on my Windows PC hard drive to automatically run whenever a file in one of my Dropbox folders is changed. How can I accomplish this? Note: The amount of ...
19
votes
2answers
3k views

2 exact copies of autorun.inf, one works one doesnt [duplicate]

I have two Autorun.inf files, the code inside them are exact same. But only 1 works, other one doesn't work. The one that work is copied from DVD, and i edited it. The one that doesn't work created ...
3
votes
2answers
644 views

Using an icon from Windows DLL in autorun.inf

I want to set an icon for my removable drive as an icon from a built-in Windows DLL using autorun.inf. Since Wikipedia's page on Autorun.inf shows that an icon can be taken from a DLL and used with an ...
2
votes
1answer
84 views

I want to make an Autorun for a DVD to recognize Win as x32/x64. Is that possible?

So I've got this program which a setup is designed for x32 systems and the other for x64. Do I need to create a program for that or can I simply make the Autorun.inf recognize which one should be ...
0
votes
1answer
83 views

How can I divide a USB storage device into two partitions and make one autorun a program?

I'm running Windows 7 and want to make my USB storage device run Keepass when I plug it in. I also want to use the remainder of the storage as a directory without all of the Keepass program files ...
0
votes
0answers
264 views

Creating a hybrid CD with Audio tracks + PC Windows application + Mac OS X application

I'm looking to create a hybrid CD with standard "red book" CD-Audio tracks (to be played in regular CD players) but also containing an application with two versions, for Windows and Mac OS X. I'm not ...
0
votes
1answer
169 views

running python program on startup in tty4

I want to setup program that will automaticly run in tty4 (if its possible, if not then can be run in any other tty) on system start. My python script is at /home/vakus/main.py I have no GUI, only ...
1
vote
0answers
42 views

Launch a .exe when a specific USB device is connected [duplicate]

I would like to launch a .exe when a specific USB device is connected (for instance a Akai LPK25 USB MIDI keyboard). Is there a simple way to do this with Windows?
0
votes
1answer
3k views

Can Windows CE 6 auto-run an application on an inserted USB stick?

By default, does Windows CE 6 auto-run applications found on an inserted USB stick? We are actually trying to make sure this does NOT happen, but the documentation we're finding is contradictory as to ...
1
vote
1answer
62 views

How to log application runs with as much detail as possible?

On windows I have Powershell program running every hour ( that is what I have noticed coming up on the Task Bar. I have tried to use Sysinternals Autostart and Process Explorer to capture what it is ...
2
votes
0answers
447 views

udev rule to auto-execute script

I want to create a udev rule to execute when my headset gets plugged in. Therefore I followed this Tutorial, but my rule doesn't seem to work. The output of udevadm monitor --environment | fgrep ...
1
vote
0answers
469 views

Adding an icon to a Truecrypt/Veracrypt volume

I used an external hard disk with an Autorun.inf file in the root directory to assign a label and an icon to the volume. But now I encrypted it with Truecrypt, and when I mount it, the Autorun.inf ...
0
votes
1answer
153 views

How to disable WMP media switching on CD insert?

I am sometimes listening to something on Windows Media Player while simultaneously batch-copying CDs with another program. When i insert a CD into the drive, WMP inexplicably stops whatever it is ...
1
vote
1answer
2k views

Program not launching from registry run key

I have a program which I install using an NSIS script. The final step in the installer is to write to the registry Run key and have the program run on startup. I've confirmed that under ...
0
votes
2answers
360 views

In Windows 8, what are all the ways a program can be made to auto start on logon?

Previously, I followed a blog post (that I've since lost the link to) to register a program to startup everytime I log onto my windows 8.1 VM. Now, I want to stop it from staring up. I don't see a ...
0
votes
1answer
2k views

Recommended value for NoDriveTypeAutorun? [closed]

The AutoRun feature of Windows can be controlled through the Registry by tweaking these values: Current User: HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer\...