taking ownership fails in windows 2012

crcsupport
crcsupport used Ask the Experts™
on
I had to delete downloaded ISO files after installation of SQL on new server windows 2012.  Most of files were deleted, but one ISO file keeps telling 'Access is denied'. I looked at properties/security, the owner box is empty, looks like permission problem. I went up one more level up in the directory, tried to take ownership in both in the properties window and through CMD as administrator, still can't take ownership of the ISO file.

There are some people suggests to download unlocker to delete the file, but want to know how I can resolve this problem without any 3rd party software.

Any help?
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
Try running an elevated console (cmd as administrator) and cd into the directory where the file is.

Try running:
 attrib -s -h -r filename.iso

Open in new window


This might help you erase it.

You might also want to try going to the Properties of the file, then click Security->Click Advanced-> Click Owner. Add/Change the owner to your account.

Author

Commented:
attrib shows 'access is denied'
I tried to take ownership as well, it also shows permission problem.
Managing Director
Commented:
Just a thought
Don't suppose the Iso is still mounted on a virtual drive somewhere ?

Author

Commented:
I don't know what happened, but the ISO file is gone by itself. I didn't restart the server or any, it just was deleted by itself. Probably the delete command was initiated after lock is released.
wow....

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