CRISPR-Cas9-based gene editing enables precise genetic modifications. However, its application to human cytomegalovirus (HCMV) remains challenging due to the large size of the viral genome and the essential roles of key regulatory genes. Here, we establish an optimized CRISPR-Cas9 system for precise labeling and functional analysis of HCMV immediate early (IE) genes. By integrating a multifunctional cassette encoding an auxin-inducible degron (AID), a self-cleaving peptide (P2A), and GFP into the viral genome via homology-directed repair (HDR), we achieved efficient knock-ins without reliance on bacterial artificial chromosome (BAC) cloning, a labor-intensive and time-consuming approach. We optimized delivery strategies, donor template designs, and component ratios to enhance HDR efficiency, significantly improving knock-in success rates. This system enables real-time fluorescent tracking and inducible protein degradation, allowing temporal control of essential viral proteins through auxin-mediated depletion. Our approach provides a powerful tool for dissecting the dynamic roles of viral proteins throughout the HCMV life cycle, facilitating a deeper understanding of viral pathogenesis and potential therapeutic targets.