Do not allow Snipping Tool to run
Ne pas autoriser l'exécution de l'outil Capture
Explanation
Prevents the snipping tool from running.
If you enable this policy setting, the Snipping Tool will not run.
If you disable this policy setting, the Snipping Tool will run.
If you do not configure this policy setting, the Snipping Tool will run.
Empêche l'exécution de l'outil Capture.
Si vous activez ce paramètre de stratégie, l'outil Capture ne s'exécute pas.
Si vous désactivez ce paramètre de stratégie, l'outil Capture s'exécute.
Si vous ne configurez pas ce paramètre de stratégie, l'outil Capture s'exécute.
Registry
HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\TabletPC- Value name
DisableSnippingTool
| State | Value written |
|---|---|
| Enabled | REG_DWORD = 1 |
| Disabled | REG_DWORD = 0 |
PowerShell
PowerShell commands that write to the registry what the policy would write. Values in angle brackets (<…>) must be replaced.
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: TabletShell/DisableSnippingTool_2
$k = 'HKLM:\SOFTWARE\Policies\Microsoft\TabletPC'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'DisableSnippingTool' -Value 1 -Type DWordDisable
# Disable: TabletShell/DisableSnippingTool_2
$k = 'HKLM:\SOFTWARE\Policies\Microsoft\TabletPC'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'DisableSnippingTool' -Value 0 -Type DWordRevert to "Not configured"
# Revert to "Not configured": TabletShell/DisableSnippingTool_2
$k = 'HKLM:\SOFTWARE\Policies\Microsoft\TabletPC'
Remove-ItemProperty -Path $k -Name 'DisableSnippingTool' -ErrorAction SilentlyContinue