I cannot edit an object that is already in use

It sometimes happens that you want to change a task sequence, application or another part in SCCM Console that is already in use.

For example, because you had it open before the console crashed. You can solve this by the following two methods (or wait half an hour, then the block for the object will be lifted automatically):

  1. PowerShell
Unlock-CMObject -InputObject $(Get-CMApplication -Name Microsoft_CPlusPlusRuntimes_1.0.1_ENG_WIN7_P1)
  1. Microsoft SQL Server Management Studio
SELECT * FROM SEDO_LockState WHERE LockStateID <> 0
DELETE from SEDO_LockState where LockID = 'The LockstateID'

Leave a Reply

Your email address will not be published. Required fields are marked *