The Scottish government has rejected plans for two Borders wind farms but allowed condition changes on a Dumfries and Galloway scheme.
Energiekontor's bid for 10-turbines near Ayton has been turned down.
A 16-turbine scheme at Gilston Farm straddling the Borders-Midlothian boundary has also been rejected.
However, RES has been allowed to amend some conditions imposed on its 11-turbine Glenchamber project between New Luce, Kirkcowan and Glenluce.
The Horn Burn project from Energiekontor was described as "highly incongruous" in a "settled, almost gentle, lowland agricultural landscape".
A bid by Scottish Borders Council to reclaim the costs of the appeal from the developers was turned down.
The Gilston scheme by Ridgewind for seven turbines in the Borders and nine in Midlothian was also refused.
At Glenchamber, RES has been allowed to change three conditions of its planning approval relating to noise.
A Scottish government reporter concluded that the amendments being proposed by the developers were "more appropriate" than those Dumfries and Galloway Council had sought to impose.