Stratégie d’initialisation des pilotes de démarrage
Boot-Start Driver Initialization Policy
Explication
Ce paramètre de stratégie vous permet de spécifier les pilotes de démarrage qui sont initialisés en fonction d’une classification déterminée par un pilote de démarrage de logiciel anti-programme malveillant à lancement anticipé. Le pilote de démarrage de logiciel anti-programme malveillant à lancement anticipé peut renvoyer les classifications suivantes pour chaque pilote de démarrage :
- Bon : le pilote a été signé et n’a pas été falsifié.
- Mauvais : le pilote a été identifié comme un programme malveillant. Nous vous recommandons de ne pas autoriser l’initialisation de mauvais pilotes.
- Mauvais, mais requis pour le démarrage : le pilote a été identifié comme un programme malveillant, mais l’ordinateur ne peut pas démarrer correctement sans charger ce pilote.
- Inconnu : ce pilote a été attesté par votre application de détection de programme malveillant et n’a pas été classé par le pilote de démarrage de logiciel anti-programme malveillant à lancement anticipé.
Si vous activez ce paramètre de stratégie, vous pouvez choisir quels pilotes de démarrage initialiser au prochain démarrage de l’ordinateur.
Si vous désactivez ce paramètre de stratégie ou ne le configurez pas, les pilotes de démarrage classés dans les catégories Bon, Inconnu ou Mauvais mais critique pour le démarrage sont initialisés et les pilotes classés dans la catégorie Mauvais ne sont pas initialisés.
Si votre application de détection de programme malveillant n’inclut pas de pilote de démarrage de logiciel anti-programme malveillant à lancement anticipé ou si ce pilote a été désactivé, ce paramètre n’a aucun effet et tous les pilotes de démarrage sont initialisés.
This policy setting allows you to specify which boot-start drivers are initialized based on a classification determined by an Early Launch Antimalware boot-start driver. The Early Launch Antimalware boot-start driver can return the following classifications for each boot-start driver:
- Good: The driver has been signed and has not been tampered with.
- Bad: The driver has been identified as malware. It is recommended that you do not allow known bad drivers to be initialized.
- Bad, but required for boot: The driver has been identified as malware, but the computer cannot successfully boot without loading this driver.
- Unknown: This driver has not been attested to by your malware detection application and has not been classified by the Early Launch Antimalware boot-start driver.
If you enable this policy setting you will be able to choose which boot-start drivers to initialize the next time the computer is started.
If you disable or do not configure this policy setting, the boot start drivers determined to be Good, Unknown or Bad but Boot Critical are initialized and the initialization of drivers determined to be Bad is skipped.
If your malware detection application does not include an Early Launch Antimalware boot-start driver or if your Early Launch Antimalware boot-start driver has been disabled, this setting has no effect and all boot-start drivers are initialized.
Registre
HKEY_LOCAL_MACHINE\System\CurrentControlSet\Policies\EarlyLaunch- Nom de la valeur
DriverLoadPolicy
| État | Valeur écrite |
|---|---|
| Activé | non défini dans l'ADMX (voir les options ci-dessous) |
| Désactivé | non défini dans l'ADMX (voir les options ci-dessous) |
PowerShell
Commandes PowerShell qui écrivent dans le registre ce que la stratégie écrirait. Les valeurs entre chevrons (<…>) sont à remplacer.
L'ADMX ne précise pas la valeur écrite à l'activation ; l'éditeur GPO écrit habituellement REG_DWORD 1 (activé) / 0 (désactivé). Les commandes ci-dessous utilisent 1/0 par hypothèse.
É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.
Activer
# Activer : EarlyLaunchAM/POL_DriverLoadPolicy_Name
$k = 'HKLM:\System\CurrentControlSet\Policies\EarlyLaunch'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
# L'ADMX ne précise pas la valeur écrite ; l'éditeur GPO écrit habituellement REG_DWORD 1 (activé) / 0 (désactivé)
Set-ItemProperty -Path $k -Name 'DriverLoadPolicy' -Value 1 -Type DWord # valeur supposée (non définie dans l'ADMX)
# Choisissez les pilotes de démarrage qui peuvent être initialisés
# Options possibles :
# Good only = 8
# Good and unknown = 1
# Good, unknown and bad but critical = 3
# All = 7
Set-ItemProperty -Path $k -Name 'DriverLoadPolicy' -Value 3 -Type DWordDésactiver
# Désactiver : EarlyLaunchAM/POL_DriverLoadPolicy_Name
$k = 'HKLM:\System\CurrentControlSet\Policies\EarlyLaunch'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
# L'ADMX ne précise pas la valeur écrite ; l'éditeur GPO écrit habituellement REG_DWORD 1 (activé) / 0 (désactivé)
Set-ItemProperty -Path $k -Name 'DriverLoadPolicy' -Value 0 -Type DWord # valeur supposée (non définie dans l'ADMX)Revenir à « Non configuré »
# Revenir à « Non configuré » : EarlyLaunchAM/POL_DriverLoadPolicy_Name
$k = 'HKLM:\System\CurrentControlSet\Policies\EarlyLaunch'
Remove-ItemProperty -Path $k -Name 'DriverLoadPolicy' -ErrorAction SilentlyContinueOptions (1)
| Libellé | Contrôle | Valeur de registre | Type REG | Contraintes / détails | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Choisissez les pilotes de démarrage qui peuvent être initialisés :Choose the boot-start drivers that can be initialized:SelectDriverLoadPolicy | Liste déroulanteenum | DriverLoadPolicy | REG_DWORD | Obligatoire · Choix par défaut (interface) : n° 2
|