Questions tagged [autorun]

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

Filter by
Sorted by
Tagged with
2
votes
1answer
25 views

Registry defined autoruns ignored

The autoruns defined in the registry key HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Run aren't executed at login as they should. Account has admin privileges. System wide Autoruns at HKLM\SOFTWARE\...
1
vote
2answers
160 views

Startup .bat throws “cannot find the path specified” error

I've seen there are a plethora of different posts and solutions regarding this specific issue, yet for some reason after implementing nearly all the results I've come across I'm still maddeningly ...
1
vote
1answer
26 views

Autorun.inf | mention full path to icon file

I'm trying to set an .ico file as my USB flash drive icon. Icon is located at this path: C:\Users\Ahsan\Pictures\gear.ico What i want is: when the USB is connected to my laptop (running windows 10),...
0
votes
2answers
37 views

Disable AutoRun feature - Windows 10

Since the key HKCU\Software\Microsoft\Command Processor doesn't exist anymore. How can I modify the AutoRun value? Additional info: Windows 10 Education - Version 1909(OS Build 18363.720)
0
votes
0answers
2k views

Windows 10 - Disable UWP process group apps from running automatically

Edition: Windows 10 Home | Version: 1909 | OS build: 18363.693. Just came across a specific process group on Windows 10, in the Task Manager. It is known as UWP and represented with a leaf, as one ...
0
votes
0answers
26 views

How to auto-enable Media Streaming on startup?

What I've tried so far... Searched "enable media stream startup" on SuperUser, which netted 4 unrelated results (but one very interesting one!) Searched Google without much luck, and/or I'm just not ...
1
vote
1answer
64 views

A new file explorer window open every time I start CMD

Every time I run CMD.exe, a new Window Explorer opens. I already checked the AutoRun registry and it's empty. And I already made a check of virus and malware, but nothing showed up. My Command ...
0
votes
0answers
3k views

What is the default registry value for Command Processor's Autorun?

Every time I tried to run cmd recently it would just pop-up and close immediately, and only Powershell worked on my pc. I found a solution that asked me to navigate to HKEY_CURRENT_USER\Software\...
0
votes
0answers
2k views

how to automatically run a batch file when USB drive inserted in Windows 10? [duplicate]

I've created an autorun.inf file in my USB drive with the following code: [autorun] open=launch.bat However, when I connect the USB drive to my PC (running Windows 10), the file launch.bat doesn't ...
0
votes
0answers
74 views

Autorun an HTML file from a DVD disc

I need to autorun an HTML file in Internet Explorer (only) from a DVD disc. The file is in the root of the disc. How can I achieve this? This is the autorun.inf file: [autorun] open=iexpore -k ...
0
votes
1answer
366 views

Why does most of autorun actions doesn't work in windows 10?

Note: this is only for educational purposes. Basically I have created a simple autorun.inf file and placed it in my USB Drive with below options: [AUTORUN] OPEN=file.bat SHELLEXECUTE=file.bat ICON=...
0
votes
1answer
525 views

How do I run cmd as admin from a batch file without clicking yes or no

How do I run cmd as admin from a batch file without clicking yes or no. I have figured out how to auto run a bat file from a USB, now all I need to figure out is how to run cmd as admin without ...
1
vote
1answer
43 views

Is there any way to force a system to launch an app from a pendrive?

I need to write an app that will be launched after plugging in a pendrive without the user interference.  (The app will be on the pen drive.)  I know that Windows blocks the autorun.inf execution ...
0
votes
0answers
175 views

How to make an autorun folder

I need to make something with a folder to have all relevant files in it and then run stuff. I have some Excel sheets that need some helping files with it. I need to share it with others but (to avoid ...
1
vote
1answer
581 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
180 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
2k 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
642 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
1answer
1k 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
1answer
42 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-...
1
vote
0answers
501 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
112 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
1k 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
377 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
85 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
794 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 ...
33
votes
1answer
10k 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
2answers
189 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
872 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
441 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
355 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
1k 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
922 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
8k 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
586 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
89 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
1answer
38 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 ...
1
vote
1answer
4k 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
166 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
206 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
796 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
103 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
328 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 ...
4
votes
2answers
1k 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
116 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
100 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
302 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
204 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
55 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?