Run exe windows startup

How to make a Program run on startup in Windows 10

There may be some programs that you may want to always run on startup or boot. Let us say that the first thing you always do is fire up your browser and start browsing the web. Sure, when your Windows PC boots to desktop, you can always fire up your browser manually and enter the URL, but if you wish to make it auto-start, then you can easily make Programs, like say a Browser, run on startup automatically every time in Windows 10/8/7.

Make a Program run on startup in Windows 10

First, you want to check in the Program’s settings and see if there is a setting that allows you to make it run at every startup. If there is then it answers the question easily. If not, then there are three other ways you can do it. Let us take a look at them:

1] Place Program shortcut in Startup folder

The simplest way would be to place a shortcut of the Program in the Windows Startup folder.

The Current Users Startup folder in Windows is located at:

These programs start up for the current logged in user only. To directly access this folder, open Run, type shell:startup and hit Enter.

The All Users Windows startup folder is located at:

To open this folder, bring up the Run box, type shell:common startup and hit Enter.

You can add shortcuts to the programs you want to start with your Windows in this folder.

2] Add Programs to startup using freeware

While the built-in MSCONFIG or System Configuration Utility allows you to disable or delete startup entries, it does not allow you to add startup programs. There are many free tools that let you manage startup programs.

To add startup programs easily, you can make use of freeware like Chameleon Startup Manager or Quick Startup. Both are feature-rich startup managers that let you easily add startup programs along with their launch parameters.

3] Make Program run with Windows boot via Registry

You can make use of the Registry Startup Paths to add programs to start with every boot. You can use the Run and RunOnce registry keys to make programs to run each time that a user logs on or run just once.

The registry keys are located here. They are for Current User and for All Users – Run every time or run just once:

Читайте также:  Что для планшета android или windows phone

You can read more about this on MSDN.

4] Use Task Scheduler to make programs run at startup

You can create a Basic Task Wizard using Windows Task Scheduler to make a program start at boot every time, by using the When the computer starts option as the Task Trigger.

PS: This post will show you how to open Windows Store apps on startup.

Manage the Programs Run at Windows Startup

You can automatically start programs whenever Windows launches. If you have programs automatically starting that you have not loaded then you can remove them using this tip as well.

Add a new startup application

Open your registry and find the key:

For each program you want to start automatically create a new string value using a descriptive name, and set the value of the string to the program executable.

For example, to automatically start Notepad, add a new entry of:

Remove a startup application

If you’re trying to remove a program and can not find it in the StartUp folder (usually C:\WINDOWS\Start Menu\Programs\StartUp), then it may be launching from one of the registry keys below. To remove it, delete the value associated with the program you want to remove.

[HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Run]
[HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\RunOnce]
[HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\RunServices]
[HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\RunServicesOnce]
[HKEY_LOCAL_MACHINE\Software\Microsoft\Windows NT\CurrentVersion\Winlogon\Userinit]

[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Run]
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\RunOnce]
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\RunServices]
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\RunServicesOnce]
[HKEY_CURRENT_USER\Software\Microsoft\Windows NT\CurrentVersion\Windows]

start

Starts a separate Command Prompt window to run a specified program or command.

Syntax

Parameters

Parameter Description
Specifies the title to display in the Command Prompt window title bar.
/d

Specifies the startup directory. /i Passes the Cmd.exe startup environment to the new Command Prompt window. If /i is not specified, the current environment is used. Specifies to minimize (/min) or maximize (/max) the new Command Prompt window. Starts 16-bit programs in a separate memory space (/separate) or shared memory space (/shared). These options are not supported on 64-bit platforms. Starts an application in the specified priority class. /affinity Applies the specified processor affinity mask (expressed as a hexadecimal number) to the new application. /wait Starts an application and waits for it to end. /elevate Runs application as administrator. /b Starts an application without opening a new Command Prompt window. CTRL+C handling is ignored unless the application enables CTRL+C processing. Use CTRL+BREAK to interrupt the application. [ [

. ]] Specifies the command or program to start.

Specifies parameters to pass to either the command or the program. /? Displays help at the command prompt.

Remarks

You can run non-executable files through their file association by typing the name of the file as a command.

If you run a command that contains the string CMD as the first token without an extension or path qualifier, CMD is replaced with the value of the COMSPEC variable. This prevents users from picking up cmd from the current directory.

If you run a 32-bit graphical user interface (GUI) application, cmd does not wait for the application to quit before returning to the command prompt. This behavior does not occur if you run the application from a command script.

If you run a command that uses a first token that does not contain an extension, Cmd.exe uses the value of the PATHEXT environment variable to determine which extensions to look for and in what order. The default value for the PATHEXT variable is:

Note that the syntax is the same as the PATH variable, with semicolons (;) separating each extension.

When searching for an executable file, if there is no match on any extension, start checks to see if the name matches a directory name. If it does, start opens Explorer.exe on that path.

Examples

To start the Myapp program at the command prompt and retain use of the current Command Prompt window, type:

To view the start command-line help topic in a separate maximized Command Prompt window, type:

Управление автозапуском программ в Windows 8

Сегодняшний экскурс посвящен различным способам автозапуска программ в Windows 8. С точки зрения особенностей управления автозапуском программ, в Windows 8 мало что изменилось по сравнению с предыдущими версиями Windows. Если вы виртуозно научились разбираться с тем, почему та или иная программа стартует при загрузке Windows 7, то можете считать себя и экспертом по автозагрузке Win 8. В ней действуют все те же принципы. Основное отличие – несколько обновленный интерфейс, заключающийся в особенностях Metro интерфейса. Мы вскользь уже касались темы автозагрузки программ в Windows в статье Автозапуск VPN в Windows 8, теперь рассмотрим эти и другие методики подробнее. Итак, существует следующие основные способы автоматического запуска программ в Windows 8:

  • Запуск с помощью групповых политик
  • Запуск программ планировщиком
  • Автозапуск программ с помощью реестра
  • Папка «Автозагрузка» (Startup)

