I just met this problem, Baidu a lot of tutorials, very complex, but also can not be solved. This method is very effective, and very convenient.
Direct restart the computer, the fastest delete the files you want to delete a folder (try a little faster, just machines in time for the computer desktop appears, taking advantage of those features to protect rights not yet had time to start)
Address reprint: https://blog.csdn.net/mou_yaya/article/details/85328202