This question already has an answer here:
So I have this weird problem - guards in my settlement don't equip the items I give them. I've given my guards some armor and laser rifles but whenever I go back to the settlement they still walk around in t-shirts, wielding a pistol. I've read that you can equip your guards but it doesn't seem to be working. Do I need to do something more than just give them the items or am I encountering a weird bug? Companions do equip everything I give them that's better than what they have, but settlement guards don't.