How did I resolve the «A script required for this install to complete…» error when uninstalling OpenVPN GUI 2.6 from Windows 10?

1.

Stop the running OpenVPN services.

2.

Run winmgmt /resetrepository twice.
github.com/OpenVPN/openvpn-build/issues/521#issuecomment-1849694143