Effectively developing new antimicrobial surfaces for viral diseases requires considerable research, money, and time. Moreover, new species of microorganisms and pathogens are constantly appearing or entering from other regions, which can cause epidemics or pandemics. The ongoing presence of SARS-CoV-2 underscores the need to develop new antimicrobial materials. In this context, a novel UV-irradiated photochemical in-situ synthesis method is introduced for producing durable, long-lasting antiviral silver-polymer (AgNP-PVB) nanocomposite coatings. These coatings are intended to mitigate infectious disease transmission across various frequently touched surfaces, such as door handles, keypads, bank encoders, telephone locks, lift buttons, etc. Additionally, the significance of the size and concentration of AgNP in influencing the physical and antiviral properties of these nanocomposite coatings is illustrated. Detailed studies of AgNP-PVB coatings were conducted using X-ray diffraction, Raman spectroscopy, atomic force microscopy (AFM), and ultraviolet-visible-near-infrared spectroscopy, and contact angle measurements. The antiviral properties of the coatings were evaluated by a one-step reverse transcription real-time polymerase chain reaction (one-step qRT‒PCR) using synthetic SARS-CoV-2 RNA. Raman spectra signatures confirm AgNPs in the PVB matrix by matching identified peaks in X-ray diffractograms. AFM analysis revealed a reduction in AgNP size in the nanocomposite with an increase in the irradiation duration from 5 to 30 min. Spectroscopic results corresponding to AFM measurements highlighted specific wavelengths related to different AgNP size ranges. Contact angle measurements suggest that antiviral activity can be predicted by calculating the surface free energy (SFE) of the sample. As the SFE value increases, antiviral activity decreases. Nanocomposite coatings (with concentrations of 150, 200, 500, and 1000 ppm AgNP) are effective in reducing the activity of SARS-CoV-2, indicating their potential as long-acting preventive agents against viral infections. A methodology incorporating a specialized algorithm was devised for the application of the investigated coatings, which also integrates 3D scanning and printing techniques for fabricating complex geometry flexible protective cover. Subsequently, this coating was applied to produce a protective cover for the widely utilized public object, the door handle, employing 3D printing technology. As a result of the work, a long-term, durable antiviral AgNP-PVB nanocomposite coating with varying AgNP sizes (ranging from 15 to 118 nm) and concentrations (150, 200, 500, and 1000 ppm) was successfully developed.