If the machine is protected by vCenter Server Heartbeat, vCenter Server Heartbeat attempts to start the Profile-driven storage 3 times, then gives up or follows the configured recovery action.
To work around this issue, add a Post-start task that stops the WebClient service (for example,
net stop vspherewebclientsvc).
To add a Post Start Task:
- Launch the VMware vCenter Server Heartbeat Console and click Application > Tasks.
- Click Add to create a new task and assign a name to the task.
- Choose Post Start from the Task Type drop-down.
- In the command field enter:
net stop vspherewebclientsvc
- Select a user account that has permissions for vCenter Server.
- Click OK to accept the new task.
This allows the Profile-Driven storage time to acquire the conflicting port until the protected service discovery is run, which results in the WebClient service using a different port when it starts.