Veritas High Availability Configuration wizard displays the "hadiscover is not recognized as an internal or external command" error

While configuring application monitoring the Veritas High Availability Configuration wizard may display the "hadiscover is not recognized as an internal or external command" error, after you click Next on the Application Selection panel.

This issue occurs if you launch the wizard from a system where you have reinstalled VCS.

Workaround:

Exit the wizard, restart the Veritas Storage Foundation Messaging Service and then re-run the wizard.