本帖最后由 holley 于 2023-3-9 08:57 编辑
回复 1# Shuye
是不是还要配置 继承属性?- Inheritance flags for the ACE. This may be a comma-separated list containing the following:
-
- so
- sub-objects
- sc
- sub-containers
- np
- no propagation
- io
- inherit only
- Example: ‘io,so’
复制代码 试试:- Start /wait /b CMD /c SetACL -on "%ff%" -ot reg -actn ace -ace "n:Administrators;p:full;m:grant;i:so,sc"
复制代码
|