In order to make multiobjective evolutionary algorithm based on decomposition (MOEA/D) have better performance in dealing with many-objective optimization problems (MaOPs) with different Pareto fronts (PFs), this paper proposes a MOEA/D with adaptive external population guided weight vector adjustment (MaOEA/D-AEW). The algorithm modifies the MOEA/D method of constructing mating pools by calculating the utility function value of individuals in the population to produce high-quality offspring. For the maintenance of non-dominated solutions in the external population (EP), solutions exceeding the capacity of the EP are removed by the method of minimum Euclidean distance combined with the aggregation function value to ensure the convergence and diversity of non-dominated solutions in the EP. For the addition of weight vectors, a new sparsity evaluating method (SL+) is proposed to determine the sparsity of weight vectors by multiplying parallel distances between individuals. For the deletion of the weight vector, the minimum Euclidean distance combined with the aggregation function value is used to delete the weight vector corresponding to invalid or crowded individuals in the population. Comparing MaOEA/D-AEW with six state-of-the-art algorithms on regular PF and irregular PF test problems respectively, simulation results show that the proposed algorithm can adapt well to MaOPs with different PFs and significantly outperforms other comparative algorithms in terms of convergence and diversity of solution sets.