Windows – Error when removing a user profile in Windows 10

windowswindows 10

I have tried to:

  • Remove a user from the Control Panel, but the C:\Users\bob folder
    still remains.

  • Manually deleting it works sometimes if I delete all subfolders, but
    some users folders do not allow me to delete:

    C:\Users\bob\AppData\Roaming\Microsoft\Windows\Libraries

    even if a I
    take ownership…

  • Deleting the the Account Unknown from System Settings following
    instructions from this post , throws the error

    Profile not deleted completely. Error – The directory is not empty.

EDIT: I probably should have mentioned that this is in a Windows 10 Home edition.

Best Answer

Found the answer here

The steps:

  1. WIN-R to open the Run Window and type services.msc enter image description here
  2. Find the Windows Search service and stop it enter image description here

You may notice that the "Libraries" folder disappears from \appdata\roaming\microsoft\windows\Libraries when you do this.

  1. Delete the User folder!
  2. Right click Windows Search in the services window again and START it.
Related Question