Win* registry compatiblity patch