We help IT Professionals succeed at work.

Replacing security with icacls

278 Views
Last Modified: 2014-05-04
I want to remove all security on one drive or folder and all what is in it and the put new owner on it who have full rights to the drive/folder

I need an example of how this is done.
Comment
Watch Question

Commented:
This one is on us!
(Get your first solution completely free - no credit card required)
UNLOCK SOLUTION
soffcecManager

Author

Commented:
C:\>icacls "c:\new" /setowner administrators /T
c:\new: Access is denied.
Successfully processed 0 files; Failed processing 1 files
Commented:
This one is on us!
(Get your first solution completely free - no credit card required)
UNLOCK SOLUTION
soffcecManager

Author

Commented:
I was not logged in as administrator. All is OK now.
Unlock the solution to this question.
Join our community and discover your potential

Experts Exchange is the only place where you can interact directly with leading experts in the technology field. Become a member today and access the collective knowledge of thousands of technology experts.

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

OR

Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.