Well, first off, locate and download the correct drivers from Logitech.
Then delete all current drivers (Control Panel/Add Remove and also delete relevant Logitech Folder) and reboot. If Windows detects the joystick on boot, when prompted, browse to the drivers you've just downloaded and install.
If Windows does not detect joystick, install correct drivers.
Then see if it's listed in Control Panel/Game Controllers.