Programs Autostart - at login - Windows

 

There are several ways to make certain tools or programs run automatically every time you log on. For example, these can simply be moved to the Autostart folder: "Startup".

Autostart folder

The easiest way to start executable files or shortcuts at logon is to use the autostart-folder. To do this, copy programs or shortcuts into the folder: %appdata%\Microsoft\Windows\Start Menu\Programs\Startup, these will be executed automatically at every logon.

Local group policy

For Windows Professional editions, a local policy can be created:

Using group policy, scripts or executables in the "computer configuration" can be executed automatically when the PC starts or shuts down. System" is used here as the user.

In the user configuration, scripts can be stored for the login of the user, this is of course executed as the user who is logged in:

Enter in Regedit

A further possibility to execute commands when starting the computer is offered by the Windows Registry.

Commands in the following keys are executed at every user login, so they are valid for all users of the computer:

HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Run

HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\RunOnce

These commands are executed only for the currently logged-in user:
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Run
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\RunOnce

Keys with "RunOnce" are executed only once, while Run is executed every time the user logs on. See also: https://msdn.microsoft.com/en-us/library/windows/desktop/aa376977(v=vs.85).aspx

Task scheduling (scheduled task)

To do this, click on "Schedule tasks

"Create Basic Task ..."

and as trigger can be used e.g. "At logon" or by specifying a user: "At computer startup".

Show programs that start automatically:

In Windows 10/11, in the Task Manager:

The Task Manger can also be started, pressing Ctrl + Alt + Del and "Task Manager". Startup-Programs can be found in "Startup" and their Status can be set to "Enabled" or "Disabled"

positive Bewertung({{pro_count}})
Rate Post:
{{percentage}} % positive
negative Bewertung({{con_count}})

THANK YOU for your review!

Publication: 2023-02-14 from Bernhard | Übersetzung Deutsch |🔔 | Comments:0

Why? The requested operation requires elevated rights. | Windows | Create BATch file - CMD, BAT commands in Windows (DOS)

Top articles in this section


Windows : create a missing recovery partition

When cloning a large hard disk to a smaller one, I lost the recovery partition. So far not bad, Windows works without recovery partition, but in case of an error the partition helps to get the PC up and running again. To summarize, here's how it works with the recovery partition: As long as the partition is still there, it can be deactivated and written to a file. If the partition gets lost unexpectedly, it can be recovered from the Windows setup media. This post is also available as a video, se...


the 4 best tools to compare two text files

Anyone who frequently creates scripts or analyzes log files and handles different versions can compare them very quickly with the help of the right editor. 


install driver via command line cmd: inf

Windows drivers can of course also be managed via the command line. Microsoft offers two different tools for this purpose: The PnPUtil integrated in Windows and as part of the Windows Driver Kit (WDK) the command: devcon.

Questions / Comments


By continuing to browse the site, you agree to our use of cookies. More Details