This study seeks to exploit the reactive power capability of inverter-based distributed generation (DG) to solve the voltageregulation challenges associated with weak mediumvoltage distribution networks in developing countries. Voltage-dependent reactive power control, also known as the Q(U) control method, is widely used for voltage regulation. The challenge with this control mode, however, is determining its control parameters, which must be unique for each bus for optimal performance compared with implementing standardised or general parameters. This paper proposes an innovative approach to incorporate an adaptive functionality into the typical Q(U) control to enhance its performance in medium-voltage grids. This concept, when implemented, achieved better performance than that of the Q(U) control with fixed parameters, which was unsatisfactory under certain conditions, and performance comparable to that of the centralised voltage scheme, which relies on communication facilities. This is an open access article under the terms of the Creative Commons Attribution License, which permits use, distribution and reproduction in any medium, provided the original work is properly cited.