Performing a fresh install will remove all existing files and applications, including viruses and malware. However, it is important to note that your computer can still get infected after the fresh install if proper protection measures are not taken.