Turn off Push To Install service
Supported on: At least Windows Server 2016, Windows 10
When the GPO stops applying: Windows removes the value (it is under a Policies branch). How cleanup works
| Registry key | HKLM\Software\Policies\Microsoft\PushToInstall |
|---|---|
| Value name | DisablePushToInstall |
| Enabled writes | 1 (REG_DWORD) |
| Disabled writes | 0 (REG_DWORD) |
What it does (vendor explanation)
If you enable this setting, users will not be able to push Apps to this device from the Microsoft Store running on other devices or the web.
Group Policy path: Computer Configuration > Administrative Templates > Windows Components > Push To Install > Turn off Push To Install service
PowerShell equivalent (generated from the template)
New-Item -Path 'HKLM:\Software\Policies\Microsoft\PushToInstall' -Force | Out-Null
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\PushToInstall' -Name 'DisablePushToInstall' -Value 1 -PropertyType DWord -ForceGroup Policy or Intune is the supported way to set policies. Writing the same values directly works like a local policy and is removed by nothing: delete the values to return to "Not configured".