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