That's because the driver of your previous mouse occupied the port, uninstall the driver of the previous mouse, plug in the G300 to install Logitech's driver is good.
If you really don't have a way to uninstall the previous mouse driver, just plug in the g300 and reinstall the system, 100% good.