Nasa has identified the possible cause of a problem that has stopped the Hubble telescope from being used for astronomy.
It's the worst glitch in years to hit the venerated observatory.
An onboard computer halted on 13 June, leading to the science instruments being put in "safe mode" – where non-essential systems are shut down.
Now the possible origin of the malfunction has been traced, experts will attempt a fix.
They will begin switching over to back-up hardware on Thursday, in an effort to get one of the most important scientific tools in history up and running again.
Although astronomy observations have been suspended since June, Nasa says the telescope itself and the science instruments are healthy.
- Hubble delivers stunning 30th birthday picture
- Hubble telescope's Universe revealed in 3D
- Nasa 'fixes' Hubble malfunction
Officials said the possible cause of the fault lies in Hubble's Power Control Unit (PCU). This ensures a steady voltage supply to hardware associated with the telescope's payload computer.
It's the payload computer that stopped functioning back in June.
The possible diagnosis concerning the PCU came from information gleaned when engineers attempted to restart and reconfigure the payload computer and the backup computer.
Experts have already tried to send ground commands to reset the PCU, but this effort has failed.
Nasa management has now given approval for the Hubble recovery team to switch over to a back-up PCU.
This is the operation set to begin on Thursday; if successful, it will take several days to completely return the observatory to normal science operations.
Launched aboard the space shuttle Discovery in 1990, Hubble has been observing the Universe for more than 31 years. It has taken over 1.5 million observations, which have been used to publish 18,000 scientific papers.
It has contributed to some of the most significant discoveries in astronomy. These have included the observation that the expansion of the Universe was accelerating. This in turn led to conclusion that most of the cosmos was made up of mystery "stuff" called dark energy and dark matter.
A successor to Hubble, the James Webb Space Telescope (JWST), is scheduled to launch later this year. But many astronomers hope that the two will be able to operate alongside each other – at least for some period of time.
Follow Paul on Twitter.