Ouvrir dans l'explorateur

Configure the run at startup setting

Cette stratégie n'a pas de traduction française dans les modèles de l'éditeur ; le texte original est en anglais.

Type
Ordinateur et utilisateur
Chemin GPO
Configuration ordinateur › Stratégies › Modèles d'administration › Microsoft PowerToys › General settings Configuration utilisateur › Stratégies › Modèles d'administration › Microsoft PowerToys › General settings EN : Computer Configuration › Policies › Administrative Templates › Microsoft PowerToys › General settingsEN : User Configuration › Policies › Administrative Templates › Microsoft PowerToys › General settings
Pris en charge sur
PowerToys version 0.89.0 or later
Fichier ADMX
PowerToys.admx
Nom interne
PowerToys/ConfigureRunAtStartup

Explication

This policy configures the "run at startup" setting of PowerToys.

If you enable this setting, the "run at startup" setting will be always enabled and the user won't be able to disable it.

If you disable this setting, the "run at startup" setting will be always disabled and the user won't be able to enable it.

If you don't configure this setting, users are able to enable or disable "run at startup" at will.

Note: This only controls the PowerToys method that creates a scheduled task to start PowerToys at login. It doesn't control other custom auto-start methods that the user might try to use outside of PowerToys or manually creating/deleting a scheduled task.

Registre

HKEY_LOCAL_MACHINE\Software\Policies\PowerToys
HKEY_CURRENT_USER\Software\Policies\PowerToys
Nom de la valeur
ConfigureRunAtStartup
ÉtatValeur écrite
ActivéREG_DWORD = 1
DésactivéREG_DWORD = 0

PowerShell

Commandes PowerShell qui écrivent dans le registre ce que la stratégie écrirait. Les valeurs entre chevrons (<…>) sont à remplacer.

Écrire directement dans le registre contourne la stratégie de groupe : si une GPO gère cette valeur, elle sera réécrite au prochain gpupdate ; sinon la valeur reste en place (effet « tatouage »). Préférez une GPO ou, en local, LGPO.exe. Exécutez PowerShell en administrateur pour HKLM. Certaines stratégies demandent un redémarrage ou gpupdate /force.

Ordinateur (HKLM)

Activer

# Activer : PowerToys/ConfigureRunAtStartup
$k = 'HKLM:\Software\Policies\PowerToys'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'ConfigureRunAtStartup' -Value 1 -Type DWord

Désactiver

# Désactiver : PowerToys/ConfigureRunAtStartup
$k = 'HKLM:\Software\Policies\PowerToys'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'ConfigureRunAtStartup' -Value 0 -Type DWord

Revenir à « Non configuré »

# Revenir à « Non configuré » : PowerToys/ConfigureRunAtStartup
$k = 'HKLM:\Software\Policies\PowerToys'
Remove-ItemProperty -Path $k -Name 'ConfigureRunAtStartup' -ErrorAction SilentlyContinue

Utilisateur (HKCU)

Activer

Désactiver

Revenir à « Non configuré »

Application

Microsoft PowerToys (Microsoft) — modèles de novembre 2026

Modèles officiels téléchargés le 12 novembre 2026.