Avatar of Kriti Mazumder
Kriti Mazumder
 asked on

Changing permission of File in Windows 10

I want to know what command in windows 10 is equivalent of CHMOD 400
Windows 10

Avatar of undefined
Last Comment
zvitam

8/22/2022 - Mon
ASKER CERTIFIED SOLUTION
zvitam

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.
Kriti Mazumder

ASKER
icacls .\KP2.pem /grant:r Administrators:(RX,WDAC)
At line:1 char:45
+ icacls .\KP2.pem /grant:r Administrators:(RX,WDAC)
+                                             ~
Missing argument in parameter list.
    + CategoryInfo          : ParserError: (:) [], ParentContainsErrorRecordException
    + FullyQualifiedErrorId : MissingArgument
Kriti Mazumder

ASKER
above error i get.
however if i change the command as following snippet, it worked

icacls .\KP2.pem /grant:r Administrator:RX
processed file: .\KP2.pem
Successfully processed 1 files; Failed processing 0 files
SOLUTION
McKnife

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

Zvitam's solution is the right solution. Mcknife helped the Author in implementing it.
Experts Exchange has (a) saved my job multiple times, (b) saved me hours, days, and even weeks of work, and often (c) makes me look like a superhero! This place is MAGIC!
Walt Forbes