auto run (auto start)

 

 

 


Startup Folder

 

Path:

"%appdata%\Microsoft\Windows\Start Menu\Programs\Startup"

%appdata% => C:\Users\USERNAME\AppData\Roaming

 

# win10

1. Press windows key + r

2. Copy the run command

"Shell:common startup"

C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Startup

"shell:startup"

C:\Users\tim\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup

 

 


Regetry

 

HKLM\Software\Microsoft\Windows\CurrentVersion\Run
HKCU\Software\Microsoft\Windows\CurrentVersion\Run
HKLM\Software\Microsoft\Windows\CurrentVersion\RunOnce
HKCU\Software\Microsoft\Windows\CurrentVersion\RunOnce

 * The String value for a key is a command line no longer than 260 characters

-> New String Value

CTFMON.EXE

Run 與 RunOnce

RunOnce key is deleted before the command line is run.

prefix a RunOnce value name with an exclamation point (!) to defer deletion of the value until after the command runs.

Time to run

Run and RunOnce keys are run each time a new user logs in.

RunServices and RunServicesOnce are run in the background when the logon dialog box first appears or

at this stage of the boot process if there is no logon.

 


Win 10

 

Start button > then select Settings  > Apps > Startup

Or

Task Manager > then select the Startup tab

 

Creative Commons license icon Creative Commons license icon