On my Windows 8.1 system, I have a folder called "D:\Benutzer\Alle\Musik" (I'm german, this is like Users/All/Music) which was linked to the Music library folder in windows. I decided to add my music archive to OneDrive so that I could listen to my music from other devices. So I changed the location of the music folder to "D:\SkyDrive\Music" (simplified that a bit for your convinience but you get the point, it's not relevant). Windows then asked me, if I really want to move one System folder to the other, and of course I confirmed because this was what I wanted to do.
Surprisingly, Windows started to copy the files (not to move them). Once the copy process was completed, my music is successfully located in the synchronized OneDrive folder, but I lost complete control over the previous music directory (which is, I believe, still taking up the space).
When I try to visit the folder in Explorer, it says:
Access denied and the header says, path is not available
When I attempt to go to the Security settings (with "advanced" settings = "Erweitert"):
These are the folder security tab and the advanced security details. Basically, all show the message that "You don't have permission to display the security properties of this object" or "The current owner cannot be displayed", even if unlocked by UAC (also, disabled UAC temporarily without success) the message is the same
So I tried to go to "next level" and working with the command line in administrator mode. Here are the results for
D:\Benutzer\Alle>icacls Musik /T /RESET Musik: Zugriff verweigert 0 Dateien erfolgreich verarbeitet, bei 1 Dateien ist ein Verarbeitungsfehler aufgetreten.
Access denied; 0 successful, 1 error occured
D:\Benutzer\Alle>takeown /f Musik Fehler: Zugriff verweigert
Error: Access denied
Attempts to 'dir',
rmdir etc.: See above.
I'd like to get access to this folder again to be able to double-check if everything was copied etc. but if this doesn't work, I'd at least need to delete the folder and it's contents. What are your suggestions?