Loading |
VBScript |
JavaScript |
Powershell |
Search Options: Determine Whether or Not My Local Users are Required to Have a PasswordContent of Determine Whether or Not My Local Users are Required to Have a Password.vbsMD5 Hash: 158038F6DE97DD1B5A81035D3F5A4E2E |
||
Const ADS_UF_PASSWD_NOTREQD = &H0020
Set colUsers = GetObject("WinNT://atl-fs-01") colUsers.Filter = Array("User") For Each objUser in colUsers If objUser.UserFlags AND ADS_UF_PASSWD_NOTREQD Then Wscript.Echo objUser.Name & ": Password not required." Else Wscript.Echo objUser.Name & ": Password required." End If Next | ||
© 2008 - 2013 Boris Toll :: Scripts available: 6.481 :: :: scriptbox.toll.at :: :: powered by www.toll.at :: |