When and in what order do user startup items execute?


mrg9999

Member
Local time
3:37 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

System One

  • 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

System One System Two

  • OS
    Windows 11
    Computer type
    PC/Desktop
    Manufacturer/Model
    ASUS ROG Strix
  • Operating System
    Windows 11
    Computer type
    Laptop
    Manufacturer/Model
    ASUS VivoBook
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

System One System Two

  • OS
    Win11 All /Debian/Arch
    Computer type
    Laptop
    Manufacturer/Model
    ASUSTeK COMPUTER INC. TUF Gaming FX705GM
    CPU
    2.20 gigahertz Intel i7-8750H Hyper-threaded 12 cores
    Motherboard
    ASUSTeK COMPUTER INC. FX705GM 1.0
    Memory
    24428 Megabytes
    Graphics Card(s)
    Intel(R) UHD Graphics 630 / NVIDIA GeForce GTX 1060
    Sound Card
    Intel(R) Display Audio / Realtek(R) Audio
    Monitor(s) Displays
    Integrated Monitor (17.3"vis)
    Screen Resolution
    FHD 1920X1080 16:9
    Hard Drives
    2 SSD SATA/NVM Express 1.3
    WDS500G2B0A-00SM50 500.1 GB
    WDCSDAPNUW-1002 256 GB
    PSU
    19V DC 6.32 A 120 W
    Cooling
    Dual Fans
    Mouse
    MS Bluetooth
    Internet Speed
    Fiber 1GB Cox -us & ADSL Bouygues -fr
    Browser
    Edge Canary- Firefox Nightly
    Antivirus
    Windows Defender
    Other Info
    VMs of Windows 11 stable/Beta/Dev/Canary
    VM of XeroLinux- Arch based & Debian 12
  • Operating System
    Windows 11 Insider Canary
    Computer type
    Laptop
    Manufacturer/Model
    ASUS X751BP
    CPU
    AMD Dual Core A6-9220
    Motherboard
    ASUS
    Memory
    8 GB
    Graphics card(s)
    AMD Radeon R5 M420
    Sound Card
    Realtek
    Monitor(s) Displays
    17.3
    Screen Resolution
    1600X900 16:9
    Hard Drives
    1TB 5400RPM
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

System One

  • OS
    Windows 11 Home x64 Version 23H2 Build 22631.3447

My Computers

System One System Two

  • OS
    Windows 11 Canary Channel
    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
    Samsung SAM0A87 Samsung SAM0D32
    Screen Resolution
    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
    ESET Internet Security
  • 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-S
    Memory
    16 MB DDR 4-2666
    Monitor(s) Displays
    23" Speptre HDMI 75Hz
    Screen Resolution
    1920x1080
    Hard Drives
    Samsung 970 EVO 500GB NVMe
    Mouse
    Logitek M185
    Keyboard
    Logitek K270
    Browser
    Firefox, Edge and Edge Canary
    Antivirus
    Windows Defender
Back
Top Bottom