If your OS is the only infected area then resetting the PC will help. Or else you have to erase everything on OS and other connected storage devices or partitions to remove viruses completely.