Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

taking ownership fails in windows 2012

Posted on 2012-12-29
4
Medium Priority
?
2,663 Views
Last Modified: 2013-12-02
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
Comment
Question by:crcsupport
  • 2
4 Comments
 
LVL 13

Assisted Solution

by:themrrobert
themrrobert earned 1000 total points
ID: 38729864
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
 
LVL 1

Author Comment

by:crcsupport
ID: 38729923
attrib shows 'access is denied'
I tried to take ownership as well, it also shows permission problem.
0
 
LVL 10

Accepted Solution

by:
cpmcomputers earned 1000 total points
ID: 38730622
Just a thought
Don't suppose the Iso is still mounted on a virtual drive somewhere ?
0
 
LVL 1

Author Comment

by:crcsupport
ID: 38731703
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

Fill in the form and get your FREE NFR key NOW!

Veeam is happy to provide a FREE NFR server license to certified engineers, trainers, and bloggers.  It allows for the non‑production use of Veeam Agent for Microsoft Windows. This license is valid for five workstations and two servers.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

The following article is comprised of the pearls we have garnered deploying virtualization solutions since Virtual Server 2005 and subsequent 2008 RTM+ Hyper-V in standalone and clustered environments.
Restoring deleted objects in Active Directory has been a standard feature in Active Directory for many years, yet some admins may not know what is available.
This tutorial will walk an individual through the steps necessary to install and configure the Windows Server Backup Utility. Directly connect an external storage device such as a USB drive, or CD\DVD burner: If the device is a USB drive, ensure i…
This tutorial will walk an individual through the process of transferring the five major, necessary Active Directory Roles, commonly referred to as the FSMO roles from a Windows Server 2008 domain controller to a Windows Server 2012 domain controlle…
Suggested Courses

782 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question