To remove rust from generator components, use a wire brush or grinder to remove any loose rust, then prepare a solution of white vinegar and water and submerge the components in the solution. After a few hours, scrub off any remaining rust with a wire brush or steel wool and rinse with clean water. Finally, apply a rust-inhibiting primer and a coat of paint or other protective coatings to the components.