Loading |
VBScript |
JavaScript |
Powershell |
Search Options: Prevent Passwords from Being Stored Using Reversible Encrypted TextContent of Prevent Passwords from Being Stored Using Reversible Encrypted Text.vbsMD5 Hash: 61E7A0FD7F833300C9377EECDC5FD2FF |
||
' Description: Disables the option allowing a password to be stored using reversible encrypted text.
Const ADS_UF_ENCRYPTED_TEXT_PASSWORD_ALLOWED = &H80 Set objUser = GetObject _ ("LDAP://cn=myerken,ou=management,dc=fabrikam,dc=com") intUAC = objUser.Get("userAccountControl") If intUAC AND _ ADS_UF_ENCRYPTED_TEXT_PASSWORD_ALLOWED Then objUser.Put "userAccountControl", intUAC XOR _ ADS_UF_ENCRYPTED_TEXT_PASSWORD_ALLOWED objUser.SetInfo End If | ||
© 2008 - 2013 Boris Toll :: Scripts available: 6.481 :: :: scriptbox.toll.at :: :: powered by www.toll.at :: |