Unable to delete a folder under User State Migration RRS feed

  • Question

  • Hi

    I have a server A with SCCM 2012 R2,this server is  Site Server, Site System, Endpoint Protection and Component Server.

    I have a server B with Component Server, DP, Site Sytem and State Migration Point.

    I go on server A, open console, Assets and Compliance, User State Migration, under User State Migration i have 3 empty folders, i able to create a new folder, a rename existing folder but if i try to delete folder:  The Folder cannot be deleted because it is not empty

    Do you have a solution to deleting this folder ? I go in folder USMT on server B, but no folder with a same name is present.


    Wednesday, September 26, 2018 6:03 PM

All replies

  • The account you are logged in with most likely does not have permissions to view the objects in the folder. You need to get a user with permissions on the objects involved or use an account with permissions on those objects.

    Jason | https://home.configmgrftw.com | @jasonsandys

    Wednesday, September 26, 2018 6:39 PM
  • My account is Domain Admins and Full Administrators in SCCM
    Wednesday, September 26, 2018 6:54 PM
  • Domain admin is completely irrelevant -- this isn't a domain that is being administered.

    Full Admins is only half of the picture as ConfigMgr roles don't define which objects the permissions in a role apply to. Thus, <g class="gr_ gr_126 gr-alert gr_gramm gr_inline_cards gr_run_anim Grammar only-ins replaceWithoutSep" data-gr-id="126" id="126">same</g> answer. You'll need an account that has access to the scope for the objects in the folder.

    Jason | https://home.configmgrftw.com | @jasonsandys

    Wednesday, September 26, 2018 7:16 PM
  • Hi

    I connect with 3 differents accounts (Ex.: Full Admin SCCM, i check the right in security before)

    But a same result The Folder cannot be deleted because it is not empty

    Thursday, September 27, 2018 1:57 PM
  • Same answer, full admin does not define which objects an account has permissions on. You need to validate the scopes that these accounts have access to.

    Jason | https://home.configmgrftw.com | @jasonsandys

    Thursday, September 27, 2018 2:00 PM
  • I go to "Administration", "Security", "Security Roles", on "Administrative Users" tab my account is in the list. On "Permissions" tab:

    - Alert Subscription: All to "Yes"

    - Alerts: All to "Yes"

    - Antimalware: All to "Yes"

    - ...... All to "Yes"

    Thursday, September 27, 2018 2:20 PM
  • Those are not scopes. Those are defining generic *role* permissions. Role permissions must be applied to actual objects to actually do anything. This is done by defining scopes and applying the role(s) to the scope(s). Thus you need to validate the scopes that your account is assigned to.

    Jason | https://home.configmgrftw.com | @jasonsandys

    Thursday, September 27, 2018 3:35 PM
  • I had same problem this week. You have probably read that MS do not support any changes you make to DB unless specifically detailed and instructed to do so my MS.

    So at you own risk what I did was (check my site backup was all uptodate) then use SSMS and go to SiteDB -> Tables -> dbo.Folders -> RightClick - Select TOP 1000 Rows.

    Found the problem folder and noted ContainerNodeID. I checked if that ContainerNodeID was not a ParentContainerNodeID of any other folders and scanned FolderPath for any possible relationships.

    I checked if ContainerNodeID was found in dbo.FolderMembers and found not matches.

    I then RightClick dbo.Folders - Edit top 200 rows - Found Offending Folder and selected entire row - RightClick Delete.

    It was gone from Console and no issues since.

    • Edited by NikNicholas Thursday, October 10, 2019 11:35 PM
    Thursday, October 10, 2019 11:30 PM