1 --//修改密码策略 2 update T_BAS_SysParameter set FPARAMETERS ='<SEC_PasswordPolicy> 3 <FNumbers>True</FNumbers> 4 <FSpecialChars>False</FSpecialChars> 5 <FCharacters>False</FCharacters> 6 <FMinLength>6</FMinLength> 7 <FValidDays>80</FValidDays> 8 <FModifyDays>80</FModifyDays> 9 <FModifyAlertDays>7</FModifyAlertDays> 10 <FAlertDays>7</FAlertDays> 11 <FEnableNotRepeat>True</FEnableNotRepeat> 12 <FNotRepeatDays>170</FNotRepeatDays> 13 <FSysPWDCount>3</FSysPWDCount> 14 <FEnableAutoUnlock>True</FEnableAutoUnlock> 15 <FEnableErrorLock>True</FEnableErrorLock> 16 <FErrorLockCount>6</FErrorLockCount> 17 <FHowLongUnlock>2</FHowLongUnlock> 18 <FTimeUnit>2</FTimeUnit> 19 <FDisableSysPWD>True</FDisableSysPWD> 20 <FGenerationMode>0</FGenerationMode> 21 <FPasswordType>0</FPasswordType> 22 <FDefaultPWD>abc123..</FDefaultPWD> 23 </SEC_PasswordPolicy>' 24 where FParameterObjId=N'SEC_PasswordPolicy'