- Как запускать нужную программу при старте Windows
- Простой способ добавить программу в автозагрузку
- Шаг 1: Откройте папку автозагрузки Windows
- Шаг 2: Создайте ярлык в папке Startup
- Авто-запуск программы с правами администратора
- Автозагрузка программ в Windows 10 через реестр
- Добавление/удаление программы из автозапуска из реестра
- Включение/отключение автозапуска через Диспетчере задач
- Программа для управления авто-запуском
- How to make a Program run on startup in Windows 10
- Make a Program run on startup in Windows 10
- 1] Place Program shortcut in Startup folder
- 2] Add Programs to startup using freeware
- 3] Make Program run with Windows boot via Registry
- 4] Use Task Scheduler to make programs run at startup
- Run Batch File On Start-up
- 9 Answers 9
- Automatically run program on Windows Server startup
- 4 Answers 4
- How to start a python file while Windows starts?
- 9 Answers 9
Как запускать нужную программу при старте Windows
Некоторые программы Windows позволяют настроить себя так, чтобы они запускались при запуске Windows. Но такая возможность есть далеко не у всех программ. Однако запускать при старте системы можно абсолютно любую программу. Более того, при запуске можно открывать нужные папки или запускать какой-либо скрипт ( .bat ). Ниже рассмотрим как добавить программу в автозагрузку, а также как удалить программу из автозагрзуки Windows.
Простой способ добавить программу в автозагрузку
Все что нужно сделать — это добавить нужный файл (ссылка на основной .exe файл программы), папку, скрипт в папку Windows “Startup”. Для этого
- Нажмите Windows+R, чтобы открыть диалоговое окно “Выполнить”.
- Впишите в поле shell:startup, а затем нажмите Enter. Откроется папка Startup.
- Создайте ярлык в папке «Startup» для любого файла, папки или исполняемого файла приложения. Он откроется при запуске при следующей загрузке.
Этот метод будет работать с любой версией Windows, от Vista до Windows 7 и 8, и 10.
Шаг 1: Откройте папку автозагрузки Windows
Startup (автозагрузка) — это скрытая системная папка, в которую можно перейти в проводнике (при условии, что у вас включен показ скрытых файлов).
Технически эта папка находится по пути:
- Для отдельного пользователя:
C:\Пользователи\Имя_Пользователя\AppData\Roaming\Microsoft\Windows\Главное меню\Программы\Автозагрузка - Для всех пользователей:
C:\ProgramData\Microsoft\Windows\Главное меню\Программы\Автозагрузка
Однако совсем не обязательно открывать проводник искать где там эта папка находится, гораздо проще и быстрее использовать команду shell . С помощью этой команды можно открывать многие скрытые или специальные папки Windows, достаточно знать название папки.
Команду shell можно запускать прямо из диалогового окна Run .
Для этого нажмите комбинацию клавиш Windows+R, в поле ввода напишите shell:startup и нажмите Enter.
Шаг 2: Создайте ярлык в папке Startup
Теперь, чтобы запустить приложение, файл или папку вместе с Windows, нужно создать ярлык программы/папки в открытой папке Startup.
Давайте в качестве примера добавим в авто-запуск бесплатный почтовый клиент Thunderbird. Для этого нужно найти папку где находится программа. У меня она лежит в папке C:\Program Files (x86)\Mozilla Thunderbird .
Теперь нужно создать ярлык основного файла программы в папке Startup. Существуют различные способы создания ярлыков в Windows, но я поклонник супер быстрого метода «правого перетаскивания»: хватайте файл правой кнопкой мыши и удерживая её тащите в папку “Startup”. Когда вы отпустите кнопку, появится всплывающее меню с параметрами перемещения. Нажмите “Создать ярлык.”
При следующем запуске Windows приложение, файл или папка будут запущены вместе с ним.
Авто-запуск программы с правами администратора
Вариант 1
- Windows+R >Taskschd.msc. Или Пуск > Все программы > Стандартные > Служебные > Планировщик заданий .
- Создать простую задачу (кнопка в правом меню). Или Действия > Создать простую задачу.
- Откроется окно в котором настраиваем задачу:
- Вводим Имя задачи.
- Выбираем когда запускать: «При запуске компьютера».
- Выбираем какую программу запускать.
- Остальные настройки.
- После создания задачи, кликаем по ней два раза и в открывшемся окне свойств задания ставим галочку «Запускать с наивысшими правами».
- Готово!
Вариант 2 (не всегда работает)
Чтобы запускать программу как администратора по клику на иконку (ярлык), нужно установить соответствующую опцию этому ярлыку.
- Кликните правой кнопкой мышки по ярлыку и выберите пункт Свойства.
- В модальном окне нажмите кнопку Дополнительно.
- Поставьте галочку Запускать как администратор.
Автозагрузка программы с правами администратора
Автозагрузка программ в Windows 10 через реестр
Есть еще одно место, откуда Windows запускает программы — это раздел реестра Windows 10. Как правило этот раздел используется другими программами, чтобы добавить себя в авто запуск. Но мы с вами также можем добавлять или, что более важно, удалять от туда программы.
Для удаления автозапускающихся программ из реестра нужно нажать Win+R и там написать команду regedit. В открывшемся реестре перейти в одну из веток:
- Для отдельного пользователя: HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Run .
- Для всех пользователей: HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Run .
вверх
Добавление/удаление программы из автозапуска из реестра
Для удаления кликаем на ненужной программе правой кнопкой и жмем Удалить (Delete):
Для добавления кликаем правой кнопкой в пустом месте окна и жмем Создать > Строковой параметр:
После создания строкового ключа, на нем нужно кликнуть правой кнопкой и выбрать Изменить, далее нужно добавить пусть до файла программы которую нужно запустить:
Включение/отключение автозапуска через Диспетчере задач
Диспетчер задач Windows 10 содержит информацию какие программы запускаются при старте системы. Там же можно быстро включить или отключить программу из автозапуска. Добавить программу от туда невозможно.
Для управления нужно:
- Нажать Ctrl+Shift+Esc и перейти на вкладку Автозагрузка. В ней находится список программ и данные о них.
- Кликните правой кнопкой и включите/отключите авто-запуск.
Программа для управления авто-запуском
Для комплексного управления программами автозапуска есть хорошая программа:
Autorun Organizer (ссылка на сайт производителя).
Программа показывает сразу все точки автозапуска: папка автозапуска, реестр (пользователя и общий). А также показывает другую информацию о том как была запущена программа, сколько времени занял запуск и т.д.
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:
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.
Run Batch File On Start-up
Is there a way to start multiple programs in a batch file on system start-up? In addition to that, in that batch file, I would like to be able to say: Once I execute a program, wait until that program completely loads, and execute the next listed program.
Any help would be appreciated.
9 Answers 9
I had the same issue in Win7 regarding running a script (.bat) at startup (When the computer boots vs when someone logs in) that would modify the network parameters using netsh. What ended up working for me was the following:
- Log in with an Administrator account
- Click on start and type “Task Scheduler” and hit return
- Click on “Task Scheduler Library”
Click on “Create New Task” on the right hand side of the screen and set the parameters as follows:
a. Set the user account to SYSTEM
b. Choose «Run with highest privileges»
c. Choose the OS for Windows7
Automatically run program on Windows Server startup
I am trying to install an app on a windows server that is always on, but I am running into problems. I have heard that I should not make it a Windows service (and would personally rather have a dialog app so I can see progress, etc) so I am trying to use the task scheduler. However, the task scheduler keeps trying to close my app prematurely, when it should only open it and leave it open.
Any ideas how I could have a dialog app run on startup (and stay running) on my server?
4 Answers 4
You should make a Windows Service; it’s the only reliable way to do this.
Otherwise, you will run into problems if, for example, the user logs off.
If you want UI, you can make a separate GUI that communicates with the service (probably using WCF).
You can do it with a Scheduled Task which wont have problems with users logging on/off.
- Open Task Scheduler, Windows Key + R
- Click Action menu > Create Task
- Change the User to a Administrator or preferably a Service Account:
- Set At Log On:
- Set a program to start:
It’s a very old question, but for those who coming here via Google:
Start the command prompt and type shell:Startup
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 shell:Common Startup
I prefer to create a task in the Task Scheduler and set the trigger as «On Startup», but you can also use Startup Scripts.
How to start a python file while Windows starts?
I have a python file and I am running the file.
If Windows is shutdown and booted up again, how I can run that file every time Windows starts?
9 Answers 9
Depending on what the script is doing, you may:
- package it into a service, that should then be installed
- add it to the windows registry (HKCU\Software\Microsoft\Windows\CurrentVersion\Run)
- add a shortcut to it to the startup folder of start menu — its location may change with OS version, but installers always have some instruction to put a shortcut into that folder
- use windows’ task scheduler, and then you can set the task on several kind of events, including logon and on startup.
The actual solution depends on your needs, and what the script is actually doing.
Some notes on the differences:
- Solution #1 starts the script with the computer, while solution #2 and #3 start it when the user who installed it logs in.
- It is also worth to note that #1 always start the script, while #2 and #3 will start the script only on a specific user (I think that if you use the default user then it will start on everyone, but I am not sure of the details).
- Solution #2 is a bit more «hidden» to the user, while solution #3 leaves much more control to the user in terms of disabling the automatic start.
- Finally, solution #1 requires administrative rights, while the other two may be done by any user.
- Solution #4 is something I discovered lately, and is very straightforward. The only problem I have noticed is that the python script will cause a small command window to appear.
As you can see, it all boils down to what you want to do; for instance, if it is something for your purposes only, I would simply drag it into startup folder.
In any case, lately I am leaning on solution #4, as the quickest and most straightforward approach.