Add windows userdata

This is a work-in-progress branch.

This branch adds userdata support for windows systems.