We study the gauged U(1)Lμ−Lτ scotogenic model with emphasis on latest measurement of LHCb RK(∗) anomaly and AMS-02 positron excess. In this model, neutrino masses are induced at one-loop level with Z2-odd particles, i.e., right-handed neutrinos Nℓ(ℓ=e,μ,τ) and inert scalar doublet η inside the loop. Meanwhile, the gauged U(1)Lμ−Lτ symmetry is broken spontaneously by the scalar singlet S, resulting to the massive gauge boson Z′. Provided certain couplings to quarks induced by heavy vector-like quarks, the gauge boson Z′ would contribute to the transition b→sμ+μ−, hence explain the RK(∗) anomaly. As for the Majorana fermion DM N, the gauge boson Z′ and the singlet Higgs H0 will generate various annihilation channels, among which the NN→Z′Z′ and NN→Z′H0(→Z′Z′) channel could be used to interpret the AMS-02 positron excess. We give a comprehensive analysis on model parameter space with consider various current constraints. The combined analysis shows that the RK(∗) anomaly and AMS-02 positron excess can be explained simultaneously.