Add windows userdata

This is a work-in-progress branch.

This branch adds userdata support for windows systems.
If you can tell me for sure that it is no longer needed, I will be more the happy to remove this :)