This research presents a robust optimization of a hybrid photovoltaic-wind-battery (PV/WT/Batt) system in distribution networks to reduce active losses and voltage deviation while also enhancing network customer reliability considering production and network load uncertainties. The best installation position and capacity of the hybrid system (HS) are found via an improved crow search algorithm with an inertia weight technique. The robust optimization issue, taking into account the risk of uncertainty, is described using the gap information decision theory method. The proposed approach is used with 33- and 69-bus networks. The results reveal that the HS optimization in the network reduces active losses and voltage variations, while improving network customer reliability. The robust optimization results show that in the 33-bus network, the system remains resilient to prediction errors under the worst-case uncertainty scenario, with a 44.53% reduction in production and a 22.18% increase in network demand for a 30% uncertainty budget. Similarly, in the 69-bus network, the system withstands a 36.22% reduction in production and a 16.97% increase in load for a 25% uncertainty budget. When comparing stochastic and robust methods, it was found that the stochastic Monte Carlo method could not consistently provide a reliable solution for all objectives under uncertainty, whereas the robust approach successfully managed the maximum uncertainty related to renewable generation and network demand across different uncertainty budgets.