Our purpose in this paper is to investigate commutativity of a ring with involution [Formula: see text] which admits a generalized derivation satisfying certain algebraic identities. Some well-known results characterizing commutativity of prime rings have been generalized. Moreover, we provide examples to show that the assumed restrictions cannot be relaxed.