This study introduces a proposed control method for microgrids (MGs) in islanded (off-grid) mode. The proposed control method is developed by modifying the droop control method using H-infinity controller. In this control method, the droop control loop, current and voltage control loops are adjusted to respond to system load variation. The proposed method is an adaptive control one as it regulates the system voltage and frequency to their nominal values after system load variations. Also, it is a repetitive control method as it depends on the internal model principle that provides good performance for voltage and current error tracking. To prove the applicability and effectiveness of the proposed method, it is applied to a test system using MATLAB/Simulink under three different loading conditions. The results are compared with those of droop control and they prove the effectiveness of the proposed method in adjusting MGs under the off-grid mode of operation. Also, a system stability analysis is performed based on root locus and system step response. Robustness analysis is performed to prove the ability of the proposed controller to restore the system performance after the fault clearance.