Proper encoding of windows defaults