SMD capacitor value?

D_NQ_NP_2X_721848-MLA83288157182_042025-F.webp
C7 cap is broken what value can i use to replace?I have tried 100nf and the R7 resistor and capacitor gets to hot in 1 minute.I can throw the psu on a bin but i like the repair challenge.
 
Impossible to say without knowing a lot more detail.

It looks like a simple SMPS and I'm guessing the cap and resistor are in series and are across a high speed rectifier diode which feeds into an electrolytic cap, So a simple half wave rectifier type supply.

Given the frequency will be very high the cap is likely to be a lot less than 100nF, perhaps something like 2nF. The voltage rating depends on the output voltage and if the configuration is as I describe then the cap needs to be around 3 times the rail voltage to give a safety margin.
 
  • Like
Reactions: full speed