Also 1/2 the current is required.Two 12V relays in series will take 24 volts to operate and you will not need a regulator
My bad, Said solenoid when I should have said relay.

Please what is the best way to solve this problem or solutionsWell here it is. As you can see the TIP122 does not seem to be regulating much of anything which is hardly a surprise since there is no feedback. Top trace in pink shows the power dissipation which climbs from 0 to 6.7 watts in less than a millisecond, The dark trace in red means you have created a high frequency oscillator. I had to guess at the relay specifications, and if you have better information I'd be glad to update the simulation. Notice also how V(c), the collector voltage sags when the reed switch turns on and V(e) the emitter voltage bounces up and down between 0 and 16 volts. This is not what voltage regulation looks like.
View attachment 259017
It you can put both 12Vdc relay coils in series to the 24Vdc supply, that would be the simplest, as no voltage regulator would be required.Please what is the best way to solve this problem or solutions
Can you please support this with a diagram?It you can put both 12Vdc relay coils in series to the 24Vdc supply, that would be the simplest, as no voltage regulator would be required.
If you need the two relay coils in parallel, a very simple linear regulator could be made using the common LM317 regulator and two resistors.
A more efficient way to get 12V, is to chop the 24Vdc with a 50% duty-cycle signal (e.g. 20kHz) to give an average of 12Vdc to the relay coils, with high efficiency and little dissipation in the transistor.
This signal could be generated with a 555 astable oscillator, or other simple relaxation oscillator.
What's your pick?
Well, that sounds great, but that's not what I intend to do and that maybe laterI'm missing something here - isn't series connected relays the simplest solution?
View attachment 259032
Which circuit?Can you please support this with a diagram?
Please what is the best way to solve this problem or solutions
There are other ways as mentioned, but there needs to be a reason to not employ the simplest approachI'm missing something here - isn't series connected relays the simplest solution?
View attachment 259032
The original diagram has a series reed switch to control the relays.That might be why it did not look like what you intended to do.
Wait a moment, what do you intend to do? You asked for a drawing showing how to hook up the relays and when you saw it you said it is not what you want to do. If you know what you want to do you can ask for help doing it and you will probably obtain excellent help, but I don't think this group is into playing guessing games.
What I said in my last statement is not referring to any of the previous answers, but I rather want the solutions to end on how to solve it as it's in parallel not series. I'm sorry if my statement messes up things.I only need solutions thank you.Wait a moment, what do you intend to do? You asked for a drawing showing how to hook up the relays and when you saw it you said it is not what you want to do. If you know what you want to do you can ask for help doing it and you will probably obtain excellent help, but I don't think this group is into playing guessing games.
Lm317 voltage regulatorWhich circuit?