Run these programs at user logon: registry value Run_2 (HKLM Explorer)ComputerHKLM\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer

Policy ID
Run_2
Scope
Computer Configuration
Supported on
At least Windows 2000
Source
Administrative Templates (.admx) for Windows 11 2026 Update (26H2) (version 1.0)
Category
System › Logon

Registry

(list values)

REG_SZComputer
Enabled value
Depends on the option value
Element
Items to run at logon
Value type
REG_SZ
Value name prefix
-
Apply with .reg · CMD · PowerShell
.reg
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer\Run]

; Add one value per list entry, increasing the number
"1"="<enter value>"
"2"="<enter value>"
CMD
:: Add one value per list entry, increasing the number

reg add "HKLM\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer\Run" /v "1" /t REG_SZ /d "<enter value>" /f
reg add "HKLM\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer\Run" /v "2" /t REG_SZ /d "<enter value>" /f
PowerShell
# Add one value per list entry, increasing the number

New-Item -Path 'HKLM:\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer\Run' -Force | Out-Null
New-ItemProperty -Path 'HKLM:\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer\Run' -Name '1' -PropertyType String -Value '<enter value>' -Force | Out-Null
New-ItemProperty -Path 'HKLM:\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer\Run' -Name '2' -PropertyType String -Value '<enter value>' -Force | Out-Null