We all have the same basic gender schemas through which we evaluate people. But each time we stop and question our schemas, we're less likely to be swayed by them. We can improve the conditions under which people evaluate others, in sometimes very simple ways. One nice experiment showed that when people are in a room with a mirror, which increases self-consciousness, they make decisions more in accord with meritocratic factors than they do if the mirror is covered over. Also, being vouched for by a leader increases how positively people are evaluated.
Leaders can share authority and legitimize authority in others, including in women.
That's one very important thing that corporate executives, chairs of academic departments, and so forth, can do. I don't like to talk about my own situation. But what I think is wrong is for people to deal with not wanting to be a victim by denying there's any undervaluation of women in the first place. It's necessary to see things as they are if we're ever to devise effective ways of doing something about them.