Exact gyraton and nonexpanding gravitational-wave solutions of algebraic type II on backgrounds which are a direct product of two 2-spaces of constant curvature, or more general type D spacetimes.