Hi,
For the virus affected scenarios, unfortunately, it is not supported by Microsoft. Per my personal experience, if a computer is ever affected, for safer choice, it is strongly suggested to re-image the computer immediately after moving or keeping the data to safe and clean location, since the current OS is not trusted and may be harmful to the data is we continue to use it.
Hope the above helps.
Alex Zhu