Cannot cancel tasks on the vSphere UI task console.
search cancel

Cannot cancel tasks on the vSphere UI task console.

book

Article ID: 387816

calendar_today

Updated On:

Products

VMware vCenter Server 7.0 VMware vCenter Server 8.0

Issue/Introduction

Tasks cannot be cancelled when using the task console on the vSphere Client.

The same tasks can be cancelled using the recent task bar on the vSphere Client or when using PowerCLI

Environment

vCenter Server Appliance

Cause

This is a known issue and will be fixed in a later release. 

Resolution

Use the recent tasks bar to cancel tasks or use PowerCLI.

To use PowerCLI to cancel a task :

Connect to the vCenter Server with PowerCLI and run the following commands:

Get-Task -Status "Running" | select Name, Id, State

 

 Get-Task -Id "Task-ID-Here" | Stop-Task -Confirm:$false