If your screen is not entirely black, but still dimly displays your Windows desktop, the issue likely stems from the inverter. This component is designed to power the backlight of your screen, which is why if this part is damaged, the screen becomes very difficult to perceive. To ensure that the problem indeed comes from the inverter, try connecting an external monitor to your laptop: if this second screen lights up without any issues, it is not the graphics card that is at fault.
The solution, therefore, is to replace your PC's inverter to resolve this dark screen problem.