New
#11
Doing it from command shouldn't make a difference since it calls the same signal.
Are you sure you took ownership properly?
Right-click folder -> Click Properties -> Select Security tab -> Click Advanced button -> Select Owner tab -> Click Edit button -> Select your username or Administrators (if you are an Admin on your system) -> Click OK -> Click OK again. Now change the permissions by clicking the Edit button -> Select Administrators -> Check the Full Control checkbox under allow -> Click Apply -> Select your username -> Check the Full Control checkbox under allow -> Click Apply -> Click OK -> Click OK.
You should now be able to delete it without the permissions issue. Use Unlocker if needed.