We calculate Drude weight in the superfluid (SF) and the supersolid (SS) phases of hard core boson (HCB) model on a square lattice using stochastic series expansion (SSE). We demonstrate from our numerical calculations that the normal phase of HCBs in two dimensions can be an ideal conductor with dissipationless transport. In two dimensions, when the ground state is a SF, the superfluid stiffness drops to zero with a Kosterlitz-Thouless type transition at TKT . The Drude weight, though is equal to the stiffness below TKT , surprisingly stays finite even for temperatures above TKT indicating the non-dissipative transport in the normal state of this system. In contrast to this in a three dimensional SF phase, where the superfluid stiffness goes to zero continuously via a second order phase transition at Tc, Drude weight goes to zero at Tc, as expected. We also calculated the Drude weight in a 2-dimensional SS phase, where the charge density wave (CDW) order coexists with superfluidity. For the SS phase we studied, superfluidity is lost via KosterlitzThouless transition at TKT and the transition temperature for the CDW order is larger than TKT . In striped SS phase where the CDW order breaks the rotational symmetry of the lattice, for T > TKT , the system behaves like an ideal conductor along one of the lattice direction while along the other direction it behaves like an insulator. In contrast to this, in star-SS phase, Drude weight along both the lattice directions goes to zero along with the superfluid stiffness and for T > TKT we have a finite temperature phase of a CDW insulator.