Gender inequality in the workplace isn't necessarily men's fault, but that doesn't mean men can't help fix it.

A new study of nearly 100 employees at Rockwell Automation Inc., more than 60% of them white males, found that just a few days of training on diversity and inclusion can dramatically change how men view their role in improving their organization on those fronts. Rockwell is a maker of factory-automation equipment.

The...