[wpkg-users] WPKP User Management

Nils Thiele it.service.kultur at uni-hamburg.de
Tue Oct 6 10:36:48 CEST 2015


Hey,
i was searching for a program to easily manage remote local user 
accounts (Win7, Win8) for system that are not connected to a domain or 
something similar.
I found nothing i could combine with wpkg so i came up with my own solution.

The program is written in python, a compiled version (exe) is quite big 
(8MB) but i didnt notice any problems running this on my system at boot 
and you could always install it on local hdd first before executing it.

The program reads a supplied xml file and compares the users in the xml 
to the local users on the system. it will delete accounts that are not 
in the server list and create accounts that are in the list but not on 
the system. (The forcefull removement of accounts is not activated by 
default)

On first run or if the supplied xml path isnt valid it will create the 
xml itself and add all local accounts to the list.

You can also deactivate or activate users, set expire dates, change 
passwords or force the user to change it iself on first logon and log 
logon dates for the users if you wish to do so.

Managing local groups for accounts and resetting (deleting profile 
folder only) should be implemented over the week.

Even tho the program is quite big in compiled form its very fast (well 
it only parses a xml and executes cmd command and capture their 
output).  I noticed no problem excuting this on every boot (using 
wpkg-gp and execute=Always) even starting it directly from the wpkg share.

Now i was wondering if anyone else is intrested in a tool like this.
I wrote and tested this on german win7/8.1 systems and the software 
relies on the cmd output of the "net" command. On a german system this 
output is german so it wont work without modifications on a system that 
outputs in a different language.
But if there is demand i will atleast add support for english output and 
maybe implement support for language files.

Greetings,
Nils

-- 
IT-Support - Fachbereich 09 Kulturgeschichte und Kulturkunde
Universität Hamburg
Flügelbau West, R. 204
Edmund-Siemers-Allee 1
D-20146 Hamburg
Tel.: +49-40-42838-3024
Email: it.service.kultur at uni-hamburg.de



More information about the wpkg-users mailing list