Why can't I delete this folder?

babyb00mer
babyb00mer used Ask the Experts™
on
I have a folder on my computer containing files which comprised a now defunct virtual machine. Among other things, the folder contains a 64 GB VMDK file. When I tried to delete it, a "Folder Access Denied" dialogue box pops up.

folder-removal-problem.png
I don't know what I need to do to gain administrative rights for this operation. I logged in using  the usual account, which I believe already is an administrator. What do I need to do?
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
El FierroNetwork Engineer

Commented:
take ownership of the folder and delete

https://technet.microsoft.com/en-us/library/cc753659(v=ws.11).aspx


alternative would be deleting it via the command line..old school dos way
JohnBusiness Consultant (Owner)
Most Valuable Expert 2012
Expert of the Year 2018

Commented:
Can you see it in VMware and then delete it that way. This is preferable.

If no, and as an alternative to the above, you can get Unlocker 1.92 (I use this) and unlock / delete the files in the folder. When the files are gone, delete the folder.
Angular Fundamentals

Learn the fundamentals of Angular 2, a JavaScript framework for developing dynamic single page applications.

Commented:
First off, make sure that the machine is powered off, if it van't be powered off, make sure the VMDK is no longer attached to the machine, then try deleting it through vSphere itself.
Retired
Most Valuable Expert 2013
Top Expert 2009
Commented:
If you click on Continue, it should prompt you for an administrative account logon -- if you know the username/password for this that's all you should have to do.

If that doesn't work; try shutting down and then rebooting => sometimes a file gets inadvertently locked; but this is generally released on a reboot.

If THAT doesn't work; try using UnLocker.
http://www.majorgeeks.com/mg/getmirror/unlocker,1.html
nader alkahtaniInformation security consultant

Commented:
delete it by using safe mode , if you couldn't then take its ownership then full permissions

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial