Avatar of longjumps
longjumps
 asked on

Windows 2008 - script to turn on "Deny" for specific file permissions in Security?

How to turn on by command line "Deny" box for specific file Security section?
File has inherited permission from the directory before.

Please provide command line example.

See explanations below
Inherited permissions
Windows Server 2008Microsoft Legacy OSProgramming

Avatar of undefined
Last Comment
longjumps

8/22/2022 - Mon
ASKER CERTIFIED SOLUTION
ednetman

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.
longjumps

ASKER
Which command should be for file to perform - don't inherit  from parent and copy all access to current file from parent?
longjumps

ASKER
ICACLS filename /inheritance:d
I started with Experts Exchange in 2004 and it's been a mainstay of my professional computing life since. It helped me launch a career as a programmer / Oracle data analyst
William Peck