这个和IIS中passwordchangeflags的值有关
cscript.exe adsutil.vbs set w3svc/passwordchangeflags Value
Note In this sample command, Value is a placeholder for the value that you want to set for the PasswordChangeFlags property.
The following list includes the possible values for the PasswordChangeFlags property. You can use a combination of these values.
• 0: This is the default value. This value indicates that you must use a Secure Sockets Layer (SSL) connection when you change the password.
• 1: This value permits password changes on non-secure ports. This value is useful if SSL is not enabled.
• 2: This value disables the Password Change functionality.
• 4: This value disables the advance notification of password expiration.
另外还可以参考这个:
cscript.exe adsutil.vbs set w3svc/PasswordExpirePreNotifyDays 4
PasswordExpirePreNotifyDays:This metabase entry specifies the number of days that remain before the client's password expires. This metabase entry also indicates when a password pre-notification message is sent.
相关KB:
http://support.microsoft.com/kb/833734/en-us