A coating composition comprising; a. a rust preventative composition, and b. a quaternary ammonium salt comprising the reaction product of i. a quaternizeable compound that is the reaction product of: 1. a hydrocarbyl-substituted acylating agent, wherein the hydrocarbyl-substituent has a number average molecular weight of from 100 to 5000, and 2. a nitrogen containing compound selected from a tertiary amino group containing imidazole compound of formula: wherein R is an amine or alkanol capable of condensing with said hydrocarbyl-substituted acylating agent and having from 3 to 8 carbon atoms, or wherein each R1 and R2, individually, is a C1 to C6 hydrocarbyl group, R is a C1 to C6 alkyl group, and each of R3, R4, R5, and R6, individually, is a hydrogen or a C1 to C6 hydrocarbyl group; and ii. a quaternizing agent suitable for converting the quaternizable amino group of the nitrogen containing compound to a quaternary nitrogen. c. an oil of lubricating viscosity or a volatile diluent. a. a rust preventative composition, and b. a quaternary ammonium salt comprising the reaction product of i. a quaternizeable compound that is the reaction product of: 1. a hydrocarbyl-substituted acylating agent, wherein the hydrocarbyl-substituent has a number average molecular weight of from 100 to 5000, and 2. a nitrogen containing compound selected from a tertiary amino group containing imidazole compound of formula: wherein R is an amine or alkanol capable of condensing with said hydrocarbyl-substituted acylating agent and having from 3 to 8 carbon atoms, or wherein each R1 and R2, individually, is a C1 to C6 hydrocarbyl group, R is a C1 to C6 alkyl group, and each of R3, R4, R5, and R6, individually, is a hydrogen or a C1 to C6 hydrocarbyl group; and ii. a quaternizing agent suitable for converting the quaternizable amino group of the nitrogen containing compound to a quaternary nitrogen. i. a quaternizeable compound that is the reaction product of: 1. a hydrocarbyl-substituted acylating agent, wherein the hydrocarbyl-substituent has a number average molecular weight of from 100 to 5000, and 2. a nitrogen containing compound selected from a tertiary amino group containing imidazole compound of formula: wherein R is an amine or alkanol capable of condensing with said hydrocarbyl-substituted acylating agent and having from 3 to 8 carbon atoms, or wherein each R1 and R2, individually, is a C1 to C6 hydrocarbyl group, R is a C1 to C6 alkyl group, and each of R3, R4, R5, and R6, individually, is a hydrogen or a C1 to C6 hydrocarbyl group; and 1. a hydrocarbyl-substituted acylating agent, wherein the hydrocarbyl-substituent has a number average molecular weight of from 100 to 5000, and 2. a nitrogen containing compound selected from a tertiary amino group containing imidazole compound of formula: wherein R is an amine or alkanol capable of condensing with said hydrocarbyl-substituted acylating agent and having from 3 to 8 carbon atoms, or wherein each R1 and R2, individually, is a C1 to C6 hydrocarbyl group, R is a C1 to C6 alkyl group, and each of R3, R4, R5, and R6, individually, is a hydrogen or a C1 to C6 hydrocarbyl group; and ii. a quaternizing agent suitable for converting the quaternizable amino group of the nitrogen containing compound to a quaternary nitrogen. c. an oil of lubricating viscosity or a volatile diluent.