Foss windows

Built off of PR #327 base
did this ever work? Where is `preserve_configuration` defined?