- installing or removing the driver is refused unless the services are stopped (or failed), and
a service start or restart (and a second driver task) is refused while one runs, so the
monitor never vanishes under the bot browser's window
- a failed or declined install undoes what that attempt made (device, and the registry value and
settings folder when the driver was not ours before); a declined install's
0xE0000243 reads as cancelled; installed means ours with its monitor there
- devices are found among all root devices whatever their class: a device whose driver was
declined drops out of the display class and was left behind
- uninstall keeps the registry value (what makes it ours) until the device and the driver
package are gone (a package not in the store, 1168, counts as gone), so a failed removal can
be retried
- checked on the win-ci VM: a declined install leaves nothing, the next install gives one working
device, the uninstall leaves nothing
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>