Control "sequence" of startup programs in Windows
Rise to the top 3% as a developer or hire one of them at Toptal: https://topt.al/25cXVn
--------------------------------------------------
Music by Eric Matyas
https://www.soundimage.org
Track title: Melt
--
Chapters
00:00 Control &Quot;Sequence&Quot; Of Startup Programs In Windows
00:56 Accepted Answer Score 14
01:36 Answer 2 Score 11
02:11 Answer 3 Score 0
02:51 Answer 4 Score 1
03:57 Thank you
--
Full question
https://superuser.com/questions/416182/c...
--
Content licensed under CC BY-SA
https://meta.stackexchange.com/help/lice...
--
Tags
#windows7 #boot
#avk47
ACCEPTED ANSWER
Score 14
You can do it using Windows Task Scheduler:
Create a task with boot initialization trigger for each application that you want(the task will start the program/service that you want) and add a specific delay(such as 20s, 25s, 30s...) timer on initialization for each one.
Here you can see an example about creating a task on task scheduler.
In order to adjust the order of programs in the registry, you will need to remove them from this registry path (deleting the entries) and replace the registry start for the scheduler start method.
I hope this could solve your problem. Good look, Have fun :D
ANSWER 2
Score 11
This is the method I use:
Go to:
%APPDATA%\Microsoft\Windows\Start Menu\Programs\Startup
Startup
directory is also under Start > All Programs- You can also use Win+r and type
shell:startup
Create a shortcut of the
.exe
to launch at startup, then cut/paste it intoStartup
Rename in the order you want:
1_name 2_name 3_name
Reboot
ANSWER 3
Score 1
Or, for apps under "C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Startup", create a batch job in that folder. Copy the path of each app shortcut that is already in the start up folder and paste them in the batch job in the order you want them to launch.; On Windows 10 you can also introduce a delay between, to give time to fully open before running. For example, Act! Cloud Integration is an Outlook add-in, if both are in the start up Outlook loads before Act! and the add-in either is disabled or doesn't show at all. So I created the following batch command:
@ECHO OFF
echo "Starting Act! Integration for Outlook..
"C:\Program Files (x86)\ACT\ACT for Web\ClientSrvs\Office\Outlook\ACT!.Integration.exe" W
timeout /t 10 > nul
echo Starting Outlook..
"C:\Program Files (x86)\Microsoft Office\root\Office16\OUTLOOK.EXE"
Don't forget to remove the shortcuts you are replacing!
ANSWER 4
Score 0
In 2021 you can user power of Powershell and get full control of such actions, for example set a shortcut in shell:startup folder to starter.vbs file:
Dim objShell,objFSO,objFile
Set objShell=CreateObject("WScript.Shell")
Set objFSO=CreateObject("Scripting.FileSystemObject")
scriptdir = objFSO.GetParentFolderName(WScript.ScriptFullName)
strPath = scriptdir & "\start.ps1"
If objFSO.FileExists(strPath) Then
set objFile=objFSO.GetFile(strPath)
strCMD="powershell -noprofile -executionpolicy bypass -command " & Chr(34) & "&{" &_
objFile.ShortPath & "}" & Chr(34)
objShell.Run strCMD,0
Else
WScript.Echo "Failed to find " & strPath
WScript.Quit
End If
which will silently run start.ps1 powershell script:
$chrome = Get-Process chrome -ErrorAction SilentlyContinue
if ($chrome) {
[Diagnostics.Process]::Start("C:\Program Files\Google\Chrome\Application\chrome_proxy.exe","--profile-directory=Default --app-id=cdofaenddnbpbpbojpjnlndemfblmpfk");
}
Remove-Variable chrome
sleep 6
$firefox = Get-Process firefox -ErrorAction SilentlyContinue
if ($firefox) {
[Diagnostics.Process]::Start("C:\Program Files\Mozilla Firefox\firefox.exe","www.mozilla.com");
}
Remove-Variable firefox
Exit