@echo off
echo [version]>gp.inf
echo signature="$CHICAGO$">>gp.inf
echo [System Access]>>gp.inf
echo MinimumPasswordAge = 15 >>gp.inf
echo MaximumPasswordAge = 30 >>gp.inf
echo MinimumPasswordLength = 6 >>gp.inf
echo PasswordComplexity = 1 >>gp.inf
echo LockoutBadCount = 3 >>gp.inf
echo LockoutDuration = 30 >>gp.inf
secedit /configure /db gp.sdb /cfg gp.inf
保存为bat之后以管理员权限运行