When and in what order do user startup items execute?


mrg9999

Member
Local time
6:39 PM
Posts
3
OS
Ubuntu/Arch/Proxmox/Windows7/8/10/11
from say shell:startup (%userprofile%\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup)
there are a number of
shortcuts
executable files
cmd (batch files)
.ps1 PowerShell files

On identical workstations (not in a AD domain), they seem to execute in a different order
Without going to the effort of having a single script that executes everything in the correct order, is there a config, registry key etc that can be changed?

An additional problem is users add their own items to shell:startup
 

My Computer My Computer

At a glance

Ubuntu/Arch/Proxmox/Windows7/8/10/11I764GBASUS GeForce RTX 2080 Ti
OS
Ubuntu/Arch/Proxmox/Windows7/8/10/11
Computer type
PC/Desktop
Manufacturer/Model
Corsair
CPU
I7
Motherboard
ASUS MAXIMUS 2018
Memory
64GB
Graphics Card(s)
ASUS GeForce RTX 2080 Ti
Sound Card
none
Monitor(s) Displays
3 x LG 29"
Screen Resolution
2560 x 1080
Hard Drives
Samsung SSD 870 EVO, 4
PSU
Corsair CX500
I was always of the impression it was based on the CPU load at startup and how long it takes for the individual items to load.
Now, whether items fight for a position, I couldn't tell you! 🤷‍♂️
There's probably a way to regulate it through Task Scheduler.

0004015.png
 

My Computers My Computers

  • At a glance

    Windows 11 Pro
    OS
    Windows 11 Pro
    Computer type
    PC/Desktop
    Manufacturer/Model
    ASUS ROG Strix
  • At a glance

    Windows 11 Pro
    Operating System
    Windows 11 Pro
    Computer type
    Laptop
    Manufacturer/Model
    ASUS VivoBook
  • ASUS VivoBook 'Lite' ~ Windows 11 Home
Right after logon, the registry Computer\HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\StartupApproved\Run key is read. It might be worth checking the order on the various systems.
But I think @Edwin is correct as the OS would logically prioritize based on CPU load.
Whether or not that is the case, only tools like AutoRuns/AutoRunsc & AdvancedRun would let you see that.
One could always use task scheduler and specify a dependency on the previously 'run at login' instance and control it that way.
 

My Computers My Computers

  • At a glance

    All Branches but ReleaseAMD Ryzen 7 7735HS 3200-4500 Mhz 8 cores x 232 GB DDR5Radeon Graphic / NVIDIA GeForce RTX 4060 8 GB...
    OS
    All Branches but Release
    Computer type
    Laptop
    Manufacturer/Model
    Acer Nitro ANV15-51
    CPU
    AMD Ryzen 7 7735HS 3200-4500 Mhz 8 cores x 2
    Motherboard
    Sportage_RBH
    Memory
    32 GB DDR5
    Graphics Card(s)
    Radeon Graphic / NVIDIA GeForce RTX 4060 8 GB GDDR6
    Sound Card
    AMD/Realtek(R) Audio
    Monitor(s) Displays
    Integrated Monitor (15.3"vis)
    Screen Resolution
    FHD 1920X1080 16:9 144Hz
    Hard Drives
    KINGSTON OM8SEP4512Q-AA 1TB
    Western Digital 256GB
    PSU
    19V DC 6.32 A 120 W
    Cooling
    Dual Fans
    Mouse
    MS Bluetooth
    Internet Speed
    Fiber 1GB Cox -us & 1GB Orange-fr
    Browser
    Edge Canary- Firefox Nightly-Chrome Dev-Chrome Dev
    Antivirus
    Windows Defender
  • At a glance

    Windows 11 BetaAMD A9-94208 GB of DDR4AMD Radeon R5
    Operating System
    Windows 11 Beta
    Computer type
    Laptop
    Manufacturer/Model
    Asus X751BP
    CPU
    AMD A9-9420
    Memory
    8 GB of DDR4
    Graphics card(s)
    AMD Radeon R5
    Screen Resolution
    1600x900
    Hard Drives
    Seagate 1 TB
Whatever you do about this topic, do make sure you check the All users startup as well as the Current user startup that you mentioned.

Start-up - All users
C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Startup

Start-up - CurrentUser
%UserProfile%\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup
=
C:\Users\%UserName%\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup


All the best,
Denis
 

My Computer My Computer

At a glance

Windows 11 Home x64 Version 25H2 Build 26200....
OS
Windows 11 Home x64 Version 25H2 Build 26200.8037

My Computers My Computers

  • At a glance

    Windows 11 Pro 25H2Intel Core i7-10700K16GB (8GB PC4-19200 DDR4 SDRAM x2)NVIDIA GeForce GTX 1050 TI
    OS
    Windows 11 Pro 25H2
    Computer type
    PC/Desktop
    Manufacturer/Model
    PowerSpec B746
    CPU
    Intel Core i7-10700K
    Motherboard
    ASRock Z490 Phantom Gaming 4/ax
    Memory
    16GB (8GB PC4-19200 DDR4 SDRAM x2)
    Graphics Card(s)
    NVIDIA GeForce GTX 1050 TI
    Sound Card
    Realtek Audio
    Monitor(s) Displays
    #1. LG ULTRAWIDE 34" #2. AOC Q32G2WG3 32"
    Screen Resolution
    #1. 3440 X 1440 #2. 1920 x 1080
    Hard Drives
    NVMe WDC WDS100T2B0C-00PXH0 1TB
    Samsung SSD 860 EVO 1TB
    PSU
    750 Watts (62.5A)
    Case
    PowerSpec/Lian Li ATX 205
    Keyboard
    Logitech K270
    Mouse
    Logitech M185
    Browser
    Microsoft Edge and Firefox
    Antivirus
    Webroot SecureAnywhere CE 26.1
  • At a glance

    Windows 11 Canary ChannelIntel Core i5-8400 CPU @ 2.80GHz16 MB DDR 4-2666
    Operating System
    Windows 11 Canary Channel
    Computer type
    PC/Desktop
    Manufacturer/Model
    PowerSpec G156
    CPU
    Intel Core i5-8400 CPU @ 2.80GHz
    Motherboard
    AsusTeK Prime B360M-A
    Memory
    16 MB DDR 4-2666
    Monitor(s) Displays
    23" Speptre HDMI 75Hz
    Screen Resolution
    1920x1080
    Hard Drives
    Samsung 970 EVO 500GB NVMe
    Keyboard
    Logitek K270
    Mouse
    Logitek M185
    Browser
    Firefox, Edge and Edge Canary
    Antivirus
    Windows Defender

Latest Support Threads

Back
Top Bottom