Заметки сисадмина » How to add a program to startup (автозагрузка) Windows Server?

Заметки сисадмина о интересных вещах из мира IT, инструкции и рецензии. Настраиваем Компьютеры/Сервера/1С/SIP-телефонию в Москве

How to add a program to startup (автозагрузка) Windows Server?

To configure Notepad to run when any user signs in to a specific computer:

1)Edit the following group policy:

Computer Configuration > Administrative Templates > System > Logon > Run These Programs at User Logon

2)Type the full path name of the program. In this example, type the following path name:

To configure Notepad to run when a specific user logs on (regardless of the computer he or she uses):

1)Edit the following group policy:

User Configuration > Administrative Templates > System > Run These Programs at User Logon

2)Type the full path name of the program.

Old metod:

open run command (Winkey+R)
type:

This will open a window in the otherwise hidden AppData path for the Startmenu/Programs/Startup -> Add a shortcut to the executable for the program you want to start.
This will of course only apply to the logon account that you’re using at the time.

For all users type:

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

Autostart for currently logged-on user:

shell:startup = %appdata%\Roaming\Microsoft\Windows\Start Menu\Programs\Startup

And startup folder all users:

shell:common startup = %programdata%\Microsoft\Windows\Start Menu\Programs\Startup

Leave a Reply