Walkthrough needed to clear stuck storage jobs

Mikko Hämäläinen 20 Reputation points
2026-09-07T15:55:13.63+00:00

Hello Microsoft Support team.

I am trying to add physical drives to our S2D cluster however it fails because an orphaned background storage repair job is stuck in an Incomplete state. I checked the system but I don't know how to safely remove it. Can you please walk me through on how to identify, suspend, and clear these corrupt storage background jobs.

Windows for business | Windows 365 Enterprise
0 comments No comments

1 answer

Sort by: Newest
  1. VPHAN 43,075 Reputation points Independent Advisor
    2026-09-07T16:29:39.6033333+00:00

    Hi Mikko Hämäläinen,

    To resolve this, you must clear the corrupt job from the system memory using PowerShell. Open an administrative PowerShell console on any of your cluster nodes and execute the Get-StorageJob cmdlet. This queries the storage provider and lists all active or hanging background tasks. Locate the orphaned repair job in the output and make a note of its exact name.

    Next, clear the task by executing the command Stop-StorageJob -Name "YourJobName", replacing the placeholder with the name of your stuck job. If you simply want to terminate all hanging storage jobs at once, you can run the pipeline command Get-StorageJob | Stop-StorageJob. Once the orphaned process is successfully stopped, the storage subsystem will immediately release the topology lock, allowing you to safely add your physical drives to the cluster.

    Hope this answer has brought you some useful information. If it did, please hit “accept answer”. Should you have any questions, feel free to leave a comment.

    VPHAN

    Was this answer helpful?

    0 comments No comments

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.