I am facing the same problem. After rebooting phone, moto g connects to pc. But once i remove usb cable, and try again to connect, it doesn't. So have to reboot phone again.
My phone came with the kitkat version and on PC windows 7 is installed. Any fix to this ?