Questions tagged [autorun]

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

Filter by
Sorted by
Tagged with
0
votes
1answer
43 views

Can computer get virus while on login screen?

Let’s say that computer is turned off and someone turns it on and the login screen shows up. If the person inserts malicious pendrive with autorun.inf while on login screen, will the computer get ...
-2
votes
2answers
35 views

Inserting USB with autorun.inf

If i don't have autoplay on, but i still open folder to view files of that USB stick, will the autorun.inf file be executed anyway with autoplay option disabled? Does autorun.inf only gets executed ...
5
votes
1answer
500 views

What’s the difference between autoplay and autorun?

Does autoplay in settings>devices is the same thing as autorun that allows programs with autorun.inf on USB stick to install automatically?
1
vote
1answer
77 views

Is it possible to autostart a VMware virtual machine in Windows boot

In Windows; I am using VMware Workstation 16 Player non-commercial version that has anUbuntu Instance. When Windows booted, I want my Ubuntu Instace to start running automatically as well. Is it ...
1
vote
2answers
139 views

Why is it that a tool like sysinternals Autoruns might not know the location of a startup?

From the help file for autoruns: Note: before you send e-mail reporting what you believe to be an auto-start location that's overlooked by Autoruns, please make sure that Autoruns doesn't cover it and ...
0
votes
0answers
12 views

Automatically run an admin shortcut for every user on startup

I created a shorcut that basically calls openvpn-gui.exe --connect Client.ovpn, using the "Execute In" field so the shortcut can be used from anywhere. It works fine when it is manually run ...
0
votes
1answer
1k views

automatically runs shell script at startup (Kali Linux)

how can i auto run or auto start bash script after rebooting? here is my simple script: #!/bin/bash sleep 1 && xtrlock the script basically locks my screen and mouse but not my keyboard
2
votes
1answer
35 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
218 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
58 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
113 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)
2
votes
1answer
12k 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 ...
1
vote
1answer
124 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
1answer
4k 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
5k 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
97 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
1k 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
583 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
45 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
294 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
881 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
260 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
3k 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
956 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
2k 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
47 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
595 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
143 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
2k 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
730 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
104 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
2k 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
12k 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
212 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
1k 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
676 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
383 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
1k 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
10k 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
598 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
96 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 ...
2
votes
1answer
5k 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
190 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
308 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
1k 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
113 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
376 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 ...