Hide Advanced Properties Checkbox in Add Scheduled Task Wizard
Masquer la case à cocher Propriétés avancées dans l'Assistant Ajouter une tâche planifiée
Explanation
This setting removes the "Open advanced properties for this task when I click Finish" checkbox from the last page of the Scheduled Task Wizard. This policy is only designed to simplify task creation for beginning users.
The checkbox, when checked, instructs Task Scheduler to automatically open the newly created task's property sheet upon completion of the "Add Scheduled Task" wizard. The task's property sheet allows users to change task characteristics such as: the program the task runs, details of its schedule, idle time and power management settings, and its security context. Beginning users will often not be interested or confused by having the property sheet displayed automatically. Note that the checkbox is not checked by default even if this setting is Disabled or Not Configured.
Note: This setting appears in the Computer Configuration and User Configuration folders. If both settings are configured, the setting in Computer Configuration takes precedence over the setting in User Configuration.
Ce paramètre supprime la case à cocher Ouvrir les propriétés avancées de cette tâche quand je cliquerai sur Terminer dans la dernière page de l'Assistant Tâche planifiée. Cette stratégie est conçue uniquement pour simplifier la création de tâches pour les utilisateurs débutants.
Lorsqu'elle est activée, la case à cocher indique au Planificateur de tâches d'ouvrir automatiquement la feuille de propriétés de la tâche nouvellement créée à la fin de l'Assistant Ajouter une tâche planifiée. La feuille de propriétés de la tâche permet aux utilisateurs de modifier les caractéristiques des tâches, telles que le programme que cette tâche exécute, les détails de sa planification, les paramètres relatifs à la durée d'inactivité et à la gestion de l'alimentation, ainsi que son contexte de sécurité. Les utilisateurs débutants sont souvent peu intéressés ou perturbés par l'affichage automatique de la feuille de propriétés. Notez que la case à cocher n'est pas activée par défaut, même si vous désactivez ou ne configurez pas ce paramètre.
Remarque : ce paramètre apparaît dans les dossiers Configuration ordinateur et Configuration utilisateur. Si les deux paramètres sont configurés, le paramètre défini dans Configuration ordinateur prévaut sur le paramètre défini dans Configuration utilisateur.
Registry
HKEY_CURRENT_USER\Software\Policies\Microsoft\Windows\Task Scheduler5.0- Value name
Disable Advanced
| State | Value written |
|---|---|
| Enabled | not defined in the ADMX |
| Disabled | not defined in the ADMX |
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: TaskScheduler/DisableAdvanced_1
$k = 'HKCU:\Software\Policies\Microsoft\Windows\Task Scheduler5.0'
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 'Disable Advanced' -Value 1 -Type DWord # assumed value (not defined in the ADMX)Disable
# Disable: TaskScheduler/DisableAdvanced_1
$k = 'HKCU:\Software\Policies\Microsoft\Windows\Task Scheduler5.0'
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 'Disable Advanced' -Value 0 -Type DWord # assumed value (not defined in the ADMX)Revert to "Not configured"
# Revert to "Not configured": TaskScheduler/DisableAdvanced_1
$k = 'HKCU:\Software\Policies\Microsoft\Windows\Task Scheduler5.0'
Remove-ItemProperty -Path $k -Name 'Disable Advanced' -ErrorAction SilentlyContinue