Fix get password for windows