Разберем все эти способы подробнее.

Автозапуск с помощью групповой политики

Откройте редактор групповой политики (в случае редактирования локальной политики безопасности нажмите комбинацию Win+ R, наберите gpedit.msc и Enter).

Перейдите в раздел User Configuration -> Administrative Templates -> System -> Logon.

Нас интересует политика Run these programs at user logon. Откройте ее и активируйте ее (Enable). Нажмите кнопку Show и укажите полный путь к исполняемому файлу программы, которую необходимо автоматически запускать при входе в систему. Если в автозапуск нужно добавить несколько программ, их нужно указать каждую в отдельной строке.

Указанные программы будут запущены при следующем входе в систему любого пользователя данного компьютера.

Аналогичная политика (Run these programs at user logon) есть и в разделе конфигурации компьютера Computer Configuration -> Administrative Templates -> System -> Logon. Отличий в данных политиках практически нет, единственный нюанс – программы, указанные в разделе Computer Configuration запускаются раньше, чем программы из пользовательской политики.

Запуск программ с помощью планировщика Windows

Еще один инструментом для автоматизации запуска программ при загрузке Windows 8 является планировщик задач Windows 8 (Task Scheduler). Открыть консоль управления планировщиком можно следующим образом:

Откройте пустую mmc оснастку, нажав комбинацию Win+ R и набрав команду mmc.

В появившемся окне выберите пункт меню File->Add/remove Snap-in. В списке на левой панели найдите и выберите пункт Task Scheduler и перенесите его в правую панель с помощью кнопки Add >. Укажите, что нужно управлять локальным компьютером (Local computer). Нажмите ОК.

В результате консоль управления планировщиком была добавлена в нашу оснастку. Создадим новое задание планировщика, для чего развернем элемент Task Scheduler Library (содержит список всех пользовательских заданий). Создадим новое задание планировщика (Create Task):

На вкладке General укажем имя задания (например, AutostartFar). На вкладке Triggers зададим условия выполнения задания. Нажмите кнопку New в открывшемся окне укажем, что задание запускается при входе (“At log on”). Нажмите ОК.

На вкладке Action укажем действие, которое должно выполнить это задание планировщика. Выберем тип действия Start a program и полный путь к программе (поле Program/script).

По сути, на этом настройка закончена (если интересно, можно изучить и другие параметры создаваемого задания планировщика). При следующем входе пользователя в систему планировщик автоматически запустит указанную программу.

Автозапуск программ в Windows 8 с помощью реестра

В Windows 8 программы в автозагрузку можно добавить путем прямой модификации реестра. В предыдущих версиях Windows список программ автозагрузки можно было просмотреть с помощью системной утилиты msconfig. Запустим утилиту, нажав комбинацию Win+R и набрав msconfig. В открывшемся окне перейдите на вкладку Startup. Как вы видите, вкладка пустая и содержит информационно сообщение, что управление автозагрузкой находится в секции Startup диспетчера задач Windows (Task Manager).

Перейдем на соответствующую вкладку диспетчера задач.

На вкладке отображен список элементов автозагрузки в формате: имя программы, разработчик, статус автозагрузки (включен/отключен) и новая колонка Startup impact (позволяет понять насколько указанная программа использует ресурсы системы при запуске, т.е. по сути показывает насколько та или иная программа потребляет системные ресурсы, замедляя тем самым загрузку компьютера). Здесь же, с помощью правого щелчка мыши, можно включить или отключить автоматический запуск той или иной программы (Disable/Enable).

Список программ автозагрузки хранится в двух ветках реестра.

  • HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run – определяет программы, автоматически запускаемые при входе любого пользователя
  • HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Run – список автозапуска для текущего пользователя

Чтобы добавить в автозагрузку свою программу, откройте редактор реестра (regedit.exe) и перейдите в ветку: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run. Создадим в данной ветке новый параметр типа строка REG_SZ.

Укажите имя параметра, а в качестве его значения задайте полный путь к исполняемому файлу, который нужно запускать при загрузке компьютера (если пусть содержит пробелы или русские буквы, его нужно взять в кавычки).

Если вернуться на вкладку Startup диспетчера задач, мы увидим что появился новый элемент автозагрузки, только что созданный нами.

Папка Startup (Автозагрузка)

В профиле каждого пользователя есть специальная папка Startup (раньше, если вы помните, она называлась «Автозагрузка»), ярлыки программ в которой автоматически запускаются при входе пользователя в системы. Этот каталог находится по следующему адресу C:\Users\root\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup (где root — имя вашей учетной записи). Быстро перейти в папку Startup можно, набрав команду:

Соответственно, папка с автозагрузкой для всех пользователей системы — C:\ProgramData\Microsoft\Windows\Start Menu\Programs\StartUp, команда для быстрого перехода в нее:

По-умолчанию папка пустая. Если в открывшуюся папку перенести ярлык любой программы – она станет автоматически запускаться при старте Windows 8.

Как вы, наверное, уже успели понять, автозапуск программ в Windows можно реализовать множеством различных способов. Это означает, что отследить почему при запуске компьютера запускается та или иная программа – задача достаточно сложная даже для опытного пользователя. Одной из лучших утилит, позволяющей разобраться с программами, запасающимися при загрузке компьютера является Autoruns от Марка Русиновича (ex. Sysinternals).

Читайте также:  Офисный пакет windows office лицензия
Оцените статью