The problem with setting logon_hours with UserSetProps has been corrected.

Also UserGetInfo($Server, $Account) was added to extract 27 properties of the user account. Some are of little interest. But you can adjust and set account's logon_hours using the GUI and then extract that value as a string of 168 1's and 0's to be used as a template in setting the property of other accounts.

The DLL and win32test.kix script have been updated on the web site.
_________________________
Home page: http://www.kixhelp.com/hb/