* Startup: Fix rekeying on Windows (tickets #1056, 1057)