I have patched fhandler_random.cc to be able to deal with user accounts which have not loaded their user registry hive. The patch has required to add the missing CRYPT_MACHINE_KEYSET define to wincrypt.h Corinna