Skip to main content

Questions tagged [autorun]

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

Filter by
Sorted by
Tagged with
1 vote
1 answer
122 views

Using an autorun script to drive a USB drive to a folder in the user folder

I would like to automatically mount my USB drive to a folder in the user directory when I put it in any Windows machine. Is there any way to do this? The end result should be the exact same as ...
K1ll3rM's user avatar
  • 11
0 votes
1 answer
562 views

How can I find out what is causing cmd.exe to be called on startup?

Lately I've noticed that every time I boot up my computer a cmd window pops up trying to open some long-uninstalled software. I was able to use Procmon to find out what the actual commands being ...
cvdx's user avatar
  • 1
2 votes
0 answers
421 views

Delete the autorun key from the command processor in the registry

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\...
Mateo López Torres's user avatar
0 votes
1 answer
531 views

How to re-enable drivers on not bootable Windows 10?

I have used Sysinternals Autoruns and disabled some intel drivers from autorun (similar to msconfig), after which my Windows 10 instance won't boot (blue screen) and Win 10 Install USB can't autofix ...
Some_Dud's user avatar
0 votes
1 answer
268 views

Auto type in Powershell

I wanted my computer to auto-type every x number of seconds. I have this script but I can't get this to work: param($minutes = 180) $myshell = New-Object -com "Wscript.Shell" for ($i = 0; $...
Brad Summers's user avatar
1 vote
0 answers
5k views

How to execute autorun.inf Manually

I have an ISO file (I'm using Widows 10) that I mount as a drive, and it has an autorun.inf file. How can I make windows run the script in it, so I don't have to open it in Notepad, see what it is ...
Cerike's user avatar
  • 117
0 votes
0 answers
224 views

Powershell Running Automatically In Admin Mode

For a few days now, a Powershell window pops up, and runs in administrator mode. I have no idea why. I have tried checking if any Windows Services were edited around the date this started happening. ...
VS228's user avatar
  • 1
0 votes
1 answer
747 views

How to delete WOW64 related entries with Autoruns?

I have the following entries in Autoruns, but can't delete them because of access denied error What are them and how to force? Am running Autoruns as administrator.
Dims's user avatar
  • 13.1k
1 vote
1 answer
95 views

Adding custom text after portable USB drive letter

Kinda fancy question, but how can I add custom text after portable drive letter name? My DVD has the following name pattern: Label (DriveLetter:) CustomText But my other USB portable drive has: ...
kubinka0505's user avatar
0 votes
0 answers
576 views

"This PC" window opens automatically after login

Every time I boot my laptop "This PC" window opens. I downloaded Autoruns unchecked all the entries on the Logon tab. I checked in Settings - Personalization - Start - 'Choose which ...
Johnny's user avatar
  • 111
0 votes
0 answers
342 views

How to automatically transfer folder(or file) from USB to PC with autorun?

I'm trying to create simple command that will automatically copy specific folder from USB when its pluged in to desktop.
Zec's user avatar
  • 1
0 votes
1 answer
1k views

Autorun program hidden from Task Manager

Is there are way to Autorun an executable on Windows at system startup, using the registry, or anything else which hides the start entry from the Task Manager?
George Autry's user avatar
1 vote
3 answers
7k views

What command line options do I use to open VLC, play a single video and then close?

I'm building an autorun menu in Compact Autorunner to open a series of training videos on a USB stick to send out to sites with unreliable net connections. The idea is that the users will click the ...
Andrew Perry's user avatar
-2 votes
2 answers
9k 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 ...
user avatar
5 votes
1 answer
4k 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?
heilo's user avatar
  • 89
0 votes
1 answer
857 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 ...
alper's user avatar
  • 200
1 vote
2 answers
657 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 ...
stackuser1999's user avatar
0 votes
1 answer
9k 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
fhackery420's user avatar
2 votes
1 answer
218 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\...
Stefan's user avatar
  • 31
1 vote
2 answers
2k 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 ...
Arctiic's user avatar
  • 1,258
1 vote
1 answer
3k 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),...
McFly's user avatar
  • 85
0 votes
1 answer
1k 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)
lat94's user avatar
  • 101
4 votes
1 answer
31k 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 ...
Gonçalo Peres's user avatar
1 vote
1 answer
250 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 ...
Filippo Scaramuzza's user avatar
2 votes
1 answer
12k 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\...
blackjesus's user avatar
0 votes
0 answers
8k 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 ...
Natiya's user avatar
  • 259
0 votes
0 answers
382 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 ...
Germán Infiesta's user avatar
1 vote
1 answer
3k 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=...
Mr. Naps's user avatar
0 votes
1 answer
1k 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 ...
Luke's user avatar
  • 1
1 vote
1 answer
122 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 ...
D. Zaradny's user avatar
0 votes
0 answers
486 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 ...
Bruno Adriano's user avatar
1 vote
1 answer
2k 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. ...
Tohny.Johnson's user avatar
2 votes
1 answer
573 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, ...
Henrik Jensen's user avatar
1 vote
1 answer
10k 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 ...
voices's user avatar
  • 2,871
0 votes
1 answer
3k 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 ...
Edgard Knive's user avatar
0 votes
1 answer
5k 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] ...
F.Ahmed's user avatar
  • 113
0 votes
1 answer
83 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-...
testuser's user avatar
  • 115
1 vote
0 answers
1k 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 ...
ThunderFrame's user avatar
  • 1,085
0 votes
0 answers
215 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 ...
Bardia225's user avatar
0 votes
1 answer
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, ...
M.Brbr's user avatar
  • 149
1 vote
1 answer
3k 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 ...
Tag's user avatar
  • 133
1 vote
1 answer
128 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, ...
Саша Черных's user avatar
1 vote
1 answer
4k 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 ...
fritzmg's user avatar
  • 539
36 votes
1 answer
17k 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 ...
Black's user avatar
  • 8,361
0 votes
2 answers
397 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 ...
krs000's user avatar
  • 1
0 votes
2 answers
3k 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 ...
Piotr Zurek's user avatar
1 vote
2 answers
1k 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 ...
kognise's user avatar
  • 171
1 vote
1 answer
736 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, ...
Hashim Aziz's user avatar
  • 13.4k
0 votes
1 answer
2k 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 ...
Sumit Patil's user avatar
0 votes
0 answers
2k 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 ...
Edward Nunn's user avatar