Unlocking ConfigMgr 2012 Objects

During the normal course of peer review during an app implementation, we suddenly found ourselves without any ability to make changes.  The peer review engineer opened the app to check settings and was told he could not edit it because it was in use…by him!

“Cannot edit the object, which is in use by ‘<username>’ at Site ‘<configmgr site>’.”

This happened as the result of the ConfigMgr console crashing while he had the object open.

ConfigMgr 2012 handles editing of objects through something called “SEDO” or “Serialized Editing of Data Objects.” Object locks can be found in the SEDO_LockState table in the ConfigMgr database.  You can locate the record in question by searching for LockStateID that’s not zero, or by the user ID that ConfigMgr says is editing the object (‘AssignedUser’).  An example query would be:

    select * from SEDO_LockState where LockStateID <> 0

Simply use the appropriate information to remove the record related to the object*. For example:

DELETE from SEDO_LockState where LockID = ‘<LockID of the record identified in the previous query>’

Once the record is removed, you should be able to modify the object.

*It should go without saying, but directly modifying the ConfigMgr database should only be done with great care.



Chrysanth WebStory WebStory: Get a super Twitter client!

Written by , Posted .


  1. asdf

    thanks! You saved my day

  2. Gustav Didriksen

    if you have trouble deleting the id, you can also do the following:

    DELETE FROM SEDO_LockState where AssignedUser = ‘DOMAINuser.name’

Leave a Comment

You must be logged in to post a comment.