Ditto my experience - nearly 40 yr in "high tech" !
Observations:
- Women do not tend to enter the professional STEM degree stream. Thus the pipeline for promotional candidates is nearly empty.
- Worked with women staff and co-workers to PhD level - no problem but see above.
- As for the sexual harassment mantra - any such off-centre behavior would have resulted in instant dismissal of the perpetrator ( had a case in my group ).
- Lastly - angels fear to tread here: Women are different and have different biological priorities. We are not "equal" no matter the social justice warrior slogan du jour. 
My experience over many years:
Women were always treated with respect, but they had different priorities. Perhaps something like 10% made careers in the professional STEM arena, they were certainly not deliberately obstructed, more likely more acomodations were made.