Figured it out, just in case any one else may need it..
** reference the Active DS Type library...
Dim owinnt As ActiveDs.IADs
Dim age_max As Long
Dim age_pwd As Long
Dim date_expi As String
Dim MinLength As Long
Dim Compname as String
Dim User as String
Compname = "<Computername>"
User =...
Is there a way to get the Local Password Policy values for Minimum Password Length and Maximum Password Age ?
I have tried to use the win32_security* classes, but either cannot figure the correct sytax or am barking up the wrong tree. Accessing RSoP access group policy, but the setting are not...
Writting a small security app (VB6) to run against several xp/2k/2k3 machines, currently retrieves patches, users, shares, and specific running apps.
Would like to retrieve and display the MinimumPasswordLength and MaximumPasswordAge.
I can manually get them of course using secpol.msc, but...
What environment are you running in..?
straight NT 4.0/Exch. 5.5 ?
Mixed W2k/Exh 5.5 ?
In a Mixed environ, I have found it best to use a 2 phase system:
1) Script the user accoutn creation
2) Use the Exch 5.5 Import Utility for MB's.
Bill
[noevil]
I have been working on a w2k environment with a exch 5.5 mail server, and am trying to develop a wsh/vbs based script to create multiple accounts/mailboxes from a csv/text file.
Has anyone doen this successfully ? and how ?
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.