Prohibit Browse
Interdire le parcours
Explanation
Limits newly scheduled to items on the user's Start menu, and prevents the user from changing the scheduled program for existing tasks.
This setting removes the Browse button from the Schedule Task Wizard and from the Task tab of the properties dialog box for a task. Also, users cannot edit the "Run" box or the "Start in" box that determine the program and path for a task.
As a result, when users create a task, they must select a program from the list in the Scheduled Task Wizard, which displays only the tasks that appear on the Start menu and its submenus. Once a task is created, users cannot change the program a task runs.
Important: This setting does not prevent users from creating a new task by pasting or dragging any program into the Scheduled Tasks folder. To prevent this action, use the "Prohibit Drag-and-Drop" setting.
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.
Limite les nouvelles planifications aux éléments figurant dans le menu Démarrer de l'utilisateur et empêche ce dernier de changer les programmes planifiés pour les tâches existantes.
Ce paramètre supprime le bouton Parcourir de l'Assistant Tâche planifiée et de l'onglet Tâche de la boîte de dialogue des propriétés des tâches. Les utilisateurs ne peuvent pas modifier le contenu de la zone Exécuter ou Démarrer dans, qui détermine le programme et le chemin d'accès d'une tâche.
Par conséquent, quand les utilisateurs créent une tâche, ils doivent sélectionner un programme dans une liste dans l'Assistant Tâche planifiée, qui n'affiche que la tâche qui apparaît dans le menu Démarrer et ses sous-menus. Une fois qu'une tâche est créée, les utilisateurs ne peuvent pas modifier le programme exécuté par la tâche.
Important : ce paramètre n'empêche pas les utilisateurs de créer une nouvelle tâche en collant ou faisant glisser n'importe quel programme dans le dossier des tâches planifiées. Pour empêcher cette action, utilisez le paramètre Empêcher le glisser-déplacer.
Remarque : ce paramètre apparaît dans les dossiers Configuration de l'ordinateur et Configuration de l'utilisateur. Si les deux paramètres sont configurés, le paramètre défini dans Configuration de l'ordinateur prévaut sur le paramètre défini dans Configuration de l'utilisateur.
Registry
HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\Task Scheduler5.0- Value name
Allow Browse
| 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/AllowBrowse_2
$k = 'HKLM:\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 'Allow Browse' -Value 1 -Type DWord # assumed value (not defined in the ADMX)Disable
# Disable: TaskScheduler/AllowBrowse_2
$k = 'HKLM:\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 'Allow Browse' -Value 0 -Type DWord # assumed value (not defined in the ADMX)Revert to "Not configured"
# Revert to "Not configured": TaskScheduler/AllowBrowse_2
$k = 'HKLM:\Software\Policies\Microsoft\Windows\Task Scheduler5.0'
Remove-ItemProperty -Path $k -Name 'Allow Browse' -ErrorAction SilentlyContinue