Windows Server 2012 Can’t Delete Folder/Files

command-line-interfacewindowswindows-server-2012

I've got a folder with two ISO files in it and I don't need them anymore, however I can't delete the folder! I am an administrator and also the owner of the files.

When I try and delete using windows explorer the files disappear, but as soon as I refresh they return!

When I try and delete with command prompt and arguments /F and /Q I get access is denied.

Any ideas?!

Best Answer

Like said previously, your files may be in use. You can see who use which files on your server by getting in the "managament console".

To do so, right click on the "computer" icon and then click on something like "manage" (I use French OS so I may be wrong in the translation).

Once here you must go in "Shared Files" and then "Opened Files"

Plus, be sure that your .iso files aren't mounted on your server or client. I hope this will soluce your problem.

EDIT1 : Is your Windows Server 2012 running Hyper-V ? Maybe a VM or template use your *.iso