[win] improve disk lookup and socket connections