Windows Server Core 文件权限及安全策略设置

1. 修改文件夹权限ACL

icacls c:\share /grant everyone:(oi)(ci)(f) /t

2. 修改用户密码策略及其他

导出策略:

secedit /export /cfg c:\sec.txt /log c:\sec1.log

修改C:\sec.txt 文件中的以下2

MinimumPasswordLength = 0
PasswordComplexity = 0

导入策略:

secedit /configure /cfg C:\sec.txt /db C:\sec.db /log c:\sec2.log

 

posted @ 2023-12-16 14:28  苏州老王  阅读(121)  评论(0)    收藏  举报