[Webinar] Streamline your web hosting managementRegister Today

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 2695
  • Last Modified:

taking ownership fails in windows 2012

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?
0
crcsupport
Asked:
crcsupport
  • 2
2 Solutions
 
themrrobertCommented:
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.
0
 
crcsupportAuthor Commented:
attrib shows 'access is denied'
I tried to take ownership as well, it also shows permission problem.
0
 
cpmcomputersCommented:
Just a thought
Don't suppose the Iso is still mounted on a virtual drive somewhere ?
0
 
crcsupportAuthor 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....
0

Featured Post

Making Bulk Changes to Active Directory

Watch this video to see how easy it is to make mass changes to Active Directory from an external text file without using complicated scripts.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now