Boot-Start Driver Initialization Policy
Stratégie d’initialisation des pilotes de démarrage
Explanation
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.
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.
Registry
HKEY_LOCAL_MACHINE\System\CurrentControlSet\Policies\EarlyLaunch- Value name
DriverLoadPolicy
| State | Value written |
|---|---|
| Enabled | not defined in the ADMX (see the options below) |
| Disabled | not defined in the ADMX (see the options below) |
PowerShell
PowerShell commands that write to the registry what the policy would write. Values in angle brackets (<…>) must be replaced.
The ADMX does not specify the value written when enabled; the GPO editor usually writes REG_DWORD 1 (enabled) / 0 (disabled). The commands below use 1/0 as an assumption.
Writing directly to the registry bypasses Group Policy: if a GPO manages this value, it will be rewritten at the next gpupdate; otherwise the value stays in place (the "tattooing" effect). Prefer a GPO or, locally, LGPO.exe. Run PowerShell as administrator for HKLM. Some policies need a restart or gpupdate /force.
Enable
# Enable: EarlyLaunchAM/POL_DriverLoadPolicy_Name
$k = 'HKLM:\System\CurrentControlSet\Policies\EarlyLaunch'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
# The ADMX does not specify the value written; the GPO editor usually writes REG_DWORD 1 (enabled) / 0 (disabled)
Set-ItemProperty -Path $k -Name 'DriverLoadPolicy' -Value 1 -Type DWord # assumed value (not defined in the ADMX)
# Choose the boot-start drivers that can be initialized
# Possible options:
# 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 DWordDisable
# Disable: EarlyLaunchAM/POL_DriverLoadPolicy_Name
$k = 'HKLM:\System\CurrentControlSet\Policies\EarlyLaunch'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
# The ADMX does not specify the value written; the GPO editor usually writes REG_DWORD 1 (enabled) / 0 (disabled)
Set-ItemProperty -Path $k -Name 'DriverLoadPolicy' -Value 0 -Type DWord # assumed value (not defined in the ADMX)Revert to "Not configured"
# Revert to "Not configured": EarlyLaunchAM/POL_DriverLoadPolicy_Name
$k = 'HKLM:\System\CurrentControlSet\Policies\EarlyLaunch'
Remove-ItemProperty -Path $k -Name 'DriverLoadPolicy' -ErrorAction SilentlyContinueOptions (1)
| Label | Control | Registry value | REG type | Constraints / details | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Choose the boot-start drivers that can be initialized:Choisissez les pilotes de démarrage qui peuvent être initialisés :SelectDriverLoadPolicy | Drop-down listenum | DriverLoadPolicy | REG_DWORD | Required · Default choice (UI): #2
|