Let R be a unital prime ring with characteristic not 2 and containing a nontrivial idempotent. We characterize Lie centralizers and generalized Lie derivations at zero products on R. The Lie centralizers and generalized Lie derivations on R will be described. The obtained results are applied to Banach space standard operator algebras and factor von Neumann algebras.