Avatar of soffcec
soffcec
Flag for Iceland asked on

Replacing security with icacls

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.
Windows OSMicrosoft Legacy OSMicrosoft Server OS

Avatar of undefined
Last Comment
soffcec

8/22/2022 - Mon
ASKER CERTIFIED SOLUTION
ZabagaR

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
GET A PERSONALIZED SOLUTION
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.
soffcec

ASKER
C:\>icacls "c:\new" /setowner administrators /T
c:\new: Access is denied.
Successfully processed 0 files; Failed processing 1 files
SOLUTION
ZabagaR

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
GET A PERSONALIZED SOLUTION
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.
soffcec

ASKER
I was not logged in as administrator. All is OK now.
Your help has saved me hundreds of hours of internet surfing.
fblack61