1

So I had my OneDrive setup on my local C:\ drive and i had my music library in it. I have moved my OneDrive to an SD-Card so to free up some space. However there is still a folder in C:\Users\User\OneDrive\Music and I can't delete it. I have tried:

Take Ownership (cmd.exe /c takeown /f \"%1\" /r /d y && icacls \"%1\" /grant administrators:F /t)

Set advanced Permissions in 'Properties' Image 1 - Properties and Adanced Settings Image 2 - After clicking 'change'

And I've tried simple delete commands through powershell

Edit: Image: Powershell dir command

How can I delete this weird folder?

2
  • 1
    The folder may still be opened by the application. Use Process Explorer to find if that's the case (binoculars icon). You may also boot in Safe mode and delete it there.
    – harrymc
    Commented Jul 20, 2019 at 12:39
  • Wow okay so apparently Spotify was holding on to that folder, which makes sense because It was supposed to import local files. Thank you very much! If you post this as an Answer I'd Accept it
    – Omglolyes
    Commented Jul 20, 2019 at 12:46

1 Answer 1

0

The folder may still be opened by some application.

Use Process Explorer to find if that's the case (using the binoculars icon).

Any application that is found can be either configured differently or uninstalled.

Stubborn cases can usually be deleted when booting in Safe mode to avoid all third-party products from running.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